Skip to content

Commit d44aa70

Browse files
authored
Fix: Flaky RichText format e2e test (#76958)
1 parent 94f087a commit d44aa70

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/e2e/specs/editor/various/rich-text.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ test.describe( 'RichText (@firefox, @webkit)', () => {
104104
editor,
105105
pageUtils,
106106
} ) => {
107-
await page.keyboard.press( 'Enter' );
107+
await editor.canvas
108+
.locator( 'role=button[name="Add default block"i]' )
109+
.click();
108110
await pageUtils.pressKeys( 'primary+b' );
109111
await page.keyboard.type( '1' );
110112
await pageUtils.pressKeys( 'primary+b' );

0 commit comments

Comments
 (0)