Skip to content

refactor(audit): direct-DB audit-cleanup CronJob (#3270) #11555

refactor(audit): direct-DB audit-cleanup CronJob (#3270)

refactor(audit): direct-DB audit-cleanup CronJob (#3270) #11555

Triggered via push April 21, 2026 12:28
Status Success
Total duration 10m 17s
Artifacts

e2e.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 2 warnings, and 1 notice
[chromium] › src/e2e/public-referents.e2e.ts:71:2 › public referents search › search by region filters the results: packages/app/src/e2e/public-referents.e2e.ts#L81
3) [chromium] › src/e2e/public-referents.e2e.ts:71:2 › public referents search › search by region filters the results Error: expect(locator).not.toBeVisible() failed Locator: getByText('E2E Référent Rennes') Expected: not visible Received: visible Timeout: 5000ms Call log: - Expect "not toBeVisible" with timeout 5000ms - waiting for getByText('E2E Référent Rennes') 9 × locator resolved to <h2 class="fr-h5 fr-mb-1v">E2E Référent Rennes</h2> - unexpected value "visible" 79 | await expect(page.getByText("E2E Référent Paris")).toBeVisible(); 80 | await expect(page.getByText("E2E Référent Hauts-de-Seine")).toBeVisible(); > 81 | await expect(page.getByText("E2E Référent Rennes")).not.toBeVisible(); | ^ 82 | } finally { 83 | await anonCtx.close(); 84 | } at /home/runner/work/egapro/egapro/packages/app/src/e2e/public-referents.e2e.ts:81:60
[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
2) [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/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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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 74 × 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 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/login.ts#L34
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: 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/campaign-deadlines-gating.e2e.ts:72: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: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/public-referents.e2e.ts:71:2 › public referents search › search by region filters the results 80 passed (8.1m)