Skip to content

Fix extension not showing up in the Settings Editor #171

Fix extension not showing up in the Settings Editor

Fix extension not showing up in the Settings Editor #171

Triggered via pull request May 16, 2024 12:58
Status Failure
Total duration 5m 7s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 notice
tests/settings_editor.spec.ts:4:7 › Settings Editor › Execute Time show up in the Settings Editor: ui-tests/tests/settings_editor.spec.ts#L12
1) tests/settings_editor.spec.ts:4:7 › Settings Editor › Execute Time show up in the Settings Editor Error: expect(locator).toHaveCount(expected) Locator: locator('.jp-PluginList .jp-PluginList-entry').locator('text="Execute Time"') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('.jp-PluginList .jp-PluginList-entry').locator('text="Execute Time"') - locator resolved to 0 elements - unexpected value "0" 10 | ); 11 | > 12 | expect(plugin).toHaveCount(1); | ^ 13 | }); 14 | }); 15 | at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/settings_editor.spec.ts:12:20
tests/settings_editor.spec.ts:4:7 › Settings Editor › Execute Time show up in the Settings Editor: ui-tests/tests/settings_editor.spec.ts#L12
1) tests/settings_editor.spec.ts:4:7 › Settings Editor › Execute Time show up in the Settings Editor Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveCount(expected) Locator: locator('.jp-PluginList .jp-PluginList-entry').locator('text="Execute Time"') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('.jp-PluginList .jp-PluginList-entry').locator('text="Execute Time"') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" 10 | ); 11 | > 12 | expect(plugin).toHaveCount(1); | ^ 13 | }); 14 | }); 15 | at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/settings_editor.spec.ts:12:20
tests/windowed_notebook.spec.ts:20:7 › Windowed notebook › Node attaches after scrolling into view: ui-tests/tests/windowed_notebook.spec.ts#L26
2) tests/windowed_notebook.spec.ts:20:7 › Windowed notebook › Node attaches after scrolling into view Error: expect(received).toBeTruthy() Received: false 24 | // Get the 100th cells locator without scrolling 25 | const lastCellLocator = page.locator('.jp-Cell:last-child'); > 26 | expect(await lastCellLocator.isHidden()).toBeTruthy(); | ^ 27 | const widgetLocator = lastCellLocator.locator('.execute-time'); 28 | expect(await widgetLocator.isHidden()).toBeTruthy(); 29 | // Scroll to the 100th cell at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/windowed_notebook.spec.ts:26:46
tests/windowed_notebook.spec.ts:20:7 › Windowed notebook › Node attaches after scrolling into view: ui-tests/tests/windowed_notebook.spec.ts#L26
2) tests/windowed_notebook.spec.ts:20:7 › Windowed notebook › Node attaches after scrolling into view Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false 24 | // Get the 100th cells locator without scrolling 25 | const lastCellLocator = page.locator('.jp-Cell:last-child'); > 26 | expect(await lastCellLocator.isHidden()).toBeTruthy(); | ^ 27 | const widgetLocator = lastCellLocator.locator('.execute-time'); 28 | expect(await widgetLocator.isHidden()).toBeTruthy(); 29 | // Scroll to the 100th cell at /home/runner/work/jupyterlab-execute-time/jupyterlab-execute-time/ui-tests/tests/windowed_notebook.spec.ts:26:46
Integration tests
Process completed with exit code 1.
🎭 Playwright Run Summary
2 failed tests/settings_editor.spec.ts:4:7 › Settings Editor › Execute Time show up in the Settings Editor tests/windowed_notebook.spec.ts:20:7 › Windowed notebook › Node attaches after scrolling into view 7 passed (1.7m)

Artifacts

Produced during runtime
Name Size
extension-artifacts Expired
214 KB
jupyterlab_execute_time-playwright-tests Expired
15.4 MB