Skip to content

Troubleshoot build #2666

Troubleshoot build

Troubleshoot build #2666

Triggered via pull request December 16, 2024 15:47
Status Failure
Total duration 3m 19s
Artifacts 1

javascript.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 3 warnings, and 1 notice
index.test.ts:11:2 › home page › hero banner looks correct: tests/integration/index.test.ts#L13
1) index.test.ts:11:2 › home page › hero banner looks correct ──────────────────────────────────── Error: Screenshot comparison failed: 140 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/frontend/frontend/tests/integration/index.test.ts-snapshots/home-page-hero-banner-looks-correct-1-linux.png Received: /home/runner/work/frontend/frontend/test-results/index-home-page-hero-banner-looks-correct/home-page-hero-banner-looks-correct-1-actual.png Diff: /home/runner/work/frontend/frontend/test-results/index-home-page-hero-banner-looks-correct/home-page-hero-banner-looks-correct-1-diff.png 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 - 140 pixels (ratio 0.01 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 - 140 pixels (ratio 0.01 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(); | ^ 14 | }); 15 | 16 | test('home page has impressive numbers', async ({ page }) => { at /home/runner/work/frontend/frontend/tests/integration/index.test.ts:13:24
test
Process completed with exit code 1.
check-format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 failed index.test.ts:11:2 › home page › hero banner looks correct ───────────────────────────────────── 2 skipped 32 passed (18.3s)

Artifacts

Produced during runtime
Name Size
playwright-test-results Expired
419 KB