E2E auth test fails - error message mismatch #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
E2E test "invalid credentials rejected" fails in both Chromium and Firefox.
Details
Root Cause
Test expects "Invalid credentials" but auth store shows:
INVALID_CREDENTIALS: 'Invalid email or password. Please try again.'
Proposed Solution
Update test locator from:
text=Invalid credentials
to:
text=Invalid email or password
Test Output
2 failed
[chromium] tests\e2e\auth.spec.js:34:5
[firefox] tests\e2e\auth.spec.js:34:5