Skip to content

Ydoc test

Ydoc test #599

Triggered via pull request December 19, 2024 21:47
Status Failure
Total duration 9m 56s
Artifacts 1

e2e-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
tests/jupyter_scheduler.spec.ts:29:7 › Jupyter Scheduler › shows card in launcher: ui-tests/tests/jupyter_scheduler.spec.ts#L24
1) tests/jupyter_scheduler.spec.ts:29:7 › Jupyter Scheduler › shows card in launcher ───────────── Test timeout of 60000ms exceeded while running "beforeEach" hook. 22 | let scheduler: SchedulerHelper; 23 | > 24 | test.beforeEach(async ({ page }, testInfo) => { | ^ 25 | scheduler = new SchedulerHelper(page, testInfo); 26 | await page.goto(); 27 | }); at /home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/tests/jupyter_scheduler.spec.ts:24:8
tests/jupyter_scheduler.spec.ts:29:7 › Jupyter Scheduler › shows card in launcher: ui-tests/tests/jupyter_scheduler.spec.ts#L30
1) tests/jupyter_scheduler.spec.ts:29:7 › Jupyter Scheduler › shows card in launcher ───────────── Error: expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('div.jp-LauncherCard[title="Notebook Jobs"]') 28 | 29 | test('shows card in launcher', async () => { > 30 | await expect(scheduler.launcherCard).toBeVisible(); | ^ 31 | await scheduler.assertSnapshot(FILENAMES.LAUNCHER); 32 | }); 33 | at /home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/tests/jupyter_scheduler.spec.ts:30:42
tests/jupyter_scheduler.spec.ts:29:7 › Jupyter Scheduler › shows card in launcher: ui-tests/tests/jupyter_scheduler.spec.ts#L1
1) tests/jupyter_scheduler.spec.ts:29:7 › Jupyter Scheduler › shows card in launcher ───────────── Pending operations: - proxy.waitForSelector at helpers/SchedulerHelper.ts:188:23 - expect.toBeVisible at tests/jupyter_scheduler.spec.ts:30:42
tests/jupyter_scheduler.spec.ts:34:7 › Jupyter Scheduler › shows notebook toolbar button: ui-tests/tests/jupyter_scheduler.spec.ts#L24
2) tests/jupyter_scheduler.spec.ts:34:7 › Jupyter Scheduler › shows notebook toolbar button ────── Test timeout of 60000ms exceeded while running "beforeEach" hook. 22 | let scheduler: SchedulerHelper; 23 | > 24 | test.beforeEach(async ({ page }, testInfo) => { | ^ 25 | scheduler = new SchedulerHelper(page, testInfo); 26 | await page.goto(); 27 | }); at /home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/tests/jupyter_scheduler.spec.ts:24:8
tests/jupyter_scheduler.spec.ts:34:7 › Jupyter Scheduler › shows notebook toolbar button: ui-tests/helpers/SchedulerHelper.ts#L158
2) tests/jupyter_scheduler.spec.ts:34:7 › Jupyter Scheduler › shows notebook toolbar button ────── Error: elementHandle.click: Target closed =========================== logs =========================== attempting click action waiting for element to be visible, enabled and stable ============================================================ at helpers/SchedulerHelper.ts:158 156 | */ 157 | async createNotebook(keepOpen = true) { > 158 | this._nbName = await this.page.notebook.createNew(); | ^ 159 | await this.page.notebook.save(); 160 | if (!keepOpen) { 161 | await this.closeAllTabs(); at MenuHelper.open (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/helpers/menu.ts:168:26) at MenuHelper.clickMenuItem (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/helpers/menu.ts:223:24) at NotebookHelper.createNew (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:1209:5) at SchedulerHelper.createNotebook (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/helpers/SchedulerHelper.ts:158:20) at /home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/tests/jupyter_scheduler.spec.ts:35:5
tests/jupyter_scheduler.spec.ts:34:7 › Jupyter Scheduler › shows notebook toolbar button: ui-tests/tests/jupyter_scheduler.spec.ts#L1
2) tests/jupyter_scheduler.spec.ts:34:7 › Jupyter Scheduler › shows notebook toolbar button ────── Pending operations: - proxy.waitForSelector at helpers/SchedulerHelper.ts:188:23 - elementHandle.click at node_modules/@jupyterlab/galata/src/helpers/menu.ts:168:26
tests/jupyter_scheduler.spec.ts:47:7 › Jupyter Scheduler › opens create job view from notebook toolbar: ui-tests/tests/jupyter_scheduler.spec.ts#L24
3) tests/jupyter_scheduler.spec.ts:47:7 › Jupyter Scheduler › opens create job view from notebook toolbar Test timeout of 60000ms exceeded while running "beforeEach" hook. 22 | let scheduler: SchedulerHelper; 23 | > 24 | test.beforeEach(async ({ page }, testInfo) => { | ^ 25 | scheduler = new SchedulerHelper(page, testInfo); 26 | await page.goto(); 27 | }); at /home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/tests/jupyter_scheduler.spec.ts:24:8
tests/jupyter_scheduler.spec.ts:47:7 › Jupyter Scheduler › opens create job view from notebook toolbar: ui-tests/tests/jupyter_scheduler.spec.ts#L1
3) tests/jupyter_scheduler.spec.ts:47:7 › Jupyter Scheduler › opens create job view from notebook toolbar Error: locator.isChecked: Target page, context or browser has been closed at Object.isInSimpleMode (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:280:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/fixtures.ts:328:33 at Timeout.check (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:166:33)
tests/jupyter_scheduler.spec.ts:55:7 › Jupyter Scheduler › shows filebrowser menu item: ui-tests/tests/jupyter_scheduler.spec.ts#L24
4) tests/jupyter_scheduler.spec.ts:55:7 › Jupyter Scheduler › shows filebrowser menu item ──────── Test timeout of 60000ms exceeded while running "beforeEach" hook. 22 | let scheduler: SchedulerHelper; 23 | > 24 | test.beforeEach(async ({ page }, testInfo) => { | ^ 25 | scheduler = new SchedulerHelper(page, testInfo); 26 | await page.goto(); 27 | }); at /home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/tests/jupyter_scheduler.spec.ts:24:8
tests/jupyter_scheduler.spec.ts:55:7 › Jupyter Scheduler › shows filebrowser menu item: ui-tests/helpers/SchedulerHelper.ts#L158
4) tests/jupyter_scheduler.spec.ts:55:7 › Jupyter Scheduler › shows filebrowser menu item ──────── Error: elementHandle.click: Element is not attached to the DOM =========================== logs =========================== attempting click action waiting for element to be visible, enabled and stable ============================================================ at helpers/SchedulerHelper.ts:158 156 | */ 157 | async createNotebook(keepOpen = true) { > 158 | this._nbName = await this.page.notebook.createNew(); | ^ 159 | await this.page.notebook.save(); 160 | if (!keepOpen) { 161 | await this.closeAllTabs(); at MenuHelper.open (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/helpers/menu.ts:168:26) at MenuHelper.clickMenuItem (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/helpers/menu.ts:223:24) at NotebookHelper.createNew (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:1209:5) at SchedulerHelper.createNotebook (/home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/helpers/SchedulerHelper.ts:158:20) at /home/runner/work/jupyter-scheduler/jupyter-scheduler/ui-tests/tests/jupyter_scheduler.spec.ts:56:5
Linux
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Linux
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
6 failed tests/jupyter_scheduler.spec.ts:29:7 › Jupyter Scheduler › shows card in launcher ────────────── tests/jupyter_scheduler.spec.ts:34:7 › Jupyter Scheduler › shows notebook toolbar button ─────── tests/jupyter_scheduler.spec.ts:47:7 › Jupyter Scheduler › opens create job view from notebook toolbar tests/jupyter_scheduler.spec.ts:55:7 › Jupyter Scheduler › shows filebrowser menu item ───────── tests/jupyter_scheduler.spec.ts:66:7 › Jupyter Scheduler › opens create job view from filebrowser menu item tests/jupyter_scheduler.spec.ts:72:7 › Jupyter Scheduler › shows newly created job in job list view

Artifacts

Produced during runtime
Name Size
jupyter_scheduler-playwright-tests-linux
5.53 MB