diff --git a/.github/workflows/playwright-update.yml b/.github/workflows/playwright-update.yml index 47dd68d..2350bac 100644 --- a/.github/workflows/playwright-update.yml +++ b/.github/workflows/playwright-update.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - browser: [firefox, chromium] + browser: [firefox, chromium, webkit] steps: - name: React to the triggering comment diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index b773854..0791250 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -48,7 +48,7 @@ jobs: strategy: fail-fast: false matrix: - browser: [firefox, chromium] + browser: [firefox, chromium, webkit] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/ui-tests/test/execute.test.ts b/ui-tests/test/execute.test.ts index 704b4d0..8a278dd 100644 --- a/ui-tests/test/execute.test.ts +++ b/ui-tests/test/execute.test.ts @@ -14,8 +14,16 @@ test.describe('Code execution', () => { await page.goto('lab/index.html'); }); - test('Basic code execution', async ({ page }) => { + test('Basic code execution', async ({ page, browserName }) => { + if (browserName === 'webkit') { + // try waiting longer for webkit + test.setTimeout(60000 * 3); + } await page.notebook.createNew(); + + // TODO: remove + // See https://github.com/jupyterlab/jupyterlab/issues/15252 for more information + await page.notebook.setCell(0, 'code', '2 + 2'); await page.notebook.setCell(0, 'code', '2 + 2'); await page.notebook.run(); const output = await page.notebook.getCellTextOutput(0); diff --git a/ui-tests/test/general.test.ts-snapshots/launcher-webkit-linux.png b/ui-tests/test/general.test.ts-snapshots/launcher-webkit-linux.png new file mode 100644 index 0000000..592bb96 Binary files /dev/null and b/ui-tests/test/general.test.ts-snapshots/launcher-webkit-linux.png differ