Skip to content

Commit

Permalink
Expain why we need larger timeout for site editor visit util
Browse files Browse the repository at this point in the history
  • Loading branch information
WunderBart committed Jul 27, 2023
1 parent bbae249 commit 894896b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,8 @@ export async function visitSiteEditor(
// TODO: Ideally the content underneath the spinner should be marked inert until it's ready.
await this.page
.locator( '.edit-site-canvas-spinner' )
// Bigger timeout is needed for larger entities, for example the large
// post html fixture that we load for performance tests, which often
// doesn't make it under the default 10 seconds.
.waitFor( { state: 'hidden', timeout: 60_000 } );
}

0 comments on commit 894896b

Please sign in to comment.