Refactor/rm computer monitor #676
Annotations
4 errors and 4 notices
|
build
Process completed with exit code 1.
|
|
[chrome] › tests/git-scm.spec.js:318:1 › dark mode:
tests/git-scm.spec.js#L328
1) [chrome] › tests/git-scm.spec.js:318:1 › dark mode ────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected) failed
5956 pixels (ratio 0.02 of all image pixels) are different.
Snapshot: light-mode.png
Call log:
- Expect "toHaveScreenshot(light-mode.png)" with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5956 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5956 pixels (ratio 0.02 of all image pixels) are different.
326 |
327 | const o = { maxDiffPixels: 30 };
> 328 | await expect(page).toHaveScreenshot({ name: 'light-mode.png', ...o });
| ^
329 | await darkModeButton.click();
330 | await expect(page).toHaveScreenshot({ name: 'dark-mode.png', ...o });
331 |
at /home/runner/work/git-scm.com/git-scm.com/tests/git-scm.spec.js:328:22
|
|
[chrome] › tests/git-scm.spec.js:318:1 › dark mode:
tests/git-scm.spec.js#L328
1) [chrome] › tests/git-scm.spec.js:318:1 › dark mode ────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected) failed
5956 pixels (ratio 0.02 of all image pixels) are different.
Snapshot: light-mode.png
Call log:
- Expect "toHaveScreenshot(light-mode.png)" with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5956 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5956 pixels (ratio 0.02 of all image pixels) are different.
326 |
327 | const o = { maxDiffPixels: 30 };
> 328 | await expect(page).toHaveScreenshot({ name: 'light-mode.png', ...o });
| ^
329 | await darkModeButton.click();
330 | await expect(page).toHaveScreenshot({ name: 'dark-mode.png', ...o });
331 |
at /home/runner/work/git-scm.com/git-scm.com/tests/git-scm.spec.js:328:22
|
|
[chrome] › tests/git-scm.spec.js:318:1 › dark mode:
tests/git-scm.spec.js#L328
1) [chrome] › tests/git-scm.spec.js:318:1 › dark mode ────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected) failed
5956 pixels (ratio 0.02 of all image pixels) are different.
Snapshot: light-mode.png
Call log:
- Expect "toHaveScreenshot(light-mode.png)" with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5956 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5956 pixels (ratio 0.02 of all image pixels) are different.
326 |
327 | const o = { maxDiffPixels: 30 };
> 328 | await expect(page).toHaveScreenshot({ name: 'light-mode.png', ...o });
| ^
329 | await darkModeButton.click();
330 | await expect(page).toHaveScreenshot({ name: 'dark-mode.png', ...o });
331 |
at /home/runner/work/git-scm.com/git-scm.com/tests/git-scm.spec.js:328:22
|
|
🎭 Playwright Run Summary
1 failed
[chrome] › tests/git-scm.spec.js:318:1 › dark mode ─────────────────────────────────────────────
1 skipped
10 passed (12.9s)
|
|
build
Rewrote file:///images/sidebar-divider.png to file:///home/runner/work/git-scm.com/git-scm.com/public/images/sidebar-divider.png
|
|
build
Rewrote file:///images/icons/search.png to file:///home/runner/work/git-scm.com/git-scm.com/public/images/icons/search.png
|
|
build
Rewrote file:///images/bg/body.jpg to file:///home/runner/work/git-scm.com/git-scm.com/public/images/bg/body.jpg
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
pages
|
386 MB |
sha256:8bd5c58201ece5e70fccb3fea7568fcc878f38ca80a6ee89d7907800dc2558b1
|
|
|
playwright-report
|
1.98 MB |
sha256:581373a223550449b6b49f54bf25f663c755c340937a59e5a1aca2d041b4de2c
|
|