Skip to content

Ruff linting

Ruff linting #702

Triggered via pull request December 19, 2023 14:27
Status Failure
Total duration 5m 2s
Artifacts 2

ui-tests.yml

on: pull_request
Matrix: Visual Regression
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 3 warnings, and 2 notices
tests/ipyleaflet.test.ts:92:7 › ipyleaflet Visual Regression › Light theme: Check ipyleaflet renders: 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: 577 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts-snapshots/light--DrawControl-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--DrawControl-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--DrawControl-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
tests/ipyleaflet.test.ts:96:7 › ipyleaflet Visual Regression › Dark theme: Check ipyleaflet renders: 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: 1495 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/ipyleaflet/ipyleaflet/ui-tests/tests/ipyleaflet.test.ts-snapshots/dark--DrawControl-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--DrawControl-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--DrawControl-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
Visual Regression (3.8)
Process completed with exit code 1.
Visual Regression (3.8)
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/
Visual Regression (3.8)
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']
Visual Regression (3.8)
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']
🎭 Playwright Run Summary
2 passed (2.3m)
🎭 Playwright Run Summary
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

Artifacts

Produced during runtime
Name Size
ipyleaflet-test-assets Expired
1.35 MB
ipyleaflet-test-report Expired
1.8 MB