From 02caaa0731d121b4a589fb565148c0fedfb2da3e Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Sun, 3 Apr 2022 18:55:16 +0200 Subject: [PATCH] Update smoke test --- ui-tests/test/smoke.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui-tests/test/smoke.spec.ts b/ui-tests/test/smoke.spec.ts index 2f0efe422..40cef9a27 100644 --- a/ui-tests/test/smoke.spec.ts +++ b/ui-tests/test/smoke.spec.ts @@ -14,7 +14,7 @@ test.describe('Smoke', () => { await page.click('text="Files"'); // Create a new console - await page.click('text="New Console"'); + await page.menu.clickMenuItem('New>Console'); // Choose the kernel const [console] = await Promise.all([ page.waitForEvent('popup'), @@ -26,7 +26,8 @@ test.describe('Smoke', () => { // Create a new notebook const [notebook] = await Promise.all([ page.waitForEvent('popup'), - page.click('text="New Notebook"') + page.click('text="New"'), + page.click('text="Notebook"') ]); // Enter code in the first cell