Skip to content

fix(admin): avoid ~/modules/shared barrel in server-only router #11656

fix(admin): avoid ~/modules/shared barrel in server-only router

fix(admin): avoid ~/modules/shared barrel in server-only router #11656

Triggered via push April 23, 2026 13:09
Status Failure
Total duration 13m 31s
Artifacts

e2e.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:225:2 › admin conformity stats (K10 — multi-year gap trend) › accessible alternative table lists segments and years: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L234
4) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:225:2 › admin conformity stats (K10 — multi-year gap trend) › accessible alternative table lists segments and years Error: expect(locator).toBeVisible() failed Locator: getByRole('figure', { name: /courbe d'évolution annuelle de l'écart moyen/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('figure', { name: /courbe d'évolution annuelle de l'écart moyen/i }) 232 | name: /courbe d'évolution annuelle de l'écart moyen/i, 233 | }), > 234 | ).toBeVisible(); | ^ 235 | 236 | // The trend section uses the same <details> pattern as K2 — open the 237 | // second disclosure on the page (the first belongs to the K8 tile if at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:234:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:207:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L214
3) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:207:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('group', { name: /séries affichées/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('group', { name: /séries affichées/i }) 212 | await expect( 213 | page.getByRole("group", { name: /séries affichées/i }), > 214 | ).toBeVisible(); | ^ 215 | 216 | const firstCheckbox = page 217 | .getByRole("group", { name: /séries affichées/i }) at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:214:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:207:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L214
3) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:207:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('group', { name: /séries affichées/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('group', { name: /séries affichées/i }) 212 | await expect( 213 | page.getByRole("group", { name: /séries affichées/i }), > 214 | ).toBeVisible(); | ^ 215 | 216 | const firstCheckbox = page 217 | .getByRole("group", { name: /séries affichées/i }) at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:214:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:207:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L214
3) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:207:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart Error: expect(locator).toBeVisible() failed Locator: getByRole('group', { name: /séries affichées/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('group', { name: /séries affichées/i }) 212 | await expect( 213 | page.getByRole("group", { name: /séries affichées/i }), > 214 | ).toBeVisible(); | ^ 215 | 216 | const firstCheckbox = page 217 | .getByRole("group", { name: /séries affichées/i }) at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:214:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:187:2 › admin conformity stats (K10 — multi-year gap trend) › switching to workforce segmentation swaps the legend series: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L204
2) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:187:2 › admin conformity stats (K10 — multi-year gap trend) › switching to workforce segmentation swaps the legend series Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('group', { name: /séries affichées/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('group', { name: /séries affichées/i }) 202 | await expect( 203 | page.getByRole("group", { name: /séries affichées/i }), > 204 | ).toBeVisible(); | ^ 205 | }); 206 | 207 | test("a checkbox in the toggle legend hides its series from the chart", async ({ at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:204:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:187:2 › admin conformity stats (K10 — multi-year gap trend) › switching to workforce segmentation swaps the legend series: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L204
2) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:187:2 › admin conformity stats (K10 — multi-year gap trend) › switching to workforce segmentation swaps the legend series Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('group', { name: /séries affichées/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('group', { name: /séries affichées/i }) 202 | await expect( 203 | page.getByRole("group", { name: /séries affichées/i }), > 204 | ).toBeVisible(); | ^ 205 | }); 206 | 207 | test("a checkbox in the toggle legend hides its series from the chart", async ({ at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:204:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:187:2 › admin conformity stats (K10 — multi-year gap trend) › switching to workforce segmentation swaps the legend series: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L204
2) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:187:2 › admin conformity stats (K10 — multi-year gap trend) › switching to workforce segmentation swaps the legend series Error: expect(locator).toBeVisible() failed Locator: getByRole('group', { name: /séries affichées/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('group', { name: /séries affichées/i }) 202 | await expect( 203 | page.getByRole("group", { name: /séries affichées/i }), > 204 | ).toBeVisible(); | ^ 205 | }); 206 | 207 | test("a checkbox in the toggle legend hides its series from the chart", async ({ at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:204:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:169:2 › admin conformity stats (K10 — multi-year gap trend) › admin sees the trend section: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L184
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:169:2 › admin conformity stats (K10 — multi-year gap trend) › admin sees the trend section, chart figure and toggle legend Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('figure', { name: /courbe d'évolution annuelle de l'écart moyen/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('figure', { name: /courbe d'évolution annuelle de l'écart moyen/i }) 182 | name: /courbe d'évolution annuelle de l'écart moyen/i, 183 | }), > 184 | ).toBeVisible(); | ^ 185 | }); 186 | 187 | test("switching to workforce segmentation swaps the legend series", async ({ at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:184:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:169:2 › admin conformity stats (K10 — multi-year gap trend) › admin sees the trend section: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L184
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:169:2 › admin conformity stats (K10 — multi-year gap trend) › admin sees the trend section, chart figure and toggle legend Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByRole('figure', { name: /courbe d'évolution annuelle de l'écart moyen/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('figure', { name: /courbe d'évolution annuelle de l'écart moyen/i }) 182 | name: /courbe d'évolution annuelle de l'écart moyen/i, 183 | }), > 184 | ).toBeVisible(); | ^ 185 | }); 186 | 187 | test("switching to workforce segmentation swaps the legend series", async ({ at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:184:5
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:169:2 › admin conformity stats (K10 — multi-year gap trend) › admin sees the trend section: packages/app/src/e2e/admin-stats-conformite.e2e.ts#L184
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:169:2 › admin conformity stats (K10 — multi-year gap trend) › admin sees the trend section, chart figure and toggle legend Error: expect(locator).toBeVisible() failed Locator: getByRole('figure', { name: /courbe d'évolution annuelle de l'écart moyen/i }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByRole('figure', { name: /courbe d'évolution annuelle de l'écart moyen/i }) 182 | name: /courbe d'évolution annuelle de l'écart moyen/i, 183 | }), > 184 | ).toBeVisible(); | ^ 185 | }); 186 | 187 | test("switching to workforce segmentation swaps the legend series", async ({ at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:184:5
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
5 failed [chromium] › src/e2e/admin-stats-conformite.e2e.ts:169:2 › admin conformity stats (K10 — multi-year gap trend) › admin sees the trend section, chart figure and toggle legend [chromium] › src/e2e/admin-stats-conformite.e2e.ts:187:2 › admin conformity stats (K10 — multi-year gap trend) › switching to workforce segmentation swaps the legend series [chromium] › src/e2e/admin-stats-conformite.e2e.ts:207:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart [chromium] › src/e2e/admin-stats-conformite.e2e.ts:225:2 › admin conformity stats (K10 — multi-year gap trend) › accessible alternative table lists segments and years [chromium] › src/e2e/declaration-process-panel.e2e.ts:198:3 › Declaration process panel › Variant: cse with opinions saved but not finalized › keeps CSE step current while finalization has not been done 4 flaky [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:166:3 › Declaration process panel › Variant: cse (joint evaluation file uploaded) › shows cse variant with CSE deposit step [chromium] › src/e2e/public-referents.e2e.ts:100:2 › public referents search › search by region filters the results [chromium] › src/e2e/public-referents.e2e.ts:144:2 › public referents search › click-through to detail page reveals contact info 3 did not run 88 passed (11.3m)