respect-user-color-scheme enables checking of prefers-color-scheme media query
#4796
Annotations
3 errors
|
tests/integration/playwright/tests/html-dark-mode.spec.ts#L5
1) [chromium] › html-dark-mode.spec.ts:21:5 › Project brand before user themes ───────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('body').first()
Expected string: "fullcontent quarto-light"
Received string: ""
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for locator('body').first()
- locator resolved to <body>…</body>
- unexpected value ""
- locator resolved to <body>…</body>
- unexpected value ""
- locator resolved to <body>…</body>
- unexpected value ""
- locator resolved to <body>…</body>
- unexpected value ""
- locator resolved to <body>…</body>
- unexpected value ""
- locator resolved to <body>…</body>
- unexpected value ""
- locator resolved to <body>…</body>
- unexpected value ""
- locator resolved to <body>…</body>
- unexpected value ""
- locator resolved to <body>…</body>
- unexpected value ""
3 | async function check_theme_overrides(page) {
4 | const locatr = await page.locator('body').first();
> 5 | await expect(locatr).toHaveClass('fullcontent quarto-light');
| ^
6 | await expect(locatr).toHaveCSS('background-color', 'rgb(252, 252, 252)');
7 | await page.locator("a.quarto-color-scheme-toggle").click();
8 | const locatr2 = await page.locator('body').first();
at check_theme_overrides (/home/runner/work/quarto-cli/quarto-cli/tests/integration/playwright/tests/html-dark-mode.spec.ts:5:24)
at /home/runner/work/quarto-cli/quarto-cli/tests/integration/playwright/tests/html-dark-mode.spec.ts:24:3
|
|
playwright-tests.test.ts#L1
Some tests failed. Download report uploaded as artifact at https://github.com/quarto-dev/quarto-cli/actions/runs/14227774658
|
|
|
The logs for this run have expired and are no longer available.
Loading