chore(admin): use stats barrel import + apply biome formatting #11646
Annotations
10 errors, 2 warnings, and 1 notice
|
[chromium] › src/e2e/public-referents.e2e.ts:144:2 › public referents search › click-through to detail page reveals contact info:
packages/app/src/e2e/public-referents.e2e.ts#L167
6) [chromium] › src/e2e/public-referents.e2e.ts:144:2 › public referents search › click-through to detail page reveals contact info
Error: browserContext.close: Target page, context or browser has been closed
165 | await expect(page.getByText("e2e-paris-sub@dreets.test")).toBeVisible();
166 | } finally {
> 167 | await anonCtx.close();
| ^
168 | }
169 | });
170 |
at /home/runner/work/egapro/egapro/packages/app/src/e2e/public-referents.e2e.ts:167:4
|
|
[chromium] › src/e2e/public-referents.e2e.ts:144:2 › public referents search › click-through to detail page reveals contact info:
packages/app/src/e2e/public-referents.e2e.ts#L0
6) [chromium] › src/e2e/public-referents.e2e.ts:144:2 › public referents search › click-through to detail page reveals contact info
Test timeout of 60000ms exceeded.
|
|
[chromium] › src/e2e/public-referents.e2e.ts:127:2 › public referents search › list page does not show contact details:
packages/app/src/e2e/public-referents.e2e.ts#L134
5) [chromium] › src/e2e/public-referents.e2e.ts:127:2 › public referents search › list page does not show contact details
Error: expect(locator).toBeVisible() failed
Locator: getByText('E2E Référent Paris')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByText('E2E Référent Paris')
132 | await page.getByLabel("Région").selectOption("11");
133 | await page.getByRole("button", { name: /^rechercher$/i }).click();
> 134 | await expect(page.getByText("E2E Référent Paris")).toBeVisible();
| ^
135 | await expect(page.getByText("e2e-paris@dreets.test")).not.toBeVisible();
136 | await expect(
137 | page.getByText("e2e-paris-sub@dreets.test"),
at /home/runner/work/egapro/egapro/packages/app/src/e2e/public-referents.e2e.ts:134:55
|
|
[chromium] › src/e2e/public-referents.e2e.ts:71:2 › public referents search › landing on /referents without a filter shows the empty-filter hint and no results:
packages/app/src/e2e/public-referents.e2e.ts#L80
4) [chromium] › src/e2e/public-referents.e2e.ts:71:2 › public referents search › landing on /referents without a filter shows the empty-filter hint and no results
Error: expect(locator).toBeVisible() failed
Locator: getByText(/sélectionnez au moins un filtre/i)
Expected: visible
Error: strict mode violation: getByText(/sélectionnez au moins un filtre/i) resolved to 2 elements:
1) <p class="fr-text--lg fr-text-mention--grey fr-my-4w">Sélectionnez au moins un filtre (région ou départ…</p> aka locator('#content').getByText('Sélectionnez au moins un')
2) <p class="fr-text--lg fr-text-mention--grey fr-my-4w">Sélectionnez au moins un filtre (région ou départ…</p> aka getByText('Sélectionnez au moins un').nth(1)
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByText(/sélectionnez au moins un filtre/i)
2 × locator resolved to <p class="fr-text--lg fr-text-mention--grey fr-my-4w">Sélectionnez au moins un filtre (région ou départ…</p>
- unexpected value "hidden"
78 | await expect(
79 | page.getByText(/sélectionnez au moins un filtre/i),
> 80 | ).toBeVisible();
| ^
81 | await expect(page.getByText("E2E Référent Paris")).not.toBeVisible();
82 | } finally {
83 | await anonCtx.close();
at /home/runner/work/egapro/egapro/packages/app/src/e2e/public-referents.e2e.ts:80:6
|
|
[chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:105:3 › Campaign deadlines gating › Deadline in the future › submitted declaration can re-enter a non-recap step:
packages/app/src/e2e/helpers/login.ts#L34
3) [chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:105:3 › Campaign deadlines gating › Deadline in the future › submitted declaration can re-enter a non-recap step
Error: browserContext.clearCookies: Protocol error (Storage.getCookies): Failed to find browser context for id 9282F3960B157CD95F904F8C0C51696F
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:110:4
|
|
[chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:105:3 › Campaign deadlines gating › Deadline in the future › submitted declaration can re-enter a non-recap step:
packages/app/src/e2e/campaign-deadlines-gating.e2e.ts#L0
3) [chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:105:3 › Campaign deadlines gating › Deadline in the future › submitted declaration can re-enter a non-recap step
Test timeout of 90000ms exceeded.
|
|
[chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:73: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
2) [chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:73:3 › Campaign deadlines gating › Deadline in the future › panel shows Modifier link and 'Modifiable jusqu'au' text
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/campaign-deadlines-gating.e2e.ts:78:4
|
|
[chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:73: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
2) [chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:73:3 › Campaign deadlines gating › Deadline in the future › panel shows Modifier link and 'Modifiable jusqu'au' text
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 90000ms exceeded.
|
|
[setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect:
packages/app/src/e2e/helpers/login.ts#L34
1) [setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect ─────────────────────────────
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/auth.setup.ts:6:2
|
|
[setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect:
packages/app/src/e2e/auth.setup.ts#L0
1) [setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect ─────────────────────────────
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
6 flaky
[setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect ──────────────────────────────
[chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:73:3 › Campaign deadlines gating › Deadline in the future › panel shows Modifier link and 'Modifiable jusqu'au' text
[chromium] › src/e2e/campaign-deadlines-gating.e2e.ts:105:3 › Campaign deadlines gating › Deadline in the future › submitted declaration can re-enter a non-recap step
[chromium] › src/e2e/public-referents.e2e.ts:71:2 › public referents search › landing on /referents without a filter shows the empty-filter hint and no results
[chromium] › src/e2e/public-referents.e2e.ts:127:2 › public referents search › list page does not show contact details
[chromium] › src/e2e/public-referents.e2e.ts:144:2 › public referents search › click-through to detail page reveals contact info
90 passed (9.9m)
|