This is my attempt at completing the Applitools Ultra Fast Grid Hackathon. I have attempted to complete both the modern version utilising Applitools Ultra Fast Grid, as well the longer and far more difficult traditional approach, which utilises TestNG to run the tests across different browsers in parallel, as well as using the hackathonReporter() function provided by Applitools to help print out reports of all the elements.
Official Hackathon instructions can be found here
To be able to run the test suites, you will need the following:
- Open up the
ModernTestsV1
folder/project - Rename the
config.properties.sample
file insrc/main/resources
directory toconfig.properties
- Input your eyes API key for the
eyes.api.key
property
- Open up the
ModernTestsV2
folder/project - Rename the
config.properties.sample
file insrc/main/resources
directory toconfig.properties
- Input your eyes API key for the
eyes.api.key
property
- Open up a Terminal window and change directory in to the ufg-hackathon project root:
cd path/to/ufg-hackathon
- Run the tests:
./gradlew :ModernTestsV1:test
- Run the tests:
./gradlew :ModernTestsV2:test
- Run the tests:
./gradlew :TraditionalTestsV1:test -Psuite
- Run the tests:
./gradlew :TraditionalTestsV2:test -Psuite
To run the traditional tests remotely, you will need your own grid setup, then just edit the environment
property in the src/main/resources/config/general.properties
file to remote
.
Additionally, you can set the url and port properties of your remote grid in the src/main/resources/config/grid.properties
file in the Traditional folders/projects