OrangeHRM Login in Automation

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.

Built With

  • JavaScript, Mocha, Cypress

Getting Started

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.

Prerequisites

  • 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.

Setup

  • 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 or npm run cy-firefox if you have firefox installed to start the test.

Install

  • IDE preferrably VScode
  • using command line terminal in the root directory install the following:
    • node modules with npm install

Author

👤 Name Github GitLab LinkedIn
Robertson Akpan @bobb-rob @bobb-rob @RobertsonAkpan

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Thanks to Microverse

📝 License

This project is MIT licensed.