From f9faf8833cb6eb4fe56ca984e6b63f356453f67c Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 14 May 2024 10:49:44 +0200 Subject: [PATCH] try fix flakyness --- ui-tests/test/mobile.spec.ts | 2 +- ui-tests/test/smoke.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)"'), ]);