This repo is solving the Visual Challenges that is focused on UI visual automation from the Ministry of Testing. (https://club.ministryoftesting.com/t/take-the-test-bash-2022-visual-challenge-no-longer-accepting-submissions/61211)
The sample website application for this challenge Restful Brooker Platform is kindly provided by Mark Winteringham / Richard Bradshaw.
- Open a browser and navigate to https://automationintesting.online/
- Use Applitools to take a screenshot of the Map section of the homepage and create a test report
- Confirm in the test report that the screenshot is correct
- Rerun to the test to confirm it now passes
- Clone this repository
- Execute 'npm install' in your local folder to install all dependencies (including cypress.io)
- Fill in your API Key for Applitools in the applitools.config.js file
- Execute 'npm test' to start the cypress test runner
- Cypress is opening
- Select E2ETesting
- Choose Browser of choice e.g. Chrome and click on the green button
- Browser with the test is opening
- Select the tests and 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.