Skip to content

344 — should show Wrong credentials message when login with wrong pw

Description

Verifies that logging in with an unknown email / wrong password combination shows the generic "Wrong credentials" error instead of entering the app.

Preconditions

  • Signed-out browser on the landing page (login form visible).

Steps

  1. Enter a random (non-existent) email into the email field.
  2. Enter wrongpwsfsdfsd into the password field.
  3. Click the "Log in" button. Expected: the user remains on the login page and a "Wrong credentials" error message is shown.
  • Spec: playwright/tests/integration/login.spec.ts (line 125)