Spaces:
reon314
/
Runtime error

File size: 333 Bytes
3b6afc0
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { FullConfig } from '@playwright/test';
import authenticate from './authenticate';

async function globalSetup(config: FullConfig) {
  const user = {
    username: String(process.env.E2E_USER_EMAIL),
    password: String(process.env.E2E_USER_PASSWORD),
  };

  await authenticate(config, user);
}

export default globalSetup;