Refactoring, regression testing until Phase 1 end.
This commit is contained in:
@@ -42,7 +42,7 @@ test.describe('Authentication E2E', () => {
|
||||
await page.click('button[type="submit"]');
|
||||
|
||||
// Should show error message
|
||||
await expect(page.locator('text=Invalid credentials')).toBeVisible();
|
||||
await expect(page.locator('text=Invalid email or password')).toBeVisible();
|
||||
|
||||
// Should stay on login page
|
||||
await expect(page).toHaveURL('/login');
|
||||
|
||||
Reference in New Issue
Block a user