Skeleton project for the coding assessment. The tests are coded in Java 11/Selenium/TestNG, and setup as integration tests using Maven Failsafe plugin.
- Install IntelliJ IDEA IDE from here
- Install Apache Maven like
brew install maven
from Terminal - Make sure to have Java 11 installed, can be downloaded from here
- Trust the Browsermob CA certificate
ca-certificate-rsa.cer
to get around bot-protection. Depending on your OS, follow the similar instructions from this article to do so, but use the certificate included in repo. - Open the project in IntelliJ by doing a
File->Open
and selecting thepom.xml
file. Make sure the Maven tab is open on the right-side of the IDE and lists the dependencies(selenium-java, testng, etc.) - Run the tests from the Terminal by running the command from project root:
mvn verify -Dgroups=sample
-> this should run a test which navigates to https://www.boxed.com/ and asserts the page title.
- If you encounter a captcha page when running the above test, please let us know, and we will fix it!