This is a demo project to automate login scenarios of a publicly accessible website using JavaScipt, Cypress, and Mocha. It is a project showing the effectiveness, and ease of use of Cypress to automate web applications.
- JavaScript, Mocha, Cypress
This is part of a project series to demonstrate my capability and effectiveness to use several tools to conduct industry standard automation testing to both mobile and web applications while improving the overall QA process.
- Have an IDE installed on your computer to be able to view the code locally.
- Have a good working knowledge of Git and Github and well as JavaScript.
- Have a Chrome or Firefox browser installed on your computer.
- Open a command line terminal (Git bash preferrably) and navigate to a directory where you would like to save the work folder using cd.
- Clone the repository with git clone https://github.com/wale-prog/orangeHRM_automation.git
- To get the curent working tree, git fetch --all, then checkout to "dev" branch.
- Finally, run the test scripts within the
login.cy.js
file by doing the following:- navigate to the root directory with a command line terminal.
- run
npm install
, this install all the project dependencies. - if you have chrome installed run
npm run cy-chrome
ornpm run cy-firefox
if you have firefox installed to start the test.
- IDE preferrably VScode
- using command line terminal in the root directory install the following:
- node modules with npm install
👤 Olawale Olapetan
- GitHub: @wale-prog
- Twitter: @Wale_Petan
- LinkedIn: walepetan
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Thanks to Microverse
This project is MIT licensed.