Skip to content

fix(env): use z.url() instead of deprecated z.string().url() for VALK… #11514

fix(env): use z.url() instead of deprecated z.string().url() for VALK…

fix(env): use z.url() instead of deprecated z.string().url() for VALK… #11514

Triggered via push April 17, 2026 18:25
Status Failure
Total duration 24m 22s
Artifacts

e2e.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
[chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage: packages/app/src/e2e/admin-impersonation-read-only.e2e.ts#L34
2) [chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Test timeout of 60000ms exceeded. Call log: - waiting for getByLabel('SIREN de l\'entreprise') 32 | }) => { 33 | await page.goto("/admin/impersonate"); > 34 | await page.getByLabel("SIREN de l'entreprise").fill(TEST_SIREN); | ^ 35 | await page.getByRole("button", { name: "Rechercher" }).click(); 36 | await page.getByRole("button", { name: /valider et mimoquer/i }).click(); 37 | at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-impersonation-read-only.e2e.ts:34:50
[chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage: packages/app/src/e2e/admin-impersonation-read-only.e2e.ts#L0
2) [chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage: packages/app/src/e2e/admin-impersonation-read-only.e2e.ts#L34
2) [chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage Error: locator.fill: Test timeout of 60000ms exceeded. Call log: - waiting for getByLabel('SIREN de l\'entreprise') 32 | }) => { 33 | await page.goto("/admin/impersonate"); > 34 | await page.getByLabel("SIREN de l'entreprise").fill(TEST_SIREN); | ^ 35 | await page.getByRole("button", { name: "Rechercher" }).click(); 36 | await page.getByRole("button", { name: /valider et mimoquer/i }).click(); 37 | at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-impersonation-read-only.e2e.ts:34:50
[chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage: packages/app/src/e2e/admin-impersonation-read-only.e2e.ts#L0
2) [chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage Test timeout of 60000ms exceeded.
[chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login: packages/app/src/e2e/admin-declarations.e2e.ts#L19
1) [chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserContext.close: Target page, context or browser has been closed 17 | expect(page.url()).toContain("/login"); 18 | } finally { > 19 | await anonCtx.close(); | ^ 20 | } 21 | }); 22 | at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-declarations.e2e.ts:19:3
[chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login: packages/app/src/e2e/admin-declarations.e2e.ts#L0
1) [chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login: packages/app/src/e2e/admin-declarations.e2e.ts#L19
1) [chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserContext.close: Target page, context or browser has been closed 17 | expect(page.url()).toContain("/login"); 18 | } finally { > 19 | await anonCtx.close(); | ^ 20 | } 21 | }); 22 | at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-declarations.e2e.ts:19:3
[chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login: packages/app/src/e2e/admin-declarations.e2e.ts#L0
1) [chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login: packages/app/src/e2e/admin-declarations.e2e.ts#L19
1) [chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login Error: browserContext.close: Target page, context or browser has been closed 17 | expect(page.url()).toContain("/login"); 18 | } finally { > 19 | await anonCtx.close(); | ^ 20 | } 21 | }); 22 | at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-declarations.e2e.ts:19:3
[chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login: packages/app/src/e2e/admin-declarations.e2e.ts#L0
1) [chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login Test timeout of 60000ms exceeded.
Test e2e
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test e2e
No files were found with the provided path: packages/app/playwright-report/. No artifacts will be uploaded.
🎭 Playwright Run Summary
8 failed [chromium] › src/e2e/admin-declarations.e2e.ts:9:1 › unauthenticated user visiting /admin/declarations is redirected to /login [chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:30:2 › admin impersonation — read-only guards › form submit is disabled with a read-only tooltip during mimoquage [chromium] › src/e2e/admin-impersonation-read-only.e2e.ts:51:2 › admin impersonation — read-only guards › file upload endpoint returns 403 during impersonation [chromium] › src/e2e/admin-referents.e2e.ts:3:1 › admin user can access /admin/liste-referents ─ [chromium] › src/e2e/admin-referents.e2e.ts:10:1 › unauthenticated user visiting /admin/liste-referents is redirected to /login [chromium] › src/e2e/admin.e2e.ts:3:1 › admin user can access /admin and sees backoffice page ── [chromium] › src/e2e/admin.e2e.ts:13:1 › admin user can access /admin/impersonate and sees impersonate page [chromium] › src/e2e/admin.e2e.ts:22:1 › admin user can access /admin/parametres and sees settings page 3 flaky [chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:68:3 › Campaign deadlines gating › Deadline in the future › panel shows Modifier link and 'Modifiable jusqu'au' text [chromium] › src/e2e/declaration-process-panel.e2e.ts:77:3 › Declaration process panel › Variant: compliance (corrective action, second decl not done) › shows compliance variant with step 1 complete, step 2 current [chromium] › src/e2e/declaration-process-panel.e2e.ts:168:3 › Declaration process panel › Variant: closed (compliance completed + CSE deposited) › shows closed variant with démarche close message 1 did not run 70 passed (21.8m)