Ingenious Build's Automation Challenge
-
What the project is about SwaglabsE2EProject is an automated project with aim objective is verify the main functionalities work correctly, beside guarantee the application has security validations.
-
Why the language and tools selected The language used is JavaScript and the tool was Cypress and Cucumber that technology was selected by followign reasons:
- Easy to setup
- Excellent documentation
- It is scalable
- Can be integrated in CI/CD
- It is friendly
-
How to set it up
- Verify you have installed npm and node.js with the following commands
npm -v
andnode -v
- Clone the repository
- Execute
npm i
- Verify you have installed npm and node.js with the following commands
-
How to execute it If you want to run by command line execute the
npx cypress run test
command If you want to see the execution in live then execute thenpx cypress open
command -
How to develop for it
- Review the application to automate- (doing manual smoke test)
- Identify the tools that can be used for automating
- Select the tool following the next criteria (Time for automation, knowledge and future improvements)
- After defined the tool, Create the structure
- Finally, I added the test cases for every requirement
-
Futures improvements
- Add different test cases where validating the data, values, formats (Happy and Unhappy path)
- Improve current test cases doing asyn functions