From 856b6c4aabe9a96d356c9ce361382fa177f25955 Mon Sep 17 00:00:00 2001 From: Alex Florisca Date: Tue, 10 Dec 2024 15:29:23 +0000 Subject: [PATCH] e2e-test-utils-playwright: Increase timeout of site-editor selector (#66672) Co-authored-by: alexflorisca Co-authored-by: youknowriad Co-authored-by: ironprogrammer --- .../e2e-test-utils-playwright/src/admin/visit-site-editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts b/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts index f0a7db5ad966f..21bf56b578b57 100644 --- a/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts +++ b/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts @@ -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