Skip to content

Commit

Permalink
Increase timeout of site-editor selector
Browse files Browse the repository at this point in the history
  • Loading branch information
alexflorisca committed Nov 1, 2024
1 parent 86ca73a commit 38068e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ export async function visitSiteEditor(

// Wait for the canvas loader to appear first, so that the locator that
// waits for the hidden state doesn't resolve prematurely.
await canvasLoader.waitFor( { state: 'visible' } );
await canvasLoader.waitFor( { state: 'visible', timeout: 60000 } );
await canvasLoader.waitFor( {
state: 'hidden',
// Bigger timeout is needed for larger entities, like the Large Post
// HTML fixture that we load for performance tests, which often
// doesn't make it under the default timeout value.
timeout: 60_000,
timeout: 60000,
} );
}

Expand Down

0 comments on commit 38068e4

Please sign in to comment.