Bump version: 0.3.3 → 0.3.4-dev #28
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#L20
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
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#L51
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)
============================================================
49 | `);
50 | await page.waitForTimeout(200);
> 51 | await page.notebook.setCellType(1, "code");
| ^
52 | await page.notebook.runCell(1);
53 |
54 | await page.notebook.expandCellOutput(1, true);
at NotebookHelper.setCellType (/home/runner/work/ogdf-python/ogdf-python/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:1128:23)
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:51:9
|
tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs:
ui-tests/tests/interactive.spec.ts#L57
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
17 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-0-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-0-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-0-diff.png
55 | await page.waitForTimeout(200);
56 | const cell = await (await page.notebook.getCell(1)).$(".jp-OutputArea-output");
> 57 | expect.soft(await cell.screenshot()).toMatchSnapshot(`editor-ui-0.png`);
| ^
58 |
59 | await page.notebook.setCell(2, "markdown", `
60 | print(W.ax.transData.transform([
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:57:46
|
tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs:
ui-tests/tests/interactive.spec.ts#L84
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
601 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-1-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-1-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-1-diff.png
82 | await page.mouse.dblclick(box.x + pos[0][0], box.y + box.height - pos[0][1]);
83 | await waitIdle(page);
> 84 | expect.soft(await cell.screenshot()).toMatchSnapshot(`editor-ui-1.png`);
| ^
85 |
86 | await page.keyboard.down("Control");
87 | await page.waitForTimeout(100);
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:84:46
|
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:
1662 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:
595 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/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs:
ui-tests/tests/interactive.spec.ts#L108
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
594 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-4-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-4-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-4-diff.png
106 | await page.keyboard.press("Delete");
107 | await waitIdle(page);
> 108 | expect.soft(await cell.screenshot()).toMatchSnapshot(`editor-ui-4.png`);
| ^
109 |
110 | await page.mouse.click(box.x + pos[4][0], box.y + box.height - pos[4][1]);
111 | await waitIdle(page);
at /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/interactive.spec.ts:108:46
|
Playwright UI tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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
|
112 MB |
|