Sometime user cannot open Cypress TestRunner due one of below error
Error:
./node_modules/.bin/cypress : cannot be
loaded because running scripts is disabled on this system. For more information, see
about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
Solution:
In Window::
- Open Windows PowerShell
- Run Set-ExecutionPolicy RemoteSigned
- Type Yes
- Now Run run command ./node_modules/.bin/cypress run Test runner will work properly
Happy Testing!!!
Comments
Post a Comment