Skip to content

Merge branch 'alpha' into fix/audit-cleanup-direct-db #11553

Merge branch 'alpha' into fix/audit-cleanup-direct-db

Merge branch 'alpha' into fix/audit-cleanup-direct-db #11553

Triggered via push April 21, 2026 11:45
Status Success
Total duration 10m 6s
Artifacts

e2e.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 2 warnings, and 1 notice
[chromium] › src/e2e/declaration-process-panel.e2e.ts:77:3 › Declaration process panel › Variant: compliance (corrective action: packages/app/src/e2e/declaration-process-panel.e2e.ts#L91
3) [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 Error: expect(locator).toBeVisible() failed Locator: locator('#declaration-process-panel').getByText('Votre déclaration a été transmise') Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for locator('#declaration-process-panel').getByText('Votre déclaration a été transmise') 89 | await expect( 90 | panel.getByText("Votre déclaration a été transmise"), > 91 | ).toBeVisible(); | ^ 92 | await expect( 93 | panel.getByText("Actions correctives et seconde déclaration"), 94 | ).toBeVisible(); at /home/runner/work/egapro/egapro/packages/app/src/e2e/declaration-process-panel.e2e.ts:91:6
[chromium] › src/e2e/declaration-process-panel.e2e.ts:38:3 › Declaration process panel › Variant: start (declaration not submitted) › shows start variant with info alert and step 1 current: packages/app/src/e2e/helpers/login.ts#L34
2) [chromium] › src/e2e/declaration-process-panel.e2e.ts:38:3 › Declaration process panel › Variant: start (declaration not submitted) › shows start variant with info alert and step 1 current Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserContext.clearCookies: Target page, context or browser has been closed at helpers/login.ts:34 32 | } catch (error) { 33 | if (attempt === retries) throw error; > 34 | await page.context().clearCookies(); | ^ 35 | } 36 | } 37 | } at loginWithProConnect (/home/runner/work/egapro/egapro/packages/app/src/e2e/helpers/login.ts:34:25) at /home/runner/work/egapro/egapro/packages/app/src/e2e/declaration-process-panel.e2e.ts:42:4
[chromium] › src/e2e/declaration-process-panel.e2e.ts:38:3 › Declaration process panel › Variant: start (declaration not submitted) › shows start variant with info alert and step 1 current: packages/app/src/e2e/declaration-process-panel.e2e.ts#L0
2) [chromium] › src/e2e/declaration-process-panel.e2e.ts:38:3 › Declaration process panel › Variant: start (declaration not submitted) › shows start variant with info alert and step 1 current Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 90000ms exceeded.
[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: packages/app/src/e2e/helpers/dsfr.ts#L39
1) [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 Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Rémunération' }).first() - locator resolved to <button type="button" class="fr-link" data-fr-opened="true" data-fr-js-modal-button="true" aria-controls="missing-info-modal" data-declaration-type="remuneration">Rémunération</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog open="true" aria-modal="true" id="missing-info-modal" data-fr-js-modal="true" class="fr-modal fr-modal--opened" aria-labelledby="missing-info-modal-title">…</dialog> intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog open="true" aria-modal="true" id="missing-info-modal" data-fr-js-modal="true" class="fr-modal fr-modal--opened" aria-labelledby="missing-info-modal-title">…</dialog> intercepts pointer events - retrying click action - waiting 100ms 144 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <dialog open="true" aria-modal="true" id="missing-info-modal" data-fr-js-modal="true" class="fr-modal fr-modal--opened" aria-labelledby="missing-info-modal-title">…</dialog> intercepts pointer events - retrying click action - waiting 500ms at helpers/dsfr.ts:39 37 | 38 | for (let attempt = 1; attempt <= maxAttempts; attempt++) { > 39 | await button.click(); | ^ 40 | try { 41 | await expect(panel).toHaveAttribute("open", { 42 | timeout: attempt < maxAttempts ? 3_000 : 10_000, at clickAndExpectDialogOpen (/home/runner/work/egapro/egapro/packages/app/src/e2e/helpers/dsfr.ts:39:16) at /home/runner/work/egapro/egapro/packages/app/src/e2e/campaign-deadlines-gating.e2e.ts:84:4
[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: packages/app/src/e2e/campaign-deadlines-gating.e2e.ts#L0
1) [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 Test timeout of 90000ms 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
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:38:3 › Declaration process panel › Variant: start (declaration not submitted) › shows start variant with info alert and step 1 current [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 80 passed (8.1m)