Skip to content

Commit

Permalink
e2e-test-utils-playwright: Increase timeout of site-editor selector (W…
Browse files Browse the repository at this point in the history
…ordPress#66672)

Co-authored-by: alexflorisca <alexflorisca@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: ironprogrammer <ironprogrammer@git.wordpress.org>
  • Loading branch information
4 people authored and yogeshbhutkar committed Dec 18, 2024
1 parent 959987b commit 856b6c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ 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: 60_000 } );
await canvasLoader.waitFor( {
state: 'hidden',
// Bigger timeout is needed for larger entities, like the Large Post
Expand Down

0 comments on commit 856b6c4

Please sign in to comment.