Add ui-tests #46
Annotations
9 errors, 2 warnings, and 1 notice
ui-tests/tests/ipyopenlayers.test.ts#L19
1) tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders
Error: page.evaluate: Test ended.
17 |
18 | const contextPrefix = theme == 'JupyterLab Light' ? 'light' : 'dark';
> 19 | page.theme.setTheme(theme);
| ^
20 |
21 | for (const notebook of notebooks) {
22 | let results = [];
at ThemeHelper.setTheme (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/node_modules/@jupyterlab/galata/src/helpers/theme.ts:44:16)
at testCellOutputs (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:19:14)
at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:116:11
|
ui-tests/tests/ipyopenlayers.test.ts#L19
1) tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Test ended.
17 |
18 | const contextPrefix = theme == 'JupyterLab Light' ? 'light' : 'dark';
> 19 | page.theme.setTheme(theme);
| ^
20 |
21 | for (const notebook of notebooks) {
22 | let results = [];
at ThemeHelper.setTheme (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/node_modules/@jupyterlab/galata/src/helpers/theme.ts:44:16)
at testCellOutputs (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:19:14)
at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:116:11
|
ui-tests/tests/ipyopenlayers.test.ts#L19
1) tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Test ended.
17 |
18 | const contextPrefix = theme == 'JupyterLab Light' ? 'light' : 'dark';
> 19 | page.theme.setTheme(theme);
| ^
20 |
21 | for (const notebook of notebooks) {
22 | let results = [];
at ThemeHelper.setTheme (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/node_modules/@jupyterlab/galata/src/helpers/theme.ts:44:16)
at testCellOutputs (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:19:14)
at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:116:11
|
ui-tests/tests/ipyopenlayers.test.ts#L19
1) tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.evaluate: Test ended.
17 |
18 | const contextPrefix = theme == 'JupyterLab Light' ? 'light' : 'dark';
> 19 | page.theme.setTheme(theme);
| ^
20 |
21 | for (const notebook of notebooks) {
22 | let results = [];
at ThemeHelper.setTheme (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/node_modules/@jupyterlab/galata/src/helpers/theme.ts:44:16)
at testCellOutputs (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:19:14)
at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:116:11
|
ui-tests/tests/ipyopenlayers.test.ts#L85
2) tests/ipyopenlayers.test.ts:119:7 › ipyopenlayers Visual Regression › Light theme: Check ipyopenlayers update plot properties
Error: A snapshot doesn't exist at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts-snapshots/light-map-update-ipynb-cell-0-linux.png, writing actual.
83 |
84 | for (let i = 0; i < cellCount; i++) {
> 85 | expect(results[i]).toMatchSnapshot(getCaptureImageName(contextPrefix, notebook, i), {threshold: 0.3});
| ^
86 | }
87 |
88 | await page.notebook.close(true);
at testPlotUpdates (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:85:26)
at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:123:5
|
ui-tests/tests/ipyopenlayers.test.ts#L85
2) tests/ipyopenlayers.test.ts:119:7 › ipyopenlayers Visual Regression › Light theme: Check ipyopenlayers update plot properties
Error: A snapshot doesn't exist at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts-snapshots/light-map-update-ipynb-cell-1-linux.png, writing actual.
83 |
84 | for (let i = 0; i < cellCount; i++) {
> 85 | expect(results[i]).toMatchSnapshot(getCaptureImageName(contextPrefix, notebook, i), {threshold: 0.3});
| ^
86 | }
87 |
88 | await page.notebook.close(true);
at testPlotUpdates (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:85:26)
at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:123:5
|
ui-tests/tests/ipyopenlayers.test.ts#L85
3) tests/ipyopenlayers.test.ts:126:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers update plot properties
Error: A snapshot doesn't exist at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts-snapshots/dark-map-update-ipynb-cell-0-linux.png, writing actual.
83 |
84 | for (let i = 0; i < cellCount; i++) {
> 85 | expect(results[i]).toMatchSnapshot(getCaptureImageName(contextPrefix, notebook, i), {threshold: 0.3});
| ^
86 | }
87 |
88 | await page.notebook.close(true);
at testPlotUpdates (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:85:26)
at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:130:5
|
ui-tests/tests/ipyopenlayers.test.ts#L85
3) tests/ipyopenlayers.test.ts:126:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers update plot properties
Error: A snapshot doesn't exist at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts-snapshots/dark-map-update-ipynb-cell-1-linux.png, writing actual.
83 |
84 | for (let i = 0; i < cellCount; i++) {
> 85 | expect(results[i]).toMatchSnapshot(getCaptureImageName(contextPrefix, notebook, i), {threshold: 0.3});
| ^
86 | }
87 |
88 | await page.notebook.close(true);
at testPlotUpdates (/home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:85:26)
at /home/runner/work/ipyopenlayers/ipyopenlayers/ui-tests/tests/ipyopenlayers.test.ts:130:5
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/download-artifact@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/.
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "dist 46", "ipyopenlayers-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/
|
3 failed
tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders
tests/ipyopenlayers.test.ts:119:7 › ipyopenlayers Visual Regression › Light theme: Check ipyopenlayers update plot properties
tests/ipyopenlayers.test.ts:126:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers update plot properties
1 passed (45.3s)
|
This job failed
Loading