This repo contains all the Selenium (automation) test cases for Angular WebApp. We are using test framework.
Drivers are already checked in drivers
directory but in case you need to download the driver you can download it from here.
You need to follow these insturctions to run the automation test case on Mac machine.
On mac you can run into this error: "chromedriver canot be opened beause the developer cannot be verfied"
run the following command and then
xattr -d com.apple.quarantine drivers/mac/chromedriver
Once your environment is setup run the following command on console.
mvn test
It is important to keep the code style consistent hence we have enabled pmd, & Check style. It is also important to run the style check before you push code changes and ensure that it is not complaining about any code changes. You need to run the following command to run the style check.
mvn pmd:check
mvn checkstyle:check