Skip to content

amit-003/cypress-cytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress is a JavaScript end-to-end testing framework that allows you to write tests that run in a browse

Note:

  1. clone git repository ( $ git clone https://github.com/amit-003/cypress-cytest.git)

  2. $ cd cypress-cytest

  3. run command $ npm install

Before Running Test install cyress:

./node_modules/.bin/cypress install

Running unit tests

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.