allow specifying widget MAX_AUTO_NODE_LABELS and edge curviness #22
Annotations
10 errors, 2 warnings, and 1 notice
tests/callbacks.spec.ts:60:9 › Graph change callbacks › Works with static inline:
ui-tests/tests/callbacks.spec.ts#L22
1) tests/callbacks.spec.ts:60:9 › Graph change callbacks › Works with static inline ──────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading '$')
20 | await page.waitForTimeout(500);
21 | for (let c = 4; c <= idx; c++) {
> 22 | const cell = await (await page.notebook.getCell(c)).$(".jp-OutputArea-output");
| ^
23 | await cell.scrollIntoViewIfNeeded();
24 | expect.soft(await cell.screenshot())
25 | .toMatchSnapshot(`callbacks-${mode}-run-${idx}-cell-${c}.png`);
at Object.onAfterCellRun (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:22:69)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:319:13
at BindingCall.call (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/playwright-core/lib/client/page.js:634:130)
at Page._onBinding (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/playwright-core/lib/client/page.js:161:7)
at Object.onAfterCellRun (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:22:69)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:319:13
at NotebookHelper.runCellByCell (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:325:21)
at testCallbacks (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:16:5)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:61:9
|
tests/callbacks.spec.ts:60:9 › Graph change callbacks › Works with static inline:
ui-tests/tests/callbacks.spec.ts#L22
1) tests/callbacks.spec.ts:60:9 › Graph change callbacks › Works with static inline ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading '$')
20 | await page.waitForTimeout(500);
21 | for (let c = 4; c <= idx; c++) {
> 22 | const cell = await (await page.notebook.getCell(c)).$(".jp-OutputArea-output");
| ^
23 | await cell.scrollIntoViewIfNeeded();
24 | expect.soft(await cell.screenshot())
25 | .toMatchSnapshot(`callbacks-${mode}-run-${idx}-cell-${c}.png`);
at Object.onAfterCellRun (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:22:69)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:319:13
at BindingCall.call (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/playwright-core/lib/client/page.js:634:130)
at Page._onBinding (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/playwright-core/lib/client/page.js:161:7)
at Object.onAfterCellRun (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:22:69)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:319:13
at NotebookHelper.runCellByCell (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:325:21)
at testCallbacks (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:16:5)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:61:9
|
tests/callbacks.spec.ts:60:9 › Graph change callbacks › Works with static inline:
ui-tests/tests/callbacks.spec.ts#L22
1) tests/callbacks.spec.ts:60:9 › Graph change callbacks › Works with static inline ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: TypeError: Cannot read properties of null (reading '$')
20 | await page.waitForTimeout(500);
21 | for (let c = 4; c <= idx; c++) {
> 22 | const cell = await (await page.notebook.getCell(c)).$(".jp-OutputArea-output");
| ^
23 | await cell.scrollIntoViewIfNeeded();
24 | expect.soft(await cell.screenshot())
25 | .toMatchSnapshot(`callbacks-${mode}-run-${idx}-cell-${c}.png`);
at Object.onAfterCellRun (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:22:69)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:319:13
at BindingCall.call (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/playwright-core/lib/client/page.js:634:130)
at Page._onBinding (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/playwright-core/lib/client/page.js:161:7)
at Object.onAfterCellRun (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:22:69)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:319:13
at NotebookHelper.runCellByCell (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:325:21)
at testCallbacks (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:16:5)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/callbacks.spec.ts:61:9
|
tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs:
ui-tests/tests/interactive.spec.ts#L92
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Error: Screenshot comparison failed:
577 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts-snapshots/editor-ui-2-linux.png
Received: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-interactive-Editor-UI-Actions-Run-Notebook-and-capture-cell-outputs/editor-ui-2-actual.png
Diff: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-interactive-Editor-UI-Actions-Run-Notebook-and-capture-cell-outputs/editor-ui-2-diff.png
90 | await page.keyboard.up("Control");
91 | await waitIdle(page);
> 92 | expect.soft(await cell.screenshot()).toMatchSnapshot(`editor-ui-2.png`);
| ^
93 |
94 | await page.mouse.move(box.x + pos[1][0], box.y + box.height - pos[1][1]);
95 | await page.waitForTimeout(100);
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:92:46
|
tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs:
ui-tests/tests/interactive.spec.ts#L102
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Error: Screenshot comparison failed:
568 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts-snapshots/editor-ui-3-linux.png
Received: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-interactive-Editor-UI-Actions-Run-Notebook-and-capture-cell-outputs/editor-ui-3-actual.png
Diff: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-interactive-Editor-UI-Actions-Run-Notebook-and-capture-cell-outputs/editor-ui-3-diff.png
100 | await page.mouse.up();
101 | await waitIdle(page);
> 102 | expect.soft(await cell.screenshot()).toMatchSnapshot(`editor-ui-3.png`);
| ^
103 |
104 | await page.mouse.click(box.x + pos[3][0], box.y + box.height - pos[3][1]);
105 | await waitIdle(page);
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:102:46
|
tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs:
ui-tests/tests/interactive.spec.ts#L20
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: elementHandle.selectOption: Timeout 10000ms exceeded.
=========================== logs ===========================
selecting specified option(s)
============================================================
18 | await page.waitForTimeout(200);
19 |
> 20 | await page.notebook.setCell(0, "markdown", `
| ^
21 | %matplotlib widget
22 |
23 | from ogdf_python import *
at NotebookHelper.setCellType (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:1128:23)
at NotebookHelper.setCell (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:1070:5)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:20:9
|
tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs:
ui-tests/tests/interactive.spec.ts#L92
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
577 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts-snapshots/editor-ui-2-linux.png
Received: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-interactive-Editor-UI-Actions-Run-Notebook-and-capture-cell-outputs-retry2/editor-ui-2-actual.png
Diff: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-interactive-Editor-UI-Actions-Run-Notebook-and-capture-cell-outputs-retry2/editor-ui-2-diff.png
90 | await page.keyboard.up("Control");
91 | await waitIdle(page);
> 92 | expect.soft(await cell.screenshot()).toMatchSnapshot(`editor-ui-2.png`);
| ^
93 |
94 | await page.mouse.move(box.x + pos[1][0], box.y + box.height - pos[1][1]);
95 | await page.waitForTimeout(100);
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:92:46
|
tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs:
ui-tests/tests/interactive.spec.ts#L102
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
568 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts-snapshots/editor-ui-3-linux.png
Received: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-interactive-Editor-UI-Actions-Run-Notebook-and-capture-cell-outputs-retry2/editor-ui-3-actual.png
Diff: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-interactive-Editor-UI-Actions-Run-Notebook-and-capture-cell-outputs-retry2/editor-ui-3-diff.png
100 | await page.mouse.up();
101 | await waitIdle(page);
> 102 | expect.soft(await cell.screenshot()).toMatchSnapshot(`editor-ui-3.png`);
| ^
103 |
104 | await page.mouse.click(box.x + pos[3][0], box.y + box.height - pos[3][1]);
105 | await waitIdle(page);
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:102:46
|
tests/widget.spec.ts:35:9 › Widget Display Modes › Run Notebook and capture cell outputs:
ui-tests/tests/widget.spec.ts#L51
3) tests/widget.spec.ts:35:9 › Widget Display Modes › Run Notebook and capture cell outputs ──────
Error: Screenshot comparison failed:
4068 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/widget.spec.ts-snapshots/notebook-cell-2-linux.png
Received: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-widget-Widget-Display-Modes-Run-Notebook-and-capture-cell-outputs/notebook-cell-2-actual.png
Diff: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-widget-Widget-Display-Modes-Run-Notebook-and-capture-cell-outputs/notebook-cell-2-diff.png
49 | await cell.scrollIntoViewIfNeeded();
50 | expect.soft(await cell.screenshot())
> 51 | .toMatchSnapshot(`notebook-cell-${idx}.png`);
| ^
52 | }
53 | });
54 | // Save outputs for the next tests
at Object.onAfterCellRun (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/widget.spec.ts:51:26)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:319:13
|
tests/widget.spec.ts:35:9 › Widget Display Modes › Run Notebook and capture cell outputs:
ui-tests/tests/widget.spec.ts#L51
3) tests/widget.spec.ts:35:9 › Widget Display Modes › Run Notebook and capture cell outputs ──────
Error: Screenshot comparison failed:
Expected an image 568px by 1183px, received 568px by 1184px. 586 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/widget.spec.ts-snapshots/notebook-cell-3-linux.png
Received: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-widget-Widget-Display-Modes-Run-Notebook-and-capture-cell-outputs/notebook-cell-3-actual.png
Diff: /home/runner/work/ogdf-python/ogdf-python/ui-tests/test-results/tests-widget-Widget-Display-Modes-Run-Notebook-and-capture-cell-outputs/notebook-cell-3-diff.png
49 | await cell.scrollIntoViewIfNeeded();
50 | expect.soft(await cell.screenshot())
> 51 | .toMatchSnapshot(`notebook-cell-${idx}.png`);
| ^
52 | }
53 | });
54 | // Save outputs for the next tests
at Object.onAfterCellRun (/home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/widget.spec.ts:51:26)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:319:13
|
Playwright UI tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-tests".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
🎭 Playwright Run Summary
3 failed
tests/callbacks.spec.ts:60:9 › Graph change callbacks › Works with static inline ───────────────
tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ─────
tests/widget.spec.ts:35:9 › Widget Display Modes › Run Notebook and capture cell outputs ───────
1 skipped
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-tests
Expired
|
124 MB |
|