fix(seed): refuse to run against a prod / preprod database #11654
Annotations
4 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:
[pid=8892][err] [0423/130103.252852: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=8892][err] [0423/130103.253180: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=8892][err] [0423/130103.261282: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=8892][err] [0423/130104.122393: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=8892][err] [0423/130104.181968: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=8892][err] [0423/130104.182296: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=8892][err] [0423/130104.193210: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=8892][err] [0423/130106.647370: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=8892][err] [0423/130106.668243: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=8892][err] [0423/130106.668593: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=8892][err] [0423/130106.676699: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=8892][err] [0423/130108.378108: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=8892][err] [0423/130108.396505: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=8892][err] [0423/130108.396769: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=8892][err] [0423/130108.407582: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=8892][err] [0423/130110.593770: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=8892][err] [0423/130110.617335: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=8892][err] [0423/130110.617409:INFO:CONSOLE:2] "%cdsfr : mode set to auto font-family:Marianne;line-height:
|
|
[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/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
1) [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
1) [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.
|
|
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/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/public-referents.e2e.ts:144:2 › public referents search › click-through to detail page reveals contact info
94 passed (6.5m)
|