This is a template project for setting up a Playwright framework with Java, Maven and TestNG following the Page Object Model (POM) design pattern. It provides a starting point for automated UI testing using Playwright.
- Clone this repo
- Navigate to the project directory
- Install dependencies
mvn clean install
- Create a config file for your app in src/test/resources/config
To run the tests, use the following Maven command:
mvn testThis project is set up to generate Allure reports for better visualization of test results. After running the tests, you can generate the Allure report using the following command:
allure serve allure-results