/** * Values the test process and the server under test must agree on. * * The session cookie is signed on one side and verified on the other, so a * secret that differs between them fails every signed-in test at once while * looking like an authorisation bug. Defining it here, and importing it from * both the Playwright config and the fixtures, removes the possibility. */ export const E2E_AUTH_SECRET = process.env.E2E_AUTH_SECRET ?? 'e2e-secret-not-used-anywhere-else'; export const E2E_PORT = 3020; export const E2E_BASE_URL = `http://127.0.0.1:${E2E_PORT}`;