Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sridharbandi/nightmare-mocha-template

Nightmare Mocha Example with Page Object Model
https://github.com/sridharbandi/nightmare-mocha-template

chai mocha nightmarejs nodejs page-object-model

Last synced: 16 days ago
JSON representation

Nightmare Mocha Example with Page Object Model

Awesome Lists containing this project

README

        

## Nightmare Mocha Template with Page Object Model
>[Nightmare](http://www.nightmarejs.org/) is a high-level browser automation library from [Segment](https://segment.com/).

### 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
```javascript
npm install
```
To run the tests issue the below command
```javascript
npm test
```
> Feel free to modify it to your own needs :)