Skip to content

test: assert style block content via textContent #1219

test: assert style block content via textContent

test: assert style block content via textContent #1219

Re-run triggered July 29, 2026 11:07
Status Failure
Total duration 11m 32s
Artifacts 2

test-e2e.yml

on: push
Playwright E2E tests
11m 20s
Playwright E2E tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 1 warning, and 1 notice
Playwright E2E tests
Process completed with exit code 1.
[chromium] › tests/e2e/specs/lazy-render.spec.js:66:2 › Lazy rendered charts (frontend) › chart renders without artificial script delay: tests/e2e/specs/lazy-render.spec.js#L42
1) [chromium] › tests/e2e/specs/lazy-render.spec.js:66:2 › Lazy rendered charts (frontend) › chart renders without artificial script delay Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeAttached() failed Locator: locator('script[data-visualizer-script]').first() Expected: attached Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeAttached" with timeout 5000ms - waiting for locator('script[data-visualizer-script]').first() 40 | async function triggerLazyLoader( page ) { 41 | // Scripts are swapped to `data-visualizer-script` placeholders. > 42 | await expect( page.locator( 'script[data-visualizer-script]' ).first() ).toBeAttached(); | ^ 43 | 44 | // The loader starts on the first user interaction. 45 | await page.evaluate( () => window.dispatchEvent( new Event( 'scroll' ) ) ); at triggerLazyLoader (/home/runner/work/visualizer/visualizer/tests/e2e/specs/lazy-render.spec.js:42:76) at /home/runner/work/visualizer/visualizer/tests/e2e/specs/lazy-render.spec.js:70:9
[chromium] › tests/e2e/specs/lazy-render.spec.js:66:2 › Lazy rendered charts (frontend) › chart renders without artificial script delay: tests/e2e/specs/lazy-render.spec.js#L42
1) [chromium] › tests/e2e/specs/lazy-render.spec.js:66:2 › Lazy rendered charts (frontend) › chart renders without artificial script delay Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeAttached() failed Locator: locator('script[data-visualizer-script]').first() Expected: attached Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeAttached" with timeout 5000ms - waiting for locator('script[data-visualizer-script]').first() 40 | async function triggerLazyLoader( page ) { 41 | // Scripts are swapped to `data-visualizer-script` placeholders. > 42 | await expect( page.locator( 'script[data-visualizer-script]' ).first() ).toBeAttached(); | ^ 43 | 44 | // The loader starts on the first user interaction. 45 | await page.evaluate( () => window.dispatchEvent( new Event( 'scroll' ) ) ); at triggerLazyLoader (/home/runner/work/visualizer/visualizer/tests/e2e/specs/lazy-render.spec.js:42:76) at /home/runner/work/visualizer/visualizer/tests/e2e/specs/lazy-render.spec.js:70:9
[chromium] › tests/e2e/specs/lazy-render.spec.js:66:2 › Lazy rendered charts (frontend) › chart renders without artificial script delay: tests/e2e/specs/lazy-render.spec.js#L42
1) [chromium] › tests/e2e/specs/lazy-render.spec.js:66:2 › Lazy rendered charts (frontend) › chart renders without artificial script delay Error: expect(locator).toBeAttached() failed Locator: locator('script[data-visualizer-script]').first() Expected: attached Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeAttached" with timeout 5000ms - waiting for locator('script[data-visualizer-script]').first() 40 | async function triggerLazyLoader( page ) { 41 | // Scripts are swapped to `data-visualizer-script` placeholders. > 42 | await expect( page.locator( 'script[data-visualizer-script]' ).first() ).toBeAttached(); | ^ 43 | 44 | // The loader starts on the first user interaction. 45 | await page.evaluate( () => window.dispatchEvent( new Event( 'scroll' ) ) ); at triggerLazyLoader (/home/runner/work/visualizer/visualizer/tests/e2e/specs/lazy-render.spec.js:42:76) at /home/runner/work/visualizer/visualizer/tests/e2e/specs/lazy-render.spec.js:70:9
Playwright E2E tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
1 failed [chromium] › tests/e2e/specs/lazy-render.spec.js:66:2 › Lazy rendered charts (frontend) › chart renders without artificial script delay 54 passed (6.8m)

Artifacts

Produced during runtime
Name Size Digest
e2e-playwright-results
10.5 MB
sha256:7a27839704d264c44a478e9acbf17639f8e06cd037efd865db7fd17030811e7d