Improved fractional input #36
Annotations
4 errors and 1 notice
Run npm run test:integration:
tests/test.ts#L8
1) [Desktop] › test.ts:3:1 › calculator layout ───────────────────────────────────────────────────
Error: Screenshot comparison failed:
4335 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
- 4335 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
- 4335 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
|
Run npm run test:integration:
tests/test.ts#L8
2) [Tablet] › test.ts:3:1 › calculator layout ────────────────────────────────────────────────────
Error: Screenshot comparison failed:
47448 pixels (ratio 0.02 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
- 47448 pixels (ratio 0.02 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
- 47448 pixels (ratio 0.02 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
|
Run npm run test:integration:
tests/test.ts#L8
3) [Phone] › test.ts:3:1 › calculator layout ─────────────────────────────────────────────────────
Error: Screenshot comparison failed:
26390 pixels (ratio 0.02 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
- 26390 pixels (ratio 0.02 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
- 26390 pixels (ratio 0.02 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
|
Run npm run test:integration
Process completed with exit code 1.
|
Run npm run test:integration
3 failed
[Desktop] › test.ts:3:1 › calculator layout ────────────────────────────────────────────────────
[Tablet] › test.ts:3:1 › calculator layout ─────────────────────────────────────────────────────
[Phone] › test.ts:3:1 › calculator layout ──────────────────────────────────────────────────────
|
Loading