Skip to content

Commit

Permalink
Added timeout to verify success message
Browse files Browse the repository at this point in the history
  • Loading branch information
jayson31 committed Dec 11, 2024
1 parent b3b272e commit e797f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/posts/categories-tests.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test.describe( 'Category Tests', () => {
} ) => {
await expect(
page.locator( '#ajax-response' ).getByText( 'Category added.' )
).toBeVisible();
).toBeVisible({ timeout: 20000 });
} );

test( 'Should be able to create a new category with parent category', async ( {
Expand Down

0 comments on commit e797f04

Please sign in to comment.