fix: incorrectly classified xhr requests as sync #235
Annotations
1 error, 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
|
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 (23.1s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
github-pages
Expired
|
4.96 MB |
|
packaged-scramjet
|
652 KB |
|
scramjet
|
655 KB |
|