Skip to content

Commit

Permalink
avoide flakyness
Browse files Browse the repository at this point in the history
  • Loading branch information
kt-12 committed Nov 1, 2024
1 parent 0fcba0f commit 38318b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/dashboard/paid-features.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test.describe( 'Paid Feature Listing', () => {
);

await expect( dashboardPage.createCampaignButton ).toBeEnabled();

await dashboardPage.mockAdsAccountsResponse( [] );
await dashboardPage.createCampaignButton.click();
await expect(
page.getByRole( 'heading', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ test.describe( 'Product Feed Page', () => {
await expect( createCampaignButton ).toBeVisible();
await createCampaignButton.click();
await page.waitForLoadState( LOAD_STATE.DOM_CONTENT_LOADED );
await productFeedPage.mockAdsAccountsResponse( [] );
await expect(
page.getByRole( 'heading', {
level: 1,
Expand Down

0 comments on commit 38318b2

Please sign in to comment.