Skip to content

Commit

Permalink
E2E: Skip flaky autocomplete mentions test (#55132)
Browse files Browse the repository at this point in the history
...and revert the fix from b8b89ce because it didn't help.
  • Loading branch information
WunderBart authored Oct 19, 2023
1 parent 04e1738 commit e14c08c
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,16 +427,11 @@ test.describe( 'Autocomplete (@firefox, @webkit)', () => {
page,
editor,
} ) => {
// The autocomplete popup is flaky when typing too fast, so we need to
// slow it down until it's addressed in the component.
// See https://github.com/WordPress/gutenberg/pull/55081
const typingDelay = 100;

await editor.canvas
.getByRole( 'button', { name: 'Add default block' } )
.click();

await page.keyboard.type( '@fr', { delay: typingDelay } );
await page.keyboard.type( '@fr' );
await expect(
page.getByRole( 'option', {
name: 'Frodo Baggins',
Expand All @@ -452,7 +447,7 @@ test.describe( 'Autocomplete (@firefox, @webkit)', () => {
},
] );

await page.keyboard.type( ' +bi', { delay: typingDelay } );
await page.keyboard.type( ' +bi' );
await expect(
page.getByRole( 'option', {
name: 'Bilbo Baggins',
Expand Down

0 comments on commit e14c08c

Please sign in to comment.