Some test fixes
This commit is contained in:
@@ -9,8 +9,8 @@ test.describe('I. Core & Authentication', () => {
|
||||
await page.goto('http://localhost:3000/');
|
||||
|
||||
// Log in as admin to create a new user for testing first-time login
|
||||
await page.getByRole('textbox', { name: 'user@gymflow.ai' }).fill('admin@gymflow.ai');
|
||||
await page.locator('input[type="password"]').fill('admin1234');
|
||||
await page.locator('input[type="email"]').fill('admin@gymflow.ai');
|
||||
await page.locator('input[type="password"]').fill('admin123');
|
||||
await page.getByRole('button', { name: 'Login' }).click();
|
||||
|
||||
// Navigate to profile and create a new user with a short password
|
||||
|
||||
Reference in New Issue
Block a user