End-to-end automation tests for the QADO Medisource home health application using Playwright + TypeScript.
npm install
npx playwright install chromium
cp .env.example .env
# Edit .env with your credentials# Run all tests
npm test
# Run Stage 1 only (Patient Dashboard)
npm run test:stage1
# Run Stage 2 only (Patient Processes)
npm run test:stage2
# Run in headed mode (see the browser)
npm run test:headed
# Run with debug mode
npm run test:debug
# View HTML report
npm run reportsrc/
pages/ # Page Object Models
helpers/ # Utility functions
data/ # Test data generators and state management
fixtures/ # Test fixtures and auth setup
tests/
stage1/ # Patient Dashboard tests (01-12)
stage2/ # Patient Process tests (01-05)
- Add Patient (Pre-admission Form)
- Search Patient
- Schedule Visit
- Complete Visit Task
- Complete OASIS SOC (10 sections)
- MD Orders
- Communication Note
- Adverse Events
- Medication Profile
- Wound Management
- Miscellaneous
- Nursing Care Plan
- Transfer Patient
- Resumption of Care
- Recertify Patient
- Discharge Patient
- Follow-up Patient