Skip to content

Homepage hero updates + blockchain filter #2594

Homepage hero updates + blockchain filter

Homepage hero updates + blockchain filter #2594

Re-run triggered October 24, 2024 13:39
Status Failure
Total duration 3m 7s
Artifacts

javascript.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors 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: Expected an image 1280px by 553px, received 1280px by 617px. 66856 pixels (ratio 0.09 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 - Expected an image 1280px by 553px, received 1280px by 617px. 66856 pixels (ratio 0.09 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 - Expected an image 1280px by 553px, received 1280px by 617px. 66856 pixels (ratio 0.09 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.
🎭 Playwright Run Summary
1 failed index.test.ts:11:2 › home page › hero banner looks correct ───────────────────────────────────── 2 skipped 22 passed (12.6s)