mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-07 19:18:52 +01:00
feat(e2e): Fix authentication tests and environment handling
This commit is contained in:
parent
20100e120b
commit
a3bfbf5948
15 changed files with 324 additions and 43 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue