Skip to content

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

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

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

Triggered via pull request April 2, 2025 19:19
Status Failure
Total duration 22m 54s
Artifacts 1

test-smokes-parallel.yml

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

Annotations

9 errors and 2 warnings
Running Tests buckets 03 / Run smoke (windows-latest)
Error installing package 'textshaping':
Running Tests buckets 03 / Run smoke (windows-latest)
Process completed with exit code 1.
Running Tests buckets 14 / Run smoke (ubuntu-latest)
Process completed with exit code 1.
[chromium] › html-dark-mode.spec.ts:21:5 › Project brand before user themes: 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
Running Tests buckets 03 / Run smoke (ubuntu-latest)
Process completed with exit code 1.
Running Tests buckets 07 / Run smoke (windows-latest)
Process completed with exit code 1.
Running Tests buckets 04 / Run smoke (windows-latest)
Process completed with exit code 1.
Running Tests buckets 19 / Run smoke (windows-latest)
Process completed with exit code 1.
Running Tests buckets 13 / Run smoke (ubuntu-latest)
variable used before declaration
Running Tests buckets 13 / Run smoke (windows-latest)
variable used before declaration

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
667 KB
sha256:ac5c045110c17c636dbfb2723a1f3cfe67954d8ebd5a0438b0b1e78ea4c37cb4