Skip to content

Add E2E tests and CI for login flow#1

Merged
thedorCode-star merged 1 commit into
mainfrom
add-feature
Feb 7, 2026
Merged

Add E2E tests and CI for login flow#1
thedorCode-star merged 1 commit into
mainfrom
add-feature

Conversation

@thedorCode-star

Copy link
Copy Markdown
Owner

Summary

Adds end-to-end UI tests for the login page using Playwright and a GitHub Actions CI workflow.

What's included

E2E tests (Playwright)

  • Login page structure and required fields
  • Valid login flow (redirect to dashboard)
  • Invalid login flow (wrong credentials, empty fields)
  • Locked account handling

CI/CD (GitHub Actions)

  • Workflow runs on pull requests to main/master
  • Installs Node.js 20, dependencies, and Chromium
  • Runs Playwright tests and uploads HTML report and JUnit results as artifacts

Demo app

  • Express server with login and dashboard pages
  • Demo credentials: testuser / Test123! (valid), locked / Locked123! (locked account)

How to run locallyh

npm install
npx playwright install chromium
npm test

@thedorCode-star thedorCode-star merged commit 72830e9 into main Feb 7, 2026
1 check passed
@thedorCode-star thedorCode-star deleted the add-feature branch February 7, 2026 21:38
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.

1 participant