Skip to content

Commit

Permalink
e2e: Try to fix flaky font-library test (#57092)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored and artemiomorales committed Jan 4, 2024
1 parent dfda4b6 commit eafe43d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions test/e2e/specs/site-editor/font-library.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ test.describe( 'Font Library', () => {
} );

test.beforeEach( async ( { admin, editor } ) => {
await admin.visitSiteEditor( {
postId: 'emptytheme//index',
postType: 'wp_template',
} );
await admin.visitSiteEditor();
await editor.canvas.locator( 'body' ).click();
} );

Expand All @@ -35,10 +32,7 @@ test.describe( 'Font Library', () => {
} );

test.beforeEach( async ( { admin, editor } ) => {
await admin.visitSiteEditor( {
postId: 'twentytwentythree//index',
postType: 'wp_template',
} );
await admin.visitSiteEditor();
await editor.canvas.locator( 'body' ).click();
} );

Expand Down

0 comments on commit eafe43d

Please sign in to comment.