The task is to use the Base base class and to use the WebDriver object to search for "Active sync" using Selenium
in Google. Then the first link should be clicked. Focus should be on scalability and coding style.
- Open File --> New --> Project from Version control --> Git
- Clone from repository URL https://github.com/olenakhom/freeletics-technical-assignment.git
- Open File --> Project Structure --> Project
- Select java version 1.8 from Project SDK dropdown
- Select 8-Lambdas, annotations from Project language level dropdown
- Open File --> Project Structure --> Modules
- Select 8-Lambdas, annotations Language level on Source tab
Run tests from command line (maven installation is required)
mvn clean -U -DtestngFile=test-suite.xml -DpropFile=application.properties test
or run tests from embedded maven command line from IntelliJ IDEA (Execute Maven Goal button)
clean -U -DtestngFile=test-suite.xml -DpropFile=application.properties test
This is already enough to see the Allure report in one command:
allure serve /home/path/to/project/allure-results
If report generated successfully, report page should be opened automatically in browser:
