Skip to content

respect-user-color-scheme enables checking of prefers-color-scheme media query #4782

respect-user-color-scheme enables checking of prefers-color-scheme media query

respect-user-color-scheme enables checking of prefers-color-scheme media query #4782

Re-run triggered April 1, 2025 18:54
Status Failure
Total duration 9m 22s
Artifacts 1

test-smokes-parallel.yml

on: pull_request
jobs-matrix
14s
jobs-matrix
check-matrix
2s
check-matrix
Matrix: run-smoke-tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 43 warnings, and 1 notice
[chromium] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands: tests/integration/playwright/tests/html-dark-mode.spec.ts#L5
2) [chromium] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected) Locator: locator('body').first() Expected string: "fullcontent quarto-dark" Received string: "fullcontent quarto-light" Call log: - expect.toHaveClass with timeout 5000ms - waiting for locator('body').first() - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" 3 | async function check_red_blue(page) { 4 | const locatr = await page.locator('body').first(); > 5 | await expect(locatr).toHaveClass('fullcontent quarto-dark'); | ^ 6 | await expect(locatr).toHaveCSS('background-color', 'rgb(66, 7, 11)'); 7 | await page.locator("a.quarto-color-scheme-toggle").click(); 8 | const locatr2 = await page.locator('body').first(); at check_red_blue (/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:38:3
[firefox] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes: tests/integration/playwright/tests/html-dark-mode.spec.ts#L5
3) [firefox] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected) Locator: locator('body').first() Expected string: "fullcontent quarto-dark" Received string: "fullcontent quarto-light" Call log: - expect.toHaveClass with timeout 5000ms - waiting for locator('body').first() - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" 3 | async function check_red_blue(page) { 4 | const locatr = await page.locator('body').first(); > 5 | await expect(locatr).toHaveClass('fullcontent quarto-dark'); | ^ 6 | await expect(locatr).toHaveCSS('background-color', 'rgb(66, 7, 11)'); 7 | await page.locator("a.quarto-color-scheme-toggle").click(); 8 | const locatr2 = await page.locator('body').first(); at check_red_blue (/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:25:3
[firefox] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes: tests/integration/playwright/tests/html-dark-mode.spec.ts#L5
3) [firefox] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes ────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected) Locator: locator('body').first() Expected string: "fullcontent quarto-dark" Received string: "fullcontent quarto-light" Call log: - expect.toHaveClass with timeout 5000ms - waiting for locator('body').first() - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" 3 | async function check_red_blue(page) { 4 | const locatr = await page.locator('body').first(); > 5 | await expect(locatr).toHaveClass('fullcontent quarto-dark'); | ^ 6 | await expect(locatr).toHaveCSS('background-color', 'rgb(66, 7, 11)'); 7 | await page.locator("a.quarto-color-scheme-toggle").click(); 8 | const locatr2 = await page.locator('body').first(); at check_red_blue (/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:25:3
[webkit] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes: tests/integration/playwright/tests/html-dark-mode.spec.ts#L5
5) [webkit] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected) Locator: locator('body').first() Expected string: "fullcontent quarto-dark" Received string: "fullcontent quarto-light" Call log: - expect.toHaveClass with timeout 5000ms - waiting for locator('body').first() - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" 3 | async function check_red_blue(page) { 4 | const locatr = await page.locator('body').first(); > 5 | await expect(locatr).toHaveClass('fullcontent quarto-dark'); | ^ 6 | await expect(locatr).toHaveCSS('background-color', 'rgb(66, 7, 11)'); 7 | await page.locator("a.quarto-color-scheme-toggle").click(); 8 | const locatr2 = await page.locator('body').first(); at check_red_blue (/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:25:3
[webkit] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes: tests/integration/playwright/tests/html-dark-mode.spec.ts#L5
5) [webkit] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected) Locator: locator('body').first() Expected string: "fullcontent quarto-dark" Received string: "fullcontent quarto-light" Call log: - expect.toHaveClass with timeout 5000ms - waiting for locator('body').first() - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" 3 | async function check_red_blue(page) { 4 | const locatr = await page.locator('body').first(); > 5 | await expect(locatr).toHaveClass('fullcontent quarto-dark'); | ^ 6 | await expect(locatr).toHaveCSS('background-color', 'rgb(66, 7, 11)'); 7 | await page.locator("a.quarto-color-scheme-toggle").click(); 8 | const locatr2 = await page.locator('body').first(); at check_red_blue (/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:25:3
[webkit] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands: tests/integration/playwright/tests/html-dark-mode.spec.ts#L5
6) [webkit] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands ────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected) Locator: locator('body').first() Expected string: "fullcontent quarto-dark" Received string: "fullcontent quarto-light" Call log: - expect.toHaveClass with timeout 5000ms - waiting for locator('body').first() - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" 3 | async function check_red_blue(page) { 4 | const locatr = await page.locator('body').first(); > 5 | await expect(locatr).toHaveClass('fullcontent quarto-dark'); | ^ 6 | await expect(locatr).toHaveCSS('background-color', 'rgb(66, 7, 11)'); 7 | await page.locator("a.quarto-color-scheme-toggle").click(); 8 | const locatr2 = await page.locator('body').first(); at check_red_blue (/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:38:3
[webkit] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands: tests/integration/playwright/tests/html-dark-mode.spec.ts#L5
6) [webkit] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands ────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected) Locator: locator('body').first() Expected string: "fullcontent quarto-dark" Received string: "fullcontent quarto-light" Call log: - expect.toHaveClass with timeout 5000ms - waiting for locator('body').first() - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" - locator resolved to <body class="fullcontent quarto-light">…</body> - unexpected value "fullcontent quarto-light" 3 | async function check_red_blue(page) { 4 | const locatr = await page.locator('body').first(); > 5 | await expect(locatr).toHaveClass('fullcontent quarto-dark'); | ^ 6 | await expect(locatr).toHaveCSS('background-color', 'rgb(66, 7, 11)'); 7 | await page.locator("a.quarto-color-scheme-toggle").click(); 8 | const locatr2 = await page.locator('body').first(); at check_red_blue (/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:38:3
Running Tests buckets 03 / Run smoke (ubuntu-latest)
Process completed with exit code 1.
Running Tests buckets 01 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 01 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 02 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Slow Test: tests/integration/playwright/[webkit] › blog-simple-blog.spec.ts#L1
tests/integration/playwright/[webkit] › blog-simple-blog.spec.ts took 15.6s
Running Tests buckets 03 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 02 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 04 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 03 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 06 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 05 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 04 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 05 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 06 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 08 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 07 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 10 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 07 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 09 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 10 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 09 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 12 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 11 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 12 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 13 / Run smoke (ubuntu-latest)
variable used before declaration
Running Tests buckets 11 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 13 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 18 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 14 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 13 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 13 / Run smoke (windows-latest)
variable used before declaration
Running Tests buckets 18 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 14 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 16 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 15 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 15 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 16 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 17 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 17 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 19 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 19 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 20 / Run smoke (windows-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 20 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
Running Tests buckets 08 / Run smoke (ubuntu-latest)
Failed to restore: Cache service responded with 422
🎭 Playwright Run Summary
6 failed [chromium] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes ────────────── [chromium] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands ───────────── [firefox] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes ─────────────── [firefox] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands ────────────── [webkit] › html-dark-mode.spec.ts:22:5 › Dark and light brand after user themes ──────────────── [webkit] › html-dark-mode.spec.ts:36:5 › Project specifies dark and light brands ─────────────── 123 passed (3.8m)