Improved fractional input #37
Annotations
2 errors and 1 notice
[Tablet] › test.ts:3:1 › calculator layout:
tests/test.ts#L8
1) [Tablet] › test.ts:3:1 › calculator layout ────────────────────────────────────────────────────
Error: Screenshot comparison failed:
778 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
- 778 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
- 778 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
1 failed
[Tablet] › test.ts:3:1 › calculator layout ─────────────────────────────────────────────────────
2 passed (10.0s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build
|
328 KB |
|
playwright-report
|
1.36 MB |
|