NutsNews final CI fix
Section titled “NutsNews final CI fix”This patch fixes two CI/local issues after the home/contact update:
-
Web Offline E2E strict-mode duplicate title failure
- The homepage now renders the same mock article in several category sections.
- The French language assertion also needs
.first()so Playwright does not fail when translated titles appear multiple times.
-
Snyk web dependency install timeout
- The previous dependency bundle accidentally included sandbox/internal registry URLs in
web/package-lock.json. - This patch rewrites those lockfile
resolvedURLs back tohttps://registry.npmjs.org/. - It keeps the dependency fixes for
webpack@5.108.0andbrace-expansion@5.0.7.
- The previous dependency bundle accidentally included sandbox/internal registry URLs in
Changed files:
scripts/web_offline_e2e_regression.mjsweb/package.jsonweb/package-lock.json
Recommended checks:
npm --prefix web install --registry=https://registry.npmjs.org/npm --prefix web run test:e2e:offlinenpm --prefix web run lintnpm --prefix web run buildNote: If local build still shows Sentry 403 while uploading source maps, that is a Sentry auth/token permission issue, not a code compile failure.
