From 582a5d44b4700f9dd45b2dd228bc4c55f716b3cf Mon Sep 17 00:00:00 2001 From: Pedro Ferreira <10789765+apedroferreira@users.noreply.github.com> Date: Wed, 18 Jan 2023 18:28:03 +0000 Subject: [PATCH] Attempt to fix CI tests --- test/integration/pages/index.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/pages/index.spec.ts b/test/integration/pages/index.spec.ts index 02943fae77f..2b94e27e490 100644 --- a/test/integration/pages/index.spec.ts +++ b/test/integration/pages/index.spec.ts @@ -12,8 +12,10 @@ test('must load page in initial URL without altering URL', async ({ page, browse }); const editorModel = new ToolpadEditor(page, browserName); + await page.goto(`/_toolpad/app/${app.id}/pages/g433ywb?abcd=123`); - await page.waitForNavigation(); + + await editorModel.pageRoot.waitFor(); const pageButton2 = editorModel.appCanvas.getByRole('button', { name: 'page2Button',