Improved fractional input #42
Annotations
4 errors and 1 notice
[Desktop] › test.ts:3:1 › calculator layout:
tests/test.ts#L8
1) [Desktop] › test.ts:3:1 › calculator layout ───────────────────────────────────────────────────
Error: Screenshot comparison failed:
1054 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/halo/halo/tests/test.ts-snapshots/calculator-layout-1-Desktop-linux.png
Received: /home/runner/work/halo/halo/test-results/test.ts-calculator-layout-Desktop/calculator-layout-1-actual.png
Diff: /home/runner/work/halo/halo/test-results/test.ts-calculator-layout-Desktop/calculator-layout-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1054 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 1054 pixels (ratio 0.01 of all image pixels) are different.
6 | await expect(page.locator("h1")).toHaveText(title)
7 | await expect(page).toHaveTitle(title)
> 8 | await expect(page).toHaveScreenshot({
| ^
9 | scale: "device",
10 | // The <select> tag doesn't render consistently locally versus on GHA, so mask it away.
11 | mask: [page.locator("select")],
at /home/runner/work/halo/halo/tests/test.ts:8:24
|
[Tablet] › test.ts:3:1 › calculator layout:
tests/test.ts#L8
2) [Tablet] › test.ts:3:1 › calculator layout ────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5020 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/halo/halo/tests/test.ts-snapshots/calculator-layout-1-Tablet-linux.png
Received: /home/runner/work/halo/halo/test-results/test.ts-calculator-layout-Tablet/calculator-layout-1-actual.png
Diff: /home/runner/work/halo/halo/test-results/test.ts-calculator-layout-Tablet/calculator-layout-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5020 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5020 pixels (ratio 0.01 of all image pixels) are different.
6 | await expect(page.locator("h1")).toHaveText(title)
7 | await expect(page).toHaveTitle(title)
> 8 | await expect(page).toHaveScreenshot({
| ^
9 | scale: "device",
10 | // The <select> tag doesn't render consistently locally versus on GHA, so mask it away.
11 | mask: [page.locator("select")],
at /home/runner/work/halo/halo/tests/test.ts:8:24
|
[Phone] › test.ts:3:1 › calculator layout:
tests/test.ts#L8
3) [Phone] › test.ts:3:1 › calculator layout ─────────────────────────────────────────────────────
Error: Screenshot comparison failed:
40 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/halo/halo/tests/test.ts-snapshots/calculator-layout-1-Phone-linux.png
Received: /home/runner/work/halo/halo/test-results/test.ts-calculator-layout-Phone/calculator-layout-1-actual.png
Diff: /home/runner/work/halo/halo/test-results/test.ts-calculator-layout-Phone/calculator-layout-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 40 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 40 pixels (ratio 0.01 of all image pixels) are different.
6 | await expect(page.locator("h1")).toHaveText(title)
7 | await expect(page).toHaveTitle(title)
> 8 | await expect(page).toHaveScreenshot({
| ^
9 | scale: "device",
10 | // The <select> tag doesn't render consistently locally versus on GHA, so mask it away.
11 | mask: [page.locator("select")],
at /home/runner/work/halo/halo/tests/test.ts:8:24
|
Slow
Process completed with exit code 1.
|
🎭 Playwright Run Summary
3 failed
[Desktop] › test.ts:3:1 › calculator layout ────────────────────────────────────────────────────
[Tablet] › test.ts:3:1 › calculator layout ─────────────────────────────────────────────────────
[Phone] › test.ts:3:1 › calculator layout ──────────────────────────────────────────────────────
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build
|
328 KB |
|
playwright-report
|
2.83 MB |
|