Skip to content

fix: requests suck #243

fix: requests suck

fix: requests suck #243

Triggered via push November 18, 2024 06:13
Status Success
Total duration 4m 55s
Artifacts 3

main.yml

on: push
Run Scramjet Tests
2m 1s
Run Scramjet Tests
Upload release
10s
Upload release
Upload to Github Pages
37s
Upload to Github Pages
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 1 warning, and 1 notice
[chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load.: tests/youtube.spec.ts#L17
1) [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#L19
1) [chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load. ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('#contents > ytd-video-renderer:nth-child(1) > #dismissible > ytd-thumbnail > a > yt-image > img') to be visible 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 | 21 | const thumbnail = await thumbnailRef.getAttribute("src"); 22 | at /home/runner/work/scramjet/scramjet/tests/youtube.spec.ts:19:28
Build Scramjet
The following actions use a deprecated Node.js version and will be forced to run on node20: jetli/[email protected], Aandreba/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
1 flaky [chromium] › youtube.spec.ts:14:5 › YouTube › The search page can load. ──────────────────────── 3 passed (39.8s)

Artifacts

Produced during runtime
Name Size
github-pages Expired
4.97 MB
packaged-scramjet
653 KB
scramjet
656 KB