项目作者: imrohitsinghal

项目描述 :
POC for Cypress functional/e2e tests
高级语言: JavaScript
项目地址: git://github.com/imrohitsinghal/cypress-functional-tests.git
创建时间: 2019-10-20T19:59:04Z
项目社区:https://github.com/imrohitsinghal/cypress-functional-tests

开源协议:

下载


Help + Testing

The steps below will take you all the way through Cypress.

If you get stuck, here is more help:

1. Install Cypress

Follow these instructions to install Cypress.

2. Fork this repo

If you want to experiment with running this project in Continuous Integration, you’ll need to fork it first.

After forking this project in Github, follow these commands to run tests locally:

  1. ## clone this repo to a local directory
  2. git clone https://github.com/<your-username>/cypress-functional-tests.git
  3. ## cd into the cloned repo
  4. cd cypress-functional-tests
  5. ## install the node_modules
  6. npm install
  7. ## start the tests
  8. cypress run

3. Run tests locally without npm

If you’re not using Node or npm in your project or you want to try Cypress out quickly, you can always download Cypress directly from our CDN.
Follow these instructions to install Cypress.

  1. ## Clone the repo locally
  2. git clone https://github.com/<your-username>/cypress-functional-tests.git
  3. ## Launch cypress desktop app
  4. ## Open local repo manually or drag-drop it in cypress app
  5. Click "landingpage.js"

4. Add the project to Cypress

Follow these instructions to add the project to Cypress.

5. Run in Continuous Integration

Follow these instructions to run the tests in CI.