Skip to content

Add ui-tests

Add ui-tests #47

Re-run triggered June 13, 2024 08:13
Status Failure
Total duration 2m 11s
Artifacts 2

build.yml

on: pull_request
Matrix: build
visual-regression-tests
2m 1s
visual-regression-tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 4 warnings, and 1 notice
tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders: 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
tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders: 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
tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders: 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
tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders: 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
visual-regression-tests
Process completed with exit code 1.
build (ubuntu-latest, 3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@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/.
build (ubuntu-latest, 3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@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/.
visual-regression-tests
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/.
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: "dist 47", "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/
🎭 Playwright Run Summary
1 failed tests/ipyopenlayers.test.ts:112:7 › ipyopenlayers Visual Regression › Dark theme: Check ipyopenlayers first renders 3 passed (45.3s)

Artifacts

Produced during runtime
Name Size
dist 47 Expired
6.53 MB
ipyopenlayers-playwright-tests Expired
4.95 MB