Skip to content
Prev Previous commit
Fix more possible flakes
  • Loading branch information
Mamaduka committed Aug 7, 2025
commit d928faea8021118607a31d5bc3322d6367675882
2 changes: 1 addition & 1 deletion test/e2e/specs/editor/blocks/list.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ test.describe( 'List (@firefox)', () => {
} ) => {
await editor.insertBlock( { name: 'core/quote' } );
await page.keyboard.type( '/list' );
await page.keyboard.press( 'Enter' );
await page.getByRole( 'option', { name: 'List', exact: true } ).click();
await page.keyboard.type( 'aaa' );
await page.keyboard.press( 'Enter' );
await page.keyboard.press( 'Enter' );
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/specs/editor/blocks/quote.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ test.describe( 'Quote', () => {
.locator( 'role=button[name="Add default block"i]' )
.click();
await page.keyboard.type( '/quote' );
await expect(
page.getByRole( 'option', { name: 'Quote', exact: true } )
).toBeVisible();
await page.keyboard.press( 'Enter' );
await page.keyboard.type( 'I’m a quote' );
expect( await editor.getEditedPostContent() ).toBe(
Expand Down
Loading