File size: 348 Bytes
9705b6c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import { FullConfig } from '@playwright/test';
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),
};
await authenticate(config, user);
}
export default globalSetup;
|