diff --git a/ui-tests/test/mobile.spec.ts b/ui-tests/test/mobile.spec.ts index 079a0b3f6d..e289dbc46c 100644 --- a/ui-tests/test/mobile.spec.ts +++ b/ui-tests/test/mobile.spec.ts @@ -43,9 +43,9 @@ test.describe('Mobile', () => { await page.goto(`tree/${tmpPath}`); // Create a new notebook + await page.click('text="New"'); const [notebook] = await Promise.all([ page.waitForEvent('popup'), - page.click('text="New"'), page.click('text="Python 3 (ipykernel)"'), ]); diff --git a/ui-tests/test/smoke.spec.ts b/ui-tests/test/smoke.spec.ts index e3a3132cb8..1d2d570bf3 100644 --- a/ui-tests/test/smoke.spec.ts +++ b/ui-tests/test/smoke.spec.ts @@ -24,9 +24,9 @@ test.describe('Smoke', () => { await console.waitForSelector('.jp-CodeConsole'); // Create a new notebook + await page.click('text="New"'); const [notebook] = await Promise.all([ page.waitForEvent('popup'), - page.click('text="New"'), page.click('text="Python 3 (ipykernel)"'), ]);