Skip to content

Commit

Permalink
Remove timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Mar 27, 2024
1 parent be75bfa commit 8b58239
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/specs/site-editor/font-library.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test.describe( 'Font Library', () => {
.click();
await expect(
page.getByRole( 'tab', { name: 'Upload' } )
).toBeVisible( { timeout: 80000 } );
).toBeVisible();

// Upload local fonts
await page.getByRole( 'tab', { name: 'Upload' } ).click();
Expand All @@ -68,7 +68,7 @@ test.describe( 'Font Library', () => {
page
.getByLabel( 'Upload' )
.getByText( 'Fonts were installed successfully.' )
).toBeVisible( { timeout: 40000 } );
).toBeVisible();
await page.getByRole( 'tab', { name: 'Library' } ).click();
// Provides coverage for https://github.com/WordPress/gutenberg/issues/60040.
await page.getByRole( 'button', { name: 'Exo 2' } ).click();
Expand Down Expand Up @@ -110,7 +110,7 @@ test.describe( 'Font Library', () => {
page
.getByLabel( 'Library' )
.getByText( 'Font family uninstalled successfully.' )
).toBeVisible( { timeout: 40000 } );
).toBeVisible();
} );
} );

Expand Down

0 comments on commit 8b58239

Please sign in to comment.