Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sridharbandi/nightmare-mocha-template
- Owner: sridharbandi
- Created: 2018-06-02T19:35:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T10:47:30.000Z (almost 6 years ago)
- Last Synced: 2024-11-14T12:54:22.822Z (3 months ago)
- Topics: chai, mocha, nightmarejs, nodejs, page-object-model
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 :)