diff --git a/e2e/login.spec.ts b/e2e/login.spec.ts index 2f19fecf..d27f8ffc 100644 --- a/e2e/login.spec.ts +++ b/e2e/login.spec.ts @@ -115,9 +115,11 @@ test.describe('Login', () => { await expect(loginButton).toContainText('Submit'); await expect(page.getByText('Name and Password are required.')).not.toBeVisible(); await expect(page.getByText('Connected to bot, however Login failed,')).not.toBeVisible(); + await expect(page.getByText('Invalid Password')).not.toBeVisible(); await Promise.all([loginButton.click(), page.waitForResponse('**/api/v1/token/login')]); await expect(page.getByText('Name and Password are required.')).toBeVisible(); + await expect(page.getByText('Invalid Password')).toBeVisible(); await expect(page.getByText('Connected to bot, however Login failed,')).toBeVisible(); }); });