Automation project with Java + Gradle and GitHub Action (CI) doing the remote web test, GithubPages to deploy Allure Serve to see test results, PageObject and PageFactory structure.
Configuration:
- Java JDK +17
Running test:
./gradlew test --tests "WikipediaTest"
Running with different web drivers:
./gradlew test --tests "WikipediaTest" -DBROWSER=chrome
./gradlew test --tests "WikipediaTest" -DBROWSER=firefox
Running headless:
./gradlew test --tests "WikipediaTest" -DBROWSER=chrome -DHEADLESS=true
To build a report, and browse it use the following command:
./gradlew allureServe
Github Pages with Allure report results: ALLURE