项目作者: aurelijusla

项目描述 :
Cypress example
高级语言: TypeScript
项目地址: git://github.com/aurelijusla/cypress-example.git
创建时间: 2019-11-11T17:53:48Z
项目社区:https://github.com/aurelijusla/cypress-example

开源协议:

下载


cypress-example

Cypress example task.

How to setup the project:

  1. Node.js (link) and Git (link) should be installed as a prerequisite to run the test suite.
  2. Clone the repo locally to your machine via the following command git clone https://github.com/aurelijusla/cypress-example.git.
  3. Open the project root folder in any code editor (e. g. Visual Studio Code).
  4. In terminal run npm install to automatically install any other project dependencies. Now you should be ready to run the tests!

How to run the tests:

  1. After setting up the project, you will be able to run the tests in two ways: using visual test runner and in headless mode.
  2. To run using visual test runner use npm run cypress:open and wait until Cypress spec GUI is loaded. Then click Run all specs in top right corner.
  3. To run tests in headless mode use npm run cypress:run command.