This repository contains the challenge for QA automation engineers.
Note: Please don't fork this repository, or create a pull request against it. Otherwise other applicants may take inspiration from it. Once the coding challenge is completed, you can submit it via this Google form.
For the Cypress exercise, you will help us testing the awesome OWASP Juice shop. You will have to test 3 different scenarios:
- Login with your user, add 1 item to the basket, click on checkout, add a new address, fill in the address form, click on submit.
- Exact same flow, but this time, add two items to your basket, click on checkout, add a new address, fill in the address form, click on submit.
- Click on the search button, search for apple, verify that 2 apple products show up and that banana product doesn't show up
Please make sure your tests are running properly and we can easily test your work.
Great, now that you're done with Cypress, we would also want to ensure our APIs are doing their jobs correctly. Still within the awesome OWASP Juice shop, find the APIs endpoints and test the following scenarios:
- Sign in the user, add 1 item to the basket, verify that 1 item is in the basket
- Same as previous scenario but add 2 items instead of 1 to the basket
- Same as previous scenario but delete 1 item and validate that only 1 item remains in the basket
You can use the tool of your choice (Jest, Postman etc...), just make sure it is easy for us to run your tests.
Cypress | Points |
---|---|
Clean / clear code | 0-5 |
Project structure | 0-3 |
Comments | 0-2 |
Linter / Prettifier | 0-1 |
Integration | Points |
---|---|
Project Structure | 0-3 |
General | Points |
---|---|
README.md | 0-2 |
Commit messages | 0-2 |