From ad6bec2136645f6e07f75abae60f620f19943409 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 10 May 2024 10:23:44 +0000 Subject: [PATCH] update mobile ui test --- ui-tests/test/mobile.spec.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui-tests/test/mobile.spec.ts b/ui-tests/test/mobile.spec.ts index 7817171a76..c5c98fa3e9 100644 --- a/ui-tests/test/mobile.spec.ts +++ b/ui-tests/test/mobile.spec.ts @@ -38,10 +38,8 @@ test.describe('Mobile', () => { // wait for the kernel status animations to be finished await waitForKernelReady(notebook); - // force switching back to command mode to avoid capturing the cursor in the screenshot - await notebook.evaluate(async () => { - await window.jupyterapp.commands.execute('notebook:enter-command-mode'); - }); + // click to make the blue border around the cell disappear + await page.click('.jp-WindowedPanel-outer'); // TODO: remove if (browserName === 'firefox') {