This repo is solving the Automation Week Challenges that is focused on Web UI automation from the Ministry of Testing. (https://club.ministryoftesting.com/t/automation-week-challenges-web-ui/43665)
The sample website application for this challenge Restful Brooker Platform is kindly provided by Mark Winteringham / Richard Bradshaw.
Create an automated test that completes the contact us form on the homepage, submits it, and asserts that the form was completed successfully.
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.
Create an automated test where a user successfully books a room from the homepage.
You’ll have to click ‘Book this Room’, drag over dates you wish to book, complete the required information and submit the booking.
- Clone this repository
- Execute 'npm install' in your local folder to install all dependencies (including cypress.io)
- Execute 'npm test' to start the cypress test runner
- Cypress is opening
- Select one of the tests and double-click on it
- The test will automatically start and execute the defined assertions and steps
- At the end you can see the results of the executed tests
You can find me on Twitter.
MIT.