Skip to content

fix: document stuff #315

fix: document stuff

fix: document stuff #315

Triggered via push December 21, 2024 05:24
Status Failure
Total duration 6m 34s
Artifacts 2

main.yml

on: push
Run Scramjet Tests
1m 51s
Run Scramjet Tests
Upload release
0s
Upload release
Upload to Github Pages
0s
Upload to Github Pages
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 2 warnings, and 1 notice
Run Scramjet Tests
Tests failed
[chromium] › youtube.spec.ts:5:5 › YouTube › The front page can load.: tests/youtube.spec.ts#L10
1) [chromium] › youtube.spec.ts:5:5 › YouTube › The front page can load. ───────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('#logo-icon > span > div').first() to be visible 8 | // Wait for the page inside the iframe to load 9 | > 10 | const logo = await frame.locator("#logo-icon > span > div").first().waitFor({ state: "visible" }); | ^ 11 | expect(logo).not.toBeNull(); 12 | }); 13 | at /home/runner/work/scramjet/scramjet/tests/youtube.spec.ts:10:77
[chromium] › youtube.spec.ts:5:5 › YouTube › The front page can load.: tests/youtube.spec.ts#L10
1) [chromium] › youtube.spec.ts:5:5 › YouTube › The front page can load. ───────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('#logo-icon > span > div').first() to be visible 8 | // Wait for the page inside the iframe to load 9 | > 10 | const logo = await frame.locator("#logo-icon > span > div").first().waitFor({ state: "visible" }); | ^ 11 | expect(logo).not.toBeNull(); 12 | }); 13 | at /home/runner/work/scramjet/scramjet/tests/youtube.spec.ts:10:77
[chromium] › youtube.spec.ts:5:5 › YouTube › The front page can load.: tests/youtube.spec.ts#L10
1) [chromium] › youtube.spec.ts:5:5 › YouTube › The front page can load. ───────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('#logo-icon > span > div').first() to be visible 8 | // Wait for the page inside the iframe to load 9 | > 10 | const logo = await frame.locator("#logo-icon > span > div").first().waitFor({ state: "visible" }); | ^ 11 | expect(logo).not.toBeNull(); 12 | }); 13 | at /home/runner/work/scramjet/scramjet/tests/youtube.spec.ts:10:77
[chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load.: tests/youtube.spec.ts#L17
2) [chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load. ─────────────────────── TimeoutError: locator.textContent: Timeout 5000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('#video-title > yt-formatted-string').first() 15 | const frame = await setupPage(page, "https://www.youtube.com/results?search_query=bad+apple"); 16 | > 17 | const title = await frame.locator("#video-title > yt-formatted-string").first().textContent({ timeout: 5000 }); | ^ 18 | const thumbnailRef = frame.locator("#contents > ytd-video-renderer:nth-child(1) > #dismissible > ytd-thumbnail > a > yt-image > img") 19 | await thumbnailRef.waitFor({ state: "visible" }); 20 | at /home/runner/work/scramjet/scramjet/tests/youtube.spec.ts:17:89
[chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load.: tests/youtube.spec.ts#L17
2) [chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load. ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.textContent: Timeout 5000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('#video-title > yt-formatted-string').first() 15 | const frame = await setupPage(page, "https://www.youtube.com/results?search_query=bad+apple"); 16 | > 17 | const title = await frame.locator("#video-title > yt-formatted-string").first().textContent({ timeout: 5000 }); | ^ 18 | const thumbnailRef = frame.locator("#contents > ytd-video-renderer:nth-child(1) > #dismissible > ytd-thumbnail > a > yt-image > img") 19 | await thumbnailRef.waitFor({ state: "visible" }); 20 | at /home/runner/work/scramjet/scramjet/tests/youtube.spec.ts:17:89
[chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load.: tests/youtube.spec.ts#L17
2) [chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load. ─────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.textContent: Timeout 5000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('#video-title > yt-formatted-string').first() 15 | const frame = await setupPage(page, "https://www.youtube.com/results?search_query=bad+apple"); 16 | > 17 | const title = await frame.locator("#video-title > yt-formatted-string").first().textContent({ timeout: 5000 }); | ^ 18 | const thumbnailRef = frame.locator("#contents > ytd-video-renderer:nth-child(1) > #dismissible > ytd-thumbnail > a > yt-image > img") 19 | await thumbnailRef.waitFor({ state: "visible" }); 20 | at /home/runner/work/scramjet/scramjet/tests/youtube.spec.ts:17:89
Run Scramjet Tests
Process completed with exit code 1.
Build Scramjet
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Scramjet Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 failed [chromium] › youtube.spec.ts:5:5 › YouTube › The front page can load. ────────────────────────── [chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load. ──────────────────────── 2 passed (40.1s)

Artifacts

Produced during runtime
Name Size
packaged-scramjet
455 KB
scramjet
454 KB