https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html
https://javatutorial.net/set-java-home-windows-10
https://maven.apache.org/install.html
4. Using https://chocolatey.org/ you can install google chrome driver as browser for tests:
choco install chromedriver
There will be downloaded latest version of chromedriver, so please be sure your browser is in latest version (74~).
5. In console you will see where your chromedriver will be installed then just add the path to chromedriver.exe
as system path (like Java and Maven before).
git clone [email protected]:remsoon/ng_rch.git
7. If everything goes well, move to the directory where is the repository of our tests, open there command line and put command:
mvn clean verify
Now in the console you will see informations about tests - that tests passed or failed.
After everything goes successfully in the folder of test repository will be new folder called target
. In this folder you should go into /site/serenity/
and open index.html
for example in Google Chrome browser.
Now you can see full report of our two tests that was done with the features, data and stories writes in cucumber.