Feat/dark theme #303
unit-and-screenshot-tests.yml
on: pull_request
Unit and screenshot tests
3m 16s
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: A snapshot doesn't exist at /app/playwright/snapshots/PatternList/patternlist--default.png.
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: A snapshot doesn't exist at /app/playwright/snapshots/PatternList/patternlist--default.png.
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: A snapshot doesn't exist at /app/playwright/snapshots/PatternList/patternlist--default.png, writing actual.
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:9)
at /app/playwright/screenshotTests/screenshotTest.spec.ts:10:13
|
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.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots-report
|
231 KB |
|