fix: stabilize e2e test suite and auth configuration

- Standardized E2E base URL to 127.0.0.1 to resolve cookie domain 401 errors
- Updated playwright config to strictly exclude security tests from main shards
- Refactored waitForModal helper to prevent strict mode violations on complex modals
- Fixed leak of crowdsec diagnostics tests into standard chromium project
This commit is contained in:
GitHub Actions
2026-02-06 07:43:26 +00:00
parent 3da7f07eee
commit 11e575d6cc
14 changed files with 138 additions and 30 deletions

View File

@@ -19,7 +19,7 @@ test.describe('Security Headers Enforcement', () => {
test.beforeAll(async () => {
requestContext = await request.newContext({
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:8080',
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://127.0.0.1:8080',
storageState: STORAGE_STATE,
});
});