Fix service worker handling, #629
Annotations
5 errors and 1 notice
|
Run Playwright tests
Process completed with exit code 1.
|
|
Run Playwright tests:
tests/web/amplitron.spec.ts#L324
2) [chromium] › amplitron.spec.ts:318:7 › No Runtime Errors › no uncaught exceptions during the full load cycle
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [[SyntaxError: await is only valid in async functions and the top level bodies of modules]]
322 | await page.waitForSelector('#loading.hidden', { timeout: 60_000 });
323 |
> 324 | expect(log.errors).toHaveLength(0);
| ^
325 | });
326 |
327 | test('no WASM abort() or RuntimeError: unreachable panics', async ({ page }) => {
at /home/runner/work/Amplitron/Amplitron/tests/web/amplitron.spec.ts:324:24
|
|
Run Playwright tests:
tests/web/amplitron.spec.ts#L324
2) [chromium] › amplitron.spec.ts:318:7 › No Runtime Errors › no uncaught exceptions during the full load cycle
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [[SyntaxError: await is only valid in async functions and the top level bodies of modules]]
322 | await page.waitForSelector('#loading.hidden', { timeout: 60_000 });
323 |
> 324 | expect(log.errors).toHaveLength(0);
| ^
325 | });
326 |
327 | test('no WASM abort() or RuntimeError: unreachable panics', async ({ page }) => {
at /home/runner/work/Amplitron/Amplitron/tests/web/amplitron.spec.ts:324:24
|
|
Run Playwright tests:
tests/web/amplitron.spec.ts#L60
1) [chromium] › amplitron.spec.ts:51:7 › Page Load & WASM Initialisation › page loads without JavaScript errors
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [[SyntaxError: await is only valid in async functions and the top level bodies of modules]]
58 |
59 | // No uncaught JS exceptions on the initial page load
> 60 | expect(log.errors).toHaveLength(0);
| ^
61 | });
62 |
63 | test('loading overlay is visible on initial page load', async ({ page }) => {
at /home/runner/work/Amplitron/Amplitron/tests/web/amplitron.spec.ts:60:24
|
|
Run Playwright tests:
tests/web/amplitron.spec.ts#L60
1) [chromium] › amplitron.spec.ts:51:7 › Page Load & WASM Initialisation › page loads without JavaScript errors
Error: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [[SyntaxError: await is only valid in async functions and the top level bodies of modules]]
58 |
59 | // No uncaught JS exceptions on the initial page load
> 60 | expect(log.errors).toHaveLength(0);
| ^
61 | });
62 |
63 | test('loading overlay is visible on initial page load', async ({ page }) => {
at /home/runner/work/Amplitron/Amplitron/tests/web/amplitron.spec.ts:60:24
|
|
Run Playwright tests
2 failed
[chromium] › amplitron.spec.ts:51:7 › Page Load & WASM Initialisation › page loads without JavaScript errors
[chromium] › amplitron.spec.ts:318:7 › No Runtime Errors › no uncaught exceptions during the full load cycle
16 passed (47.7s)
|
background
wait
wait-all
cancel
parallel
Loading