fix(admin): split getMultiYearGapTrend global mode to avoid GROUP BY … #11659
Annotations
10 errors, 2 warnings, and 1 notice
|
[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
3) [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
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
3) [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
Test timeout of 90000ms exceeded.
|
|
[setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect:
packages/app/src/e2e/helpers/login.ts#L34
2) [setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect ─────────────────────────────
Error: browserContext.clearCookies: Protocol error (Storage.getCookies): Failed to find browser context for id 62B8027BBBFD52AFF53F8521953983FE
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
2) [setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect ─────────────────────────────
Test timeout of 60000ms exceeded.
|
|
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:211: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#L225
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:211:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.uncheck: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('group', { name: /séries affichées/i }).getByRole('checkbox').first()
- locator resolved to <input checked type="checkbox" id="gap-chart-series-<50" name="gap-chart-series-<50" data-fr-js-checkbox-input="true"/>
- 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
- <label class="fr-label" for="gap-chart-series-<50"><50</label> 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
- <label class="fr-label" for="gap-chart-series-<50"><50</label> intercepts pointer events
- retrying click action
- waiting 100ms
111 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <label class="fr-label" for="gap-chart-series-<50"><50</label> intercepts pointer events
- retrying click action
- waiting 500ms
223 | .first();
224 | await expect(firstCheckbox).toBeChecked();
> 225 | await firstCheckbox.uncheck();
| ^
226 | await expect(firstCheckbox).not.toBeChecked();
227 | });
228 |
at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:225:23
|
|
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:211: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#L0
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:211:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
|
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:211: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#L225
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:211:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.uncheck: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('group', { name: /séries affichées/i }).getByRole('checkbox').first()
- locator resolved to <input checked type="checkbox" id="gap-chart-series-<50" name="gap-chart-series-<50" data-fr-js-checkbox-input="true"/>
- 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
- <label class="fr-label" for="gap-chart-series-<50"><50</label> 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
- <label class="fr-label" for="gap-chart-series-<50"><50</label> intercepts pointer events
- retrying click action
- waiting 100ms
111 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <label class="fr-label" for="gap-chart-series-<50"><50</label> intercepts pointer events
- retrying click action
- waiting 500ms
223 | .first();
224 | await expect(firstCheckbox).toBeChecked();
> 225 | await firstCheckbox.uncheck();
| ^
226 | await expect(firstCheckbox).not.toBeChecked();
227 | });
228 |
at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:225:23
|
|
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:211: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#L0
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:211:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
|
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:211: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#L225
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:211:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart
Error: locator.uncheck: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('group', { name: /séries affichées/i }).getByRole('checkbox').first()
- locator resolved to <input checked type="checkbox" id="gap-chart-series-<50" name="gap-chart-series-<50" data-fr-js-checkbox-input="true"/>
- 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
- <label class="fr-label" for="gap-chart-series-<50"><50</label> 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
- <label class="fr-label" for="gap-chart-series-<50"><50</label> intercepts pointer events
- retrying click action
- waiting 100ms
111 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <label class="fr-label" for="gap-chart-series-<50"><50</label> intercepts pointer events
- retrying click action
- waiting 500ms
223 | .first();
224 | await expect(firstCheckbox).toBeChecked();
> 225 | await firstCheckbox.uncheck();
| ^
226 | await expect(firstCheckbox).not.toBeChecked();
227 | });
228 |
at /home/runner/work/egapro/egapro/packages/app/src/e2e/admin-stats-conformite.e2e.ts:225:23
|
|
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:211: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#L0
1) [chromium] › src/e2e/admin-stats-conformite.e2e.ts:211:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart
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
1 failed
[chromium] › src/e2e/admin-stats-conformite.e2e.ts:211:2 › admin conformity stats (K10 — multi-year gap trend) › a checkbox in the toggle legend hides its series from the chart
5 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/missing-info-modal.e2e.ts:23:3 › Missing info modal › CSE only (phone already set) › opens modal and submits CSE choice
[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:127:2 › public referents search › list page does not show contact details
1 did not run
93 passed (10.6m)
|