Skip to content

Commit

Permalink
Fix writing flow spec
Browse files Browse the repository at this point in the history
  • Loading branch information
WunderBart committed Oct 3, 2023
1 parent 7851a01 commit 0c9651a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/specs/editor/various/writing-flow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ test.use( {
} );

test.describe( 'Writing Flow (@firefox, @webkit)', () => {
test.beforeEach( async ( { admin } ) => {
test.beforeEach( async ( { admin, editor } ) => {
await admin.createNewPost();
await expect(
editor.canvas.getByRole( 'textbox', { name: 'Add title' } )
).toBeFocused();
} );

test.afterAll( async ( { requestUtils } ) => {
Expand Down

0 comments on commit 0c9651a

Please sign in to comment.