This repo shows the solution to the Test.bash('Online') AutomationWeek WebUI intermediate challenge:
Create an automated test that reads a message on the admin side of the site.
You’ll need to trigger a message in the first place, login as admin, open that specific message and validate its contents.
The challenge is based on the Restfull Booking Platform
It uses TestMonkeys maui framework for web automation and jEntityTest for objects comparison.
-
Clone the Restfull Booking Platform and follow the instructions from its readme to start the restful booker platform locally
-
Clone this repo
-
run
mvn testto run the testNote: to specify an external url for the restful booker platform add the site parameter, ex:
mvn test -Dsite="https://aw1.automationintesting.online" -
run
mvn cucumber-reporting:generateto generate the cucumber html report attarget/report/cucumber-html-reports