Skip to content

test: fix test error ( installing studio cli) #1255

test: fix test error ( installing studio cli)

test: fix test error ( installing studio cli) #1255

Triggered via push January 6, 2025 15:31
Status Failure
Total duration 12m 48s
Artifacts 5
Matrix: Run Playwright test-suites
Merge playwright reports
1m 15s
Merge playwright reports
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 6 warnings, and 1 notice
Run Playwright test-suites (2, 4)
Process completed with exit code 1.
Run Playwright test-suites (4, 4)
Process completed with exit code 1.
Run Playwright test-suites (1, 4)
Process completed with exit code 1.
Run Playwright test-suites (3, 4)
Process completed with exit code 1.
[chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en): packages/studio-web/tests/test-commands.ts#L138
1) [chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en) ─ Error: page.evaluate: Execution context was destroyed, most likely because of a navigation at test-commands.ts:138 136 | export const disablePlausible = async (page: Page) => { 137 | //disable plausible > 138 | await page.evaluate( | ^ 139 | async () => await window.localStorage.setItem("plausible_ignore", "true"), 140 | ); 141 | }; at disablePlausible (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/test-commands.ts:138:14) at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:6:5
[chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en): packages/studio-web/tests/studio-web/check-page-1.spec.ts#L9
1) [chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en) ─ Error: page.goto: Test ended. Call log: - navigating to "http://localhost:4200/", waiting until "load" 7 | }); 8 | test("should check UI (en)", async ({ page }) => { > 9 | await page.goto("/"); | ^ 10 | //tour button is visible 11 | await expect(page.getByText("Take the tour!")).toBeVisible(); 12 | //check text button group at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:9:16
[chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en): packages/studio-web/<anonymous>#L236
1) [chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en) ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document. at UtilityScript.evaluate (<anonymous>:236:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at UtilityScript.evaluate (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/<anonymous>:236:17) at UtilityScript.<anonymous> (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/<anonymous>:1:44) at disablePlausible (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/test-commands.ts:138:14) at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:6:5
[chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en): packages/studio-web/tests/studio-web/check-page-1.spec.ts#L9
1) [chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en) ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: Test ended. Call log: - navigating to "http://localhost:4200/", waiting until "load" 7 | }); 8 | test("should check UI (en)", async ({ page }) => { > 9 | await page.goto("/"); | ^ 10 | //tour button is visible 11 | await expect(page.getByText("Take the tour!")).toBeVisible(); 12 | //check text button group at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:9:16
[chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en): packages/studio-web/tests/test-commands.ts#L138
1) [chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en) ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: Execution context was destroyed, most likely because of a navigation at test-commands.ts:138 136 | export const disablePlausible = async (page: Page) => { 137 | //disable plausible > 138 | await page.evaluate( | ^ 139 | async () => await window.localStorage.setItem("plausible_ignore", "true"), 140 | ); 141 | }; at disablePlausible (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/test-commands.ts:138:14) at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:6:5
[chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en): packages/studio-web/tests/studio-web/check-page-1.spec.ts#L9
1) [chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en) ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: Test ended. Call log: - navigating to "http://localhost:4200/", waiting until "load" 7 | }); 8 | test("should check UI (en)", async ({ page }) => { > 9 | await page.goto("/"); | ^ 10 | //tour button is visible 11 | await expect(page.getByText("Take the tour!")).toBeVisible(); 12 | //check text button group at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:9:16
[chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr): packages/studio-web/tests/test-commands.ts#L138
2) [chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr) Error: page.evaluate: Execution context was destroyed, most likely because of a navigation at test-commands.ts:138 136 | export const disablePlausible = async (page: Page) => { 137 | //disable plausible > 138 | await page.evaluate( | ^ 139 | async () => await window.localStorage.setItem("plausible_ignore", "true"), 140 | ); 141 | }; at disablePlausible (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/test-commands.ts:138:14) at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:6:5
[chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr): packages/studio-web/tests/studio-web/check-page-1.spec.ts#L24
2) [chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr) Error: page.goto: Test ended. Call log: - navigating to "http://localhost:4203/", waiting until "load" 22 | }); 23 | test("should check UI (fr)", async ({ page }) => { > 24 | await page.goto("http://localhost:4203/"); | ^ 25 | //tour button is visible 26 | await expect( 27 | page.getByRole("button", { name: "Visite guidée" }), at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:24:16
[chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr): packages/studio-web/<anonymous>#L236
2) [chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.evaluate: SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document. at UtilityScript.evaluate (<anonymous>:236:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at UtilityScript.evaluate (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/<anonymous>:236:17) at UtilityScript.<anonymous> (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/<anonymous>:1:44) at disablePlausible (/home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/test-commands.ts:138:14) at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:6:5
[chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr): packages/studio-web/tests/studio-web/check-page-1.spec.ts#L24
2) [chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: Test ended. Call log: - navigating to "http://localhost:4203/", waiting until "load" 22 | }); 23 | test("should check UI (fr)", async ({ page }) => { > 24 | await page.goto("http://localhost:4203/"); | ^ 25 | //tour button is visible 26 | await expect( 27 | page.getByRole("button", { name: "Visite guidée" }), at /home/runner/work/Studio-Web/Studio-Web/packages/studio-web/tests/studio-web/check-page-1.spec.ts:24:16
test-suites
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Playwright test-suites (2, 4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Playwright test-suites (4, 4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Playwright test-suites (1, 4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Playwright test-suites (3, 4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Merge playwright reports
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
27 failed [chromium] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en) ── [chromium] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr) ─ [chromium] › studio-web/check-page-1.spec.ts:40:3 › test studio UI & UX › should check UI (es) ─ [chromium] › studio-web/check-page-1.spec.ts:55:3 › test studio UI & UX › should input and save text [chromium] › studio-web/download-elan.spec.ts:4:1 › should Download ELAN ( file format) ──────── [chromium] › studio-web/download-html.spec.ts:4:1 › should Download default (single file format) [chromium] › studio-web/download-praat.spec.ts:10:1 › should Download Praat ( file format) ───── [chromium] › studio-web/download-srt.spec.ts:10:1 › should Download SRT ( file format) ───────── [chromium] › studio-web/download-web-bundle.spec.ts:6:1 › should Download web bundle (zip file format) [chromium] › studio-web/download-webvtt.spec.ts:10:1 › should Download WebVTT ( file format) ─── [chromium] › studio-web/make-read-along.spec.ts:9:1 › should make read along ─────────────────── [Mobile Chrome] › editor/check-page.spec.ts:4:1 › should check editor UI ─────────────────────── [Mobile Chrome] › editor/edit-images.spec.ts:5:1 › should edit images (editor) ───────────────── [Mobile Chrome] › editor/edit-translations.spec.ts:5:1 › should edit translations (editor) ───── [Mobile Chrome] › editor/tour-editor.spec.ts:4:1 › should do tour ────────────────────────────── [Mobile Chrome] › editor/use-audio-toolbar.spec.ts:7:1 › should edit alignment and words (editor) [Mobile Chrome] › studio-web/check-page-1.spec.ts:8:3 › test studio UI & UX › should check UI (en) [Mobile Chrome] › studio-web/check-page-1.spec.ts:23:3 › test studio UI & UX › should check UI (fr) [Mobile Chrome] › studio-web/check-page-1.spec.ts:40:3 › test studio UI & UX › should check UI (es) [Mobile Chrome] › studio-web/check-page-1.spec.ts:55:3 › test studio UI & UX › should input and save text [Mobile Chrome] › studio-web/download-elan.spec.ts:4:1 › should Download ELAN ( file format) ─── [Mobile Chrome] › studio-web/download-html.spec.ts:4:1 › should Download default (single file format) [Mobile Chrome] › studio-web/download-praat.spec.ts:10:1 › should Download Praat ( file format) [Mobile Chrome] › studio-web/download-srt.spec.ts:10:1 › should Download SRT ( file format) ──── [Mobile Chrome] › studio-web/download-web-bundle.spec.ts:6:1 › should Download web bundle (zip file format) [Mobile Chrome] › studio-web/download-webvtt.spec.ts:10:1 › should Download WebVTT ( file format) [Mobile Chrome] › studio-web/make-read-along.spec.ts:9:1 › should make read along ────────────── 5 passed (6.7m)

Artifacts

Produced during runtime
Name Size
blob-report-1 Expired
46.7 KB
blob-report-2 Expired
100 KB
blob-report-3 Expired
32.5 MB
blob-report-4 Expired
99.1 KB
html-report--attempt-1
33.2 MB