Add some playwright ui tests #87
build.yml
on: pull_request
build
2m 17s
Check Links
32s
Annotations
3 errors and 1 notice
tests/jupyterlite_terminal.spec.ts:65:7 › Images › initial:
ui-tests/tests/jupyterlite_terminal.spec.ts#L76
1) tests/jupyterlite_terminal.spec.ts:65:7 › Images › initial ────────────────────────────────────
Error: Screenshot comparison failed:
3905 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/terminal/terminal/ui-tests/tests/jupyterlite_terminal.spec.ts-snapshots/initial-linux.png
Received: /home/runner/work/terminal/terminal/ui-tests/test-results/tests-jupyterlite_terminal-Images-initial/initial-actual.png
Diff: /home/runner/work/terminal/terminal/ui-tests/test-results/tests-jupyterlite_terminal-Images-initial/initial-diff.png
74 |
75 | const imageName = 'initial.png';
> 76 | expect(await page.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
77 | });
78 |
79 | test('various commands', async ({ page }) => {
at /home/runner/work/terminal/terminal/ui-tests/tests/jupyterlite_terminal.spec.ts:76:37
|
tests/jupyterlite_terminal.spec.ts:79:7 › Images › various commands:
ui-tests/tests/jupyterlite_terminal.spec.ts#L113
2) tests/jupyterlite_terminal.spec.ts:79:7 › Images › various commands ───────────────────────────
Error: Screenshot comparison failed:
5417 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/terminal/terminal/ui-tests/tests/jupyterlite_terminal.spec.ts-snapshots/various-commands-linux.png
Received: /home/runner/work/terminal/terminal/ui-tests/test-results/tests-jupyterlite_terminal-Images-various-commands/various-commands-actual.png
Diff: /home/runner/work/terminal/terminal/ui-tests/test-results/tests-jupyterlite_terminal-Images-various-commands/various-commands-diff.png
111 |
112 | const imageName = 'various-commands.png';
> 113 | expect(await page.screenshot()).toMatchSnapshot(imageName.toLowerCase());
| ^
114 | });
115 | });
116 |
at /home/runner/work/terminal/terminal/ui-tests/tests/jupyterlite_terminal.spec.ts:113:37
|
Integration tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
2 failed
tests/jupyterlite_terminal.spec.ts:65:7 › Images › initial ─────────────────────────────────────
tests/jupyterlite_terminal.spec.ts:79:7 › Images › various commands ────────────────────────────
5 passed (27.5s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
extension-artifacts
|
747 KB |
|
jupyterlite_terminal-playwright-tests
|
609 KB |
|