Skip to content

improve logging logic and add a dbg.time call for easy tracking #6

improve logging logic and add a dbg.time call for easy tracking

improve logging logic and add a dbg.time call for easy tracking #6

Triggered via push July 4, 2025 15:50
Status Failure
Total duration 8m 29s
Artifacts 2

main.yml

on: push
Run Scramjet Tests
3m 57s
Run Scramjet Tests
Upload release
0s
Upload release
Publish Scramjet to NPM
0s
Publish Scramjet to NPM
Upload to Github Pages
0s
Upload to Github Pages
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible.: tests/google.spec.ts#L18
2) [chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible. Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('iframe[name=\'app\']') to be visible 16 | 17 | const appsMenuFrame = frame.locator("iframe[name='app']"); > 18 | await appsMenuFrame.waitFor({ state: "visible" }); | ^ 19 | 20 | await appsMenuFrame.contentFrame().locator("c-wiz").first().waitFor({ state: "visible" }); 21 | at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:18:29
[chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible.: tests/google.spec.ts#L15
2) [chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible. Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('a[aria-label=\'Google apps\']').first() 13 | const frame = await setupPage(page, "https://www.google.com/"); 14 | > 15 | frame.locator("a[aria-label='Google apps']").first().click(); | ^ 16 | 17 | const appsMenuFrame = frame.locator("iframe[name='app']"); 18 | await appsMenuFrame.waitFor({ state: "visible" }); at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:15:62
[chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible.: tests/google.spec.ts#L18
2) [chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible. Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('iframe[name=\'app\']') to be visible 16 | 17 | const appsMenuFrame = frame.locator("iframe[name='app']"); > 18 | await appsMenuFrame.waitFor({ state: "visible" }); | ^ 19 | 20 | await appsMenuFrame.contentFrame().locator("c-wiz").first().waitFor({ state: "visible" }); 21 | at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:18:29
[chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible.: tests/google.spec.ts#L15
2) [chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible. Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('a[aria-label=\'Google apps\']').first() 13 | const frame = await setupPage(page, "https://www.google.com/"); 14 | > 15 | frame.locator("a[aria-label='Google apps']").first().click(); | ^ 16 | 17 | const appsMenuFrame = frame.locator("iframe[name='app']"); 18 | await appsMenuFrame.waitFor({ state: "visible" }); at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:15:62
[chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible.: tests/google.spec.ts#L18
2) [chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible. TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('iframe[name=\'app\']') to be visible 16 | 17 | const appsMenuFrame = frame.locator("iframe[name='app']"); > 18 | await appsMenuFrame.waitFor({ state: "visible" }); | ^ 19 | 20 | await appsMenuFrame.contentFrame().locator("c-wiz").first().waitFor({ state: "visible" }); 21 | at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:18:29
[chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible.: tests/google.spec.ts#L15
2) [chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible. TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('a[aria-label=\'Google apps\']').first() 13 | const frame = await setupPage(page, "https://www.google.com/"); 14 | > 15 | frame.locator("a[aria-label='Google apps']").first().click(); | ^ 16 | 17 | const appsMenuFrame = frame.locator("iframe[name='app']"); 18 | await appsMenuFrame.waitFor({ state: "visible" }); at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:15:62
[chromium] › tests/google.spec.ts:5:5 › Google › The front page can load.: tests/google.spec.ts#L8
1) [chromium] › tests/google.spec.ts:5:5 › Google › The front page can load. ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('textarea[Title=\'Search\']').first() to be visible 6 | const frame = await setupPage(page, "https://www.google.com/"); 7 | > 8 | const search = await frame.locator("textarea[Title='Search']").first().waitFor({ state: "visible" }); | ^ 9 | expect(search).not.toBeNull(); 10 | }); 11 | at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:8:80
[chromium] › tests/google.spec.ts:5:5 › Google › The front page can load.: tests/google.spec.ts#L8
1) [chromium] › tests/google.spec.ts:5:5 › Google › The front page can load. ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('textarea[Title=\'Search\']').first() to be visible 6 | const frame = await setupPage(page, "https://www.google.com/"); 7 | > 8 | const search = await frame.locator("textarea[Title='Search']").first().waitFor({ state: "visible" }); | ^ 9 | expect(search).not.toBeNull(); 10 | }); 11 | at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:8:80
[chromium] › tests/google.spec.ts:5:5 › Google › The front page can load.: tests/google.spec.ts#L8
1) [chromium] › tests/google.spec.ts:5:5 › Google › The front page can load. ───────────────────── TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('iframe').contentFrame().locator('textarea[Title=\'Search\']').first() to be visible 6 | const frame = await setupPage(page, "https://www.google.com/"); 7 | > 8 | const search = await frame.locator("textarea[Title='Search']").first().waitFor({ state: "visible" }); | ^ 9 | expect(search).not.toBeNull(); 10 | }); 11 | at /home/runner/work/browser.js/browser.js/tests/google.spec.ts:8:80
Run Scramjet Tests
Tests failed
🎭 Playwright Run Summary
4 failed [chromium] › tests/google.spec.ts:5:5 › Google › The front page can load. ────────────────────── [chromium] › tests/google.spec.ts:12:5 › Google › The Google Apps menu opens and content is visible. [chromium] › tests/youtube.spec.ts:5:5 › YouTube › The front page can load. ──────────────────── [chromium] › tests/youtube.spec.ts:14:5 › YouTube › The search page can load. ──────────────────

Artifacts

Produced during runtime
Name Size Digest
packaged-scramjet Expired
523 KB
sha256:c42cf952694c7e539df144ad63815e07823a2d2e896d078a082c0c376ce82de6
scramjet Expired
517 KB
sha256:eab6877e848e6b8b71b18563b58d28c8843d6a73818691d85137aeba33b5da3b