ci: add draw controls test #1178
Open
Annotations
5 errors, 4 warnings, and 2 notices
Update snapshots:
ui-tests/tests/ipyleaflet.test.ts#L79
1) tests/ipyleaflet.test.ts:92:7 › ipyleaflet Visual Regression › Light theme: Check ipyleaflet renders
Error: page.evaluate: Execution context was destroyed, most likely because of a navigation.
77 | }
78 |
> 79 | await page.notebook.close(true);
| ^
80 | }
81 | };
82 |
at NotebookHelper.revertChanges (/home/runner/work/ipyleaflet/ipyleaflet/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:253:21)
at NotebookHelper.close (/home/runner/work/ipyleaflet/ipyleaflet/ui-tests/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:416:13)
at testCellOutputs (/home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts:79:5)
at /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts:93:5
|
Update snapshots
Process completed with exit code 1.
|
Widget rendering tests:
ui-tests/tests/ipyleaflet.test.ts#L74
1) tests/ipyleaflet.test.ts:92:7 › ipyleaflet Visual Regression › Light theme: Check ipyleaflet renders
Error: Screenshot comparison failed:
3 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts-snapshots/light--LayerIndex-ipynb-cell-0-linux.png
Received: /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/test-results/tests-ipyleaflet-ipyleaflet-Visual-Regression-Light-theme-Check-ipyleaflet-renders/light--LayerIndex-ipynb-cell-0-actual.png
Diff: /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/test-results/tests-ipyleaflet-ipyleaflet-Visual-Regression-Light-theme-Check-ipyleaflet-renders/light--LayerIndex-ipynb-cell-0-diff.png
72 |
73 | for (let c = 0; c < numCellImages; ++c) {
> 74 | expect(results[c]).toMatchSnapshot(
| ^
75 | getCaptureImageName(contextPrefix, notebook, c)
76 | );
77 | }
at testCellOutputs (/home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts:74:26)
at /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts:93:5
|
Widget rendering tests:
ui-tests/tests/ipyleaflet.test.ts#L74
2) tests/ipyleaflet.test.ts:96:7 › ipyleaflet Visual Regression › Dark theme: Check ipyleaflet renders
Error: Screenshot comparison failed:
3 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts-snapshots/dark--LayerIndex-ipynb-cell-0-linux.png
Received: /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/test-results/tests-ipyleaflet-ipyleaflet-Visual-Regression-Dark-theme-Check-ipyleaflet-renders/dark--LayerIndex-ipynb-cell-0-actual.png
Diff: /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/test-results/tests-ipyleaflet-ipyleaflet-Visual-Regression-Dark-theme-Check-ipyleaflet-renders/dark--LayerIndex-ipynb-cell-0-diff.png
72 |
73 | for (let c = 0; c < numCellImages; ++c) {
> 74 | expect(results[c]).toMatchSnapshot(
| ^
75 | getCaptureImageName(contextPrefix, notebook, c)
76 | );
77 | }
at testCellOutputs (/home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts:74:26)
at /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts:97:5
|
Widget rendering tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Install Conda environment with Micromamba
Unexpected input(s) 'channels', valid inputs are ['condarc-file', 'condarc', 'environment-file', 'environment-name', 'create-args', 'log-level', 'micromamba-version', 'micromamba-url', 'download-micromamba', 'init-shell', 'generate-run-shell', 'cache-downloads', 'cache-downloads-key', 'cache-environment', 'cache-environment-key', 'post-cleanup', 'micromamba-root-path', 'micromamba-binary-path']
|
Post Install Conda environment with Micromamba
Unexpected input(s) 'channels', valid inputs are ['condarc-file', 'condarc', 'environment-file', 'environment-name', 'create-args', 'log-level', 'micromamba-version', 'micromamba-url', 'download-micromamba', 'init-shell', 'generate-run-shell', 'cache-downloads', 'cache-downloads-key', 'cache-environment', 'cache-environment-key', 'post-cleanup', 'micromamba-root-path', 'micromamba-binary-path']
|
Update snapshots
1 failed
tests/ipyleaflet.test.ts:92:7 › ipyleaflet Visual Regression › Light theme: Check ipyleaflet renders
1 passed (2.3m)
|
Widget rendering tests
2 failed
tests/ipyleaflet.test.ts:92:7 › ipyleaflet Visual Regression › Light theme: Check ipyleaflet renders
tests/ipyleaflet.test.ts:96:7 › ipyleaflet Visual Regression › Dark theme: Check ipyleaflet renders
|
Loading