docs(suit): add API reference documentation (#3284) #11610
Annotations
8 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
5) [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
5) [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:100:2 › public referents search › search by region filters the results:
packages/app/src/e2e/public-referents.e2e.ts#L108
4) [chromium] › src/e2e/public-referents.e2e.ts:100:2 › public referents search › search by region filters the results
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')
106 | await page.getByRole("button", { name: /^rechercher$/i }).click();
107 |
> 108 | await expect(page.getByText("E2E Référent Paris")).toBeVisible();
| ^
109 | await expect(page.getByText("E2E Référent Hauts-de-Seine")).toBeVisible();
110 | await expect(page.getByText("E2E Référent Rennes")).not.toBeVisible();
111 | } finally {
at /home/runner/work/egapro/egapro/packages/app/src/e2e/public-referents.e2e.ts:108: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
3) [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/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
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
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
5 flaky
[setup] › src/e2e/auth.setup.ts:4:1 › authenticate via ProConnect ──────────────────────────────
[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/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: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
82 passed (9.1m)
|