Skip to content

Commit

Permalink
Removed waitForLoadState function
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Sep 20, 2024
1 parent 972437a commit a857ff4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/support/steps/performance-hints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ When('clear performance hints for this URL is clicked in admin bar', async funct
await this.page.locator('#wp-admin-bar-wp-rocket').hover();
await this.page.waitForSelector('#wp-admin-bar-clear-performance-hints-data-url', { state: 'visible' });
await this.page.locator('#wp-admin-bar-clear-performance-hints-data-url').click();
await this.page.waitForLoadState('load', { timeout: 30000 });
});

/*
Expand Down

0 comments on commit a857ff4

Please sign in to comment.