Skip to content

fix(e2e): click DSFR checkbox label instead of hidden input #11660

fix(e2e): click DSFR checkbox label instead of hidden input

fix(e2e): click DSFR checkbox label instead of hidden input #11660

Triggered via push April 23, 2026 14:15
Status Success
Total duration 8m 53s
Artifacts

e2e.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 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
2) [chromium] › src/e2e/public-referents.e2e.ts:144:2 › public referents search › click-through to detail page reveals contact info Error: browserContext.close: Test ended. Browser logs: <launching> /home/runner/.cache/ms-playwright/chromium_headless_shell-1217/chrome-headless-shell-linux64/chrome-headless-shell --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=AvoidUnnecessaryBeforeUnloadCheckSync,BoundaryEventDispatchTracksNodeRemoval,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,Translate,AutoDeElevate,RenderDocument,OptimizationHints --enable-features=CDPScreenshotNewSurface --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --edge-skip-compat-layer-relaunch --enable-automation --disable-infobars --disable-search-engine-choice-screen --disable-sync --enable-unsafe-swiftshader --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-gNRXqj --remote-debugging-pipe --no-startup-window <launched> pid=15075 [pid=15075][err] [0423/142234.094003:WARNING:sandbox/policy/linux/sandbox_linux.cc:405] InitializeSandbox() called with multiple threads in process gpu-process. [pid=15075][err] [0423/142234.761949:INFO:CONSOLE:2] "A preload for 'http://localhost:3000/dsfr/dsfr.module.min.js' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.", source: http://localhost:3000/_next/static/chunks/04h58r-py9u_q.js (2) [pid=15075][err] [0423/142234.809494:INFO:CONSOLE:2] "%cdsfr : version 1.14.4 font-family:Marianne;line-height: 1.5;color:#007c3b", source: http://localhost:3000/dsfr/dsfr.module.min.js (2) [pid=15075][err] [0423/142234.809675:INFO:CONSOLE:2] "%cdsfr : mode set to auto font-family:Marianne;line-height: 1.5;color:#007c3b", source: http://localhost:3000/dsfr/dsfr.module.min.js (2) [pid=15075][err] [0423/142234.816193:INFO:CONSOLE:2] "%cdsfr : start font-family:Marianne;line-height: 1.5;color:#007c3b", source: http://localhost:3000/dsfr/dsfr.module.min.js (2) [pid=15075][err] [0423/142235.657591:INFO:CONSOLE:2] "A preload for 'http://localhost:3000/dsfr/dsfr.module.min.js' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.", source: http://localhost:3000/_next/static/chunks/04h58r-py9u_q.js (2) [pid=15075][err] [0423/142235.703594:INFO:CONSOLE:2] "%cdsfr : version 1.14.4 font-family:Marianne;line-height: 1.5;color:#007c3b", source: http://localhost:3000/dsfr/dsfr.module.min.js (2) [pid=15075][err] [0423/142235.706470:INFO:CONSOLE:2] "%cdsfr : mode set to auto font-family:Marianne;line-height: 1.5;color:#007c3b", source: http://localhost:3000/dsfr/dsfr.module.min.js (2) [pid=15075][err] [0423/142235.716847:INFO:CONSOLE:2] "%cdsfr : start font-family:Marianne;line-height: 1.5;color:#007c3b", source: http://localhost:3000/dsfr/dsfr.module.min.js (2) [pid=15075][err] [0423/142238.779441:INFO:CONSOLE:0] "The resource http://localhost:3000/dsfr/dsfr.module.min.js was preloaded using link preload but not used within a few seconds from the window's l
[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
2) [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
1) [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
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
2 flaky [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 98 passed (6.8m)