Skip to content

Fix UI Tests

Fix UI Tests #27

Triggered via pull request September 13, 2024 09:38
Status Failure
Total duration 2m 52s
Artifacts

test-coverage-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
packages/excalidraw/tests/scene/export.test.ts > exportToSvg > with default arguments: packages/excalidraw/tests/scene/export.test.ts#L51
Error: Snapshot `exportToSvg > with default arguments 1` mismatched ❯ packages/excalidraw/tests/scene/export.test.ts:51:24
packages/excalidraw/tests/scene/export.test.ts > exportToSvg > with exportEmbedScene: packages/excalidraw/tests/scene/export.test.ts#L138
Error: Snapshot `exportToSvg > with exportEmbedScene 1` mismatched ❯ packages/excalidraw/tests/scene/export.test.ts:138:34
packages/excalidraw/tests/scene/export.test.ts > exportToSvg > with elements that have a link: packages/excalidraw/tests/scene/export.test.ts#L147
Error: Snapshot `exportToSvg > with elements that have a link 1` mismatched ❯ packages/excalidraw/tests/scene/export.test.ts:147:34
coverage
Process completed with exit code 1.
coverage
Failed to parse the json-summary at path "/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json." Make sure to run vitest before this action and to include the "json-summary" reporter. Original Error: Error: ENOENT: no such file or directory, open '/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json' at async open (node:internal/fs/promises:636:25) at async readFile (node:internal/fs/promises:1246:14) at async ay (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:70:800) at async uu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:70:881) at async Uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:148:2032)
coverage
Error: ENOENT: no such file or directory, open '/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json'
coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/