This tiny application have a few features including:
- a header with a title
- a footer with a button to add boxes and a separate button to remove boxes
- an area where we can see boxes with numbers in them show up on the screen
- Unfortunately, the developers didn't plan effectively for users clicking the
Remove Box
button if there aren't any boxes present. What tests could we add for this? - Users can only add up to 20 boxes. What tests could we run to ensure this is true?
- The last QA Engineer left a test broken. Could you fix it?
- Ensure you have Google Chrome installed. Otherwise, you'll need to reconfigure Cypress to work with your browser of choice.
- Clone the application
git clone https://github.com/RocketPartners/qa-exercise.git
- Install dependencies
npm install
- Need
npm
? Install from NodeJs.org
- Need
- Run
npm run start
and examine the application - Write tests using Cypress for the application
- See
cypress/integration/spec.js
- Reference the Cypress documentation
- See
- Validate your tests running
npm run cypress
- Email a plaintext file of
spec.js
toqarecruiting@rocketpartners.io
- If you make additional changes to the project, please submit a zip file of the project instead
Contact qarecruiting@rocketpartners.io
if you have any questions.