Cypress is a JavaScript end-to-end testing framework that allows you to write tests that run in a browse
Note:
-
clone git repository ( $
git clone https://github.com/amit-003/cypress-cytest.git
) -
$
cd cypress-cytest
-
run command $
npm install
./node_modules/.bin/cypress install
1st method:
If you run $ ./node_modules/.bin/cypress run
, it will show the passed test.
2nd method:
If you run $ ./node_modules/.bin/cypress open
, and click on "sample_spec.js" the Chrome browser will open, where we have the following test passed.