Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 729 Bytes

README.md

File metadata and controls

27 lines (26 loc) · 729 Bytes

SOFEWARE TESTING

CYPRESS

How to install cypress

  • Download and install Node.js
  • Install yarn package
> npm install --global yarn

If you found error like AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies you can fix follow below

> set-ExecutionPolicy RemoteSigned -Scope CurrentUser

or

> C:\Users\<your account>\AppData\Roaming\npm\yarn.ps1
  • Install cypress locally as a dev dependency for your project.
> cd /your/project/path
> yarn add cypress --dev

Cypress open

> cd /your/project/path
> yarn run cypress open