Upgrades (node, svelte, sveltekit, etc.) #2884
javascript.yml
on: pull_request
build
5m 30s
check-format
50s
test
3m 53s
upload-sourcemaps
0s
Annotations
2 errors and 1 notice
|
test
Process completed with exit code 1.
|
|
tests/integration/index.test.ts:11:2 › home page › hero banner looks correct:
tests/integration/index.test.ts#L13
1) tests/integration/index.test.ts:11:2 › home page › hero banner looks correct ──────────────────
Error: expect(locator).toHaveScreenshot(expected)
11710 pixels (ratio 0.02 of all image pixels) are different.
Call log:
- Expect "toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('home-hero-banner')
- locator resolved to <section data-testid="home-hero-banner" class="home-hero-banner svelte-jh63sn">…</section>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 11710 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('home-hero-banner')
- locator resolved to <section data-testid="home-hero-banner" class="home-hero-banner svelte-jh63sn">…</section>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 11710 pixels (ratio 0.02 of all image pixels) are different.
11 | test('hero banner looks correct', async ({ page }) => {
12 | const header = page.getByTestId('home-hero-banner');
> 13 | await expect(header).toHaveScreenshot({ maxDiffPixels: 150 });
| ^
14 | });
15 |
16 | test('home page has impressive numbers', async ({ page }) => {
at /home/runner/work/frontend/frontend/tests/integration/index.test.ts:13:24
|
|
🎭 Playwright Run Summary
1 failed
tests/integration/index.test.ts:11:2 › home page › hero banner looks correct ───────────────────
4 skipped
30 passed (18.0s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-test-results
Expired
|
417 KB |
sha256:e087c9388472247e5074ba6131ab5507c4d91f84e60c3346f3fd8094975d583d
|
|