From 2ac5247234dc1ab946e4c1c197d1ad3302263b5a Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 3 Oct 2022 14:20:08 +0200 Subject: [PATCH] Try fix the autoscroll tests --- ui-tests/test/notebook.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui-tests/test/notebook.spec.ts b/ui-tests/test/notebook.spec.ts index 284404b8e0..45531ca2fa 100644 --- a/ui-tests/test/notebook.spec.ts +++ b/ui-tests/test/notebook.spec.ts @@ -70,6 +70,10 @@ test.describe('Notebook', () => { ); await page.goto(`notebooks/${tmpPath}/${notebook}`); + // wait for the checkpoint indicator to be displayed before exexuting the cells + await page.waitForSelector('.jp-NotebookCheckpoint'); + await page.click('.jp-Notebook'); + // execute the first cell await runAndAdvance(page); await page