项目作者: sridharbandi

项目描述 :
Nightmare Mocha Example with Page Object Model
高级语言: JavaScript
项目地址: git://github.com/sridharbandi/Nightmare-Mocha-Template.git
创建时间: 2018-06-02T19:35:10Z
项目社区:https://github.com/sridharbandi/Nightmare-Mocha-Template

开源协议:

下载


Nightmare Mocha Template with Page Object Model

Nightmare is a high-level browser automation library from Segment.

How to use?

Create the Page Objects of your Web application under pageobjects package, call those Page Objects in tests under tests package (Sample Page Objects, testcase included in this template)

How to run?

To install the dependencies issue the below commands in project root directory

  1. npm install

To run the tests issue the below command

  1. npm test

Feel free to modify it to your own needs :)