feat(e2e): Fix authentication tests and environment handling

This commit is contained in:
Rakshit Tiwari 2025-06-17 23:35:42 +05:30
parent 20100e120b
commit a3bfbf5948
15 changed files with 324 additions and 43 deletions

View file

@ -4,8 +4,8 @@ import authenticate from './authenticate';
async function globalSetup(config: FullConfig) {
const user = {
name: 'test',
email: String(process.env.E2E_USER_EMAIL),
password: String(process.env.E2E_USER_PASSWORD),
email: process.env.E2E_USER_EMAIL || 'playwright-test@librechat.local',
password: process.env.E2E_USER_PASSWORD || 'PlaywrightTest123!',
};
await authenticate(config, user);