Playwright E2E test suite contains a Playwright E2E test suite project for "Povio Assignment - Automated QA" Scope of the project is the frontend "Name of application". Composition and backend services are not tested in this project directly (API testing) but are tested circumstantially.
- Node.js
- VS Code or similar Javascript code editor
- GitHub account
- Download and install Node on your local machine
- Create a local folder and open a terminal from it's location
- Clone git repository:
git clone https://github.com/GoranRosulj/Povio.git
- Open repository in VS Code as a new project
- Install dependencies:
npm install
- Create .env file with valid data. Use .env-example for refference
npx playwright test
- Navigate to the "Actions" tab in the repository
- Select "Manual Test Run" workflow
- Click "Run workflow"
- Choose your preferred browser (chromium, firefox, or webkit)
- Click "Run workflow" to start the tests
- Local test reports are generated in the
playwright-report/
directory - GitHub Actions test reports are automatically saved as artifacts and can be accessed:
- Go to the completed workflow run
- Scroll to the "Artifacts" section
- Download the "playwright-report-{browser}" file