Skip to content

test: add Playwright e2e tests for login page#107

Open
NikGitQA wants to merge 1 commit into
TomMaSS:mainfrom
NikGitQA:main
Open

test: add Playwright e2e tests for login page#107
NikGitQA wants to merge 1 commit into
TomMaSS:mainfrom
NikGitQA:main

Conversation

@NikGitQA
Copy link
Copy Markdown

What this PR does

Adds Playwright e2e tests for the login page as requested in issue #19.

Tests added

  1. Login page loads correctly with PRDforge title.
  2. Invalid credentials shows "Invalid email or password" error.
  3. Empty form submission triggers browser validation.

How to run

cd frontend
npx playwright test tests/login.spec.js

##Results
3/3 tests passing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants