Thursday, July 15, 2021

on

   Run the below command in vs code terminal

npx cypress open


Note : npx is included with npm > v5.2 or can be installed separately.


it might take some time to open the cypress dashboard


if you check the vs code project structure Cypress folder is created there with below directory structure :
1. fixtures
2. integration
3. plugins
4. support



Now we will run first cypress test script using cypress dashboard



Click on todo.spec.js to run the script


Reference : https://docs.cypress.io/guides/getting-started/installing-cypress#npm-install




















0 comments:

Post a Comment

Contact Form for full-stack-sdet