Skip to content

Latest commit

 

History

History
28 lines (12 loc) · 632 Bytes

README.md

File metadata and controls

28 lines (12 loc) · 632 Bytes

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

Before Running Test install cyress:

  1. clone git repository ( $ https://github.com/amit-003/Hotel-search-test.git)

  2. $ cd Hotel-search-test

  3. ./node_modules/.bin/cypress install

  4. run command $ npm 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 "hotelsearch_spec.js" the Chrome browser will open, where we have the following test passed.