Test #24
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#L92
2) tests/interactive.spec.ts:11:9 › Editor UI Actions › Run Notebook and capture cell outputs ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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-retry1/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-retry1/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 #1 ───────────────────────────────────────────────────────────────────────────────────────
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-retry1/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-retry1/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#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:
Expected an image 568px by 583px, received 568px by 541px. 12328 pixels (ratio 0.04 of all image pixels) are different.
Expected: /home/runner/work/ogdf-python/ogdf-python/ui-tests/tests/widget.spec.ts-snapshots/notebook-cell-1-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-1-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-1-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
The following actions uses Node.js version which is deprecated 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
|
141 MB |
|