Comprehensive test automation framework built with Playwright + BDD pattern for
- Node.js 18+
- npm or yarn
# Clone repository
git clone <repository-url>
cd mezon-automation
# Install dependencies
npm install
# Install browsers
npx playwright install
# Default environment variables (in playwright.config.ts)
BASE_URL=https://dev-mezon.nccsoft.vn
NODE_ENV=development
# Run all BDD tests (recommended)
npm run test
# Run authentication setup
npm run test:setup
# Run specific test groups
npm run test:bdd:login # Login flow tests (no auth required)
npm run test:bdd # All BDD tests
# Run traditional tests (with auth)
npm run test:traditional
# Debug mode
npm run test:debug
npm run test:ui
This project uses multiple reporting mechanisms:
- @estruyf/github-actions-reporter: Automatically generates test summaries in GitHub Actions
- Provides detailed test results with expandable sections
- Shows errors, annotations, and test tags
- Includes links to artifacts
- Standard Playwright HTML reports
- Available at
playwright-report/index.html
# Open Ortoni report
npm run report
# Open Playwright report
npm run report:playwright