chore: save WIP before workstation switch
This commit is contained in:
@@ -112,6 +112,9 @@ async function createTestUsers(config: FullConfig) {
|
||||
await context.storageState({ path: authFile });
|
||||
console.log(`Created and authenticated test user: ${testEmail}`);
|
||||
|
||||
// Clear session so admin registration doesn't get redirected
|
||||
await context.clearCookies();
|
||||
|
||||
const adminTimestamp = timestamp + 1;
|
||||
const adminEmail = `setup-admin-${adminTimestamp}@example.com`;
|
||||
const adminPassword = 'AdminPassword123!';
|
||||
|
||||
Reference in New Issue
Block a user