Refactor/rm computer monitor #2088
Open
Annotations
4 errors and 4 notices
|
Run Playwright tests
Process completed with exit code 1.
|
|
Run Playwright tests:
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
|
|
Run Playwright tests:
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
|
|
Run Playwright tests:
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
|
|
Run Playwright tests
1 failed
[chrome] › tests/git-scm.spec.js:318:1 › dark mode ─────────────────────────────────────────────
1 skipped
10 passed (12.3s)
|
|
offer PDF version of the cheat sheet
Rewrote file:///images/sidebar-divider.png to file:///home/runner/work/git-scm.com/git-scm.com/public/images/sidebar-divider.png
|
|
offer PDF version of the cheat sheet
Rewrote file:///images/icons/search.png to file:///home/runner/work/git-scm.com/git-scm.com/public/images/icons/search.png
|
|
offer PDF version of the cheat sheet
Rewrote file:///images/bg/body.jpg to file:///home/runner/work/git-scm.com/git-scm.com/public/images/bg/body.jpg
|
Loading