Skip to content

Kaijar2020/OrangeHRM_automation_Cypress-POM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrangeHRM_automation_Cypress-POM

OrangeHRM demo website automation with cypress

#Cypress setup

  1. Install NodeJS [Check Node Version node -v]
  2. Install NPM [Check NPM Version npm -v]
  3. Create a blank project folder
  4. Open the folder through VS Code
  5. Open Terminal and run the following commands
  6. npm init -y [Initialize the project]
  7. npm install cypress -–save-dev [Install Cypress]
  8. npx cypress -v [Check Cypress Version]
  9. npx cypress verify [Verify Cypress Installation]
  10. npx cypress open [Open Cypress]

#How to run project on local

  1. Clone the project-> $git clone git+https://github.com/Kaijar2020/OrangeHRM_automation_Cypress-POM.git
  2. Install node -> npm install
  3. Install Cypress-> npm install cypress
  4. Open Cypress -> npx cypress open.