Skip to content

Feat/dark theme

Feat/dark theme #302

Triggered via pull request December 6, 2024 09:24
Status Failure
Total duration 3m 47s
Artifacts 1
Unit and screenshot tests
3m 39s
Unit and screenshot tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 notice
[chromium] › screenshotTests/screenshotTest.spec.ts:8:13 › PatternList – patternlist--default: playwright/helpers/expectToMatchScreenshot.ts#L11
1) [chromium] › screenshotTests/screenshotTest.spec.ts:8:13 › PatternList – patternlist--default ─ Error: Screenshot comparison failed: 66 pixels (ratio 0.01 of all image pixels) are different. Expected: /app/playwright/snapshots/PatternList/patternlist--default.png Received: /app/test-results/screenshotTests-screenshotTest-PatternList-–-patternlist--default-chromium/PatternList/patternlist--default-actual.png Diff: /app/test-results/screenshotTests-screenshotTest-PatternList-–-patternlist--default-chromium/PatternList/patternlist--default-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#storybook-root') - locator resolved to <div id="storybook-root"></div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is not visible - waiting... - element is visible and stable - 66 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#storybook-root') - locator resolved to <div id="storybook-root">…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - captured a stable screenshot - 66 pixels (ratio 0.01 of all image pixels) are different. at helpers/expectToMatchScreenshot.ts:11 9 | } else { 10 | const element = page.locator("#storybook-root"); > 11 | await expect(element).toHaveScreenshot([component, `${story}.png`]); | ^ 12 | } 13 | } 14 | at expectToMatchScreenshot (/app/playwright/helpers/expectToMatchScreenshot.ts:11:31) at /app/playwright/screenshotTests/screenshotTest.spec.ts:10:42
[chromium] › screenshotTests/screenshotTest.spec.ts:8:13 › PatternList – patternlist--default: playwright/helpers/expectToMatchScreenshot.ts#L11
1) [chromium] › screenshotTests/screenshotTest.spec.ts:8:13 › PatternList – patternlist--default ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 66 pixels (ratio 0.01 of all image pixels) are different. Expected: /app/playwright/snapshots/PatternList/patternlist--default.png Received: /app/test-results/screenshotTests-screenshotTest-PatternList-–-patternlist--default-chromium-retry1/PatternList/patternlist--default-actual.png Diff: /app/test-results/screenshotTests-screenshotTest-PatternList-–-patternlist--default-chromium-retry1/PatternList/patternlist--default-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#storybook-root') - locator resolved to <div id="storybook-root"></div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is not visible - waiting... - element is visible and stable - 66 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#storybook-root') - locator resolved to <div id="storybook-root">…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - captured a stable screenshot - 66 pixels (ratio 0.01 of all image pixels) are different. at helpers/expectToMatchScreenshot.ts:11 9 | } else { 10 | const element = page.locator("#storybook-root"); > 11 | await expect(element).toHaveScreenshot([component, `${story}.png`]); | ^ 12 | } 13 | } 14 | at expectToMatchScreenshot (/app/playwright/helpers/expectToMatchScreenshot.ts:11:31) at /app/playwright/screenshotTests/screenshotTest.spec.ts:10:42
[chromium] › screenshotTests/screenshotTest.spec.ts:8:13 › PatternList – patternlist--default: playwright/helpers/expectToMatchScreenshot.ts#L11
1) [chromium] › screenshotTests/screenshotTest.spec.ts:8:13 › PatternList – patternlist--default ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 66 pixels (ratio 0.01 of all image pixels) are different. Expected: /app/playwright/snapshots/PatternList/patternlist--default.png Received: /app/test-results/screenshotTests-screenshotTest-PatternList-–-patternlist--default-chromium-retry2/PatternList/patternlist--default-actual.png Diff: /app/test-results/screenshotTests-screenshotTest-PatternList-–-patternlist--default-chromium-retry2/PatternList/patternlist--default-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#storybook-root') - locator resolved to <div id="storybook-root"></div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is not visible - waiting... - element is visible and stable - 66 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#storybook-root') - locator resolved to <div id="storybook-root">…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - captured a stable screenshot - 66 pixels (ratio 0.01 of all image pixels) are different. at helpers/expectToMatchScreenshot.ts:11 9 | } else { 10 | const element = page.locator("#storybook-root"); > 11 | await expect(element).toHaveScreenshot([component, `${story}.png`]); | ^ 12 | } 13 | } 14 | at expectToMatchScreenshot (/app/playwright/helpers/expectToMatchScreenshot.ts:11:31) at /app/playwright/screenshotTests/screenshotTest.spec.ts:10:42
Unit and screenshot tests
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [chromium] › screenshotTests/screenshotTest.spec.ts:8:13 › PatternList – patternlist--default ── 155 passed (1.8m)

Artifacts

Produced during runtime
Name Size
screenshots-report
470 KB