ModusCreateOrg / nightwatch-cucumber-demo

Demo for the Nightwatch-Cucumber blog post

Repository from Github https://github.comModusCreateOrg/nightwatch-cucumber-demoRepository from Github https://github.comModusCreateOrg/nightwatch-cucumber-demo

Intro

This is a simple demo for running tests using Cucumber and Nightwatch. There is also a tutorial available.

Setup & Run

Make sure you have all dependencies installed with npm install. You can then run tests with npm test.

Troubleshooting

If you already have chromedriver installed (via Homebrew, for example) then you may see an error when installing chromedriver with npm install. You can point webdriver.chrome.driver in the config file to your chromedriver path (/usr/local/bin/chromedriver).

Make sure to comment out const chromedriver = require('chromedriver'); if you do this.

About

Demo for the Nightwatch-Cucumber blog post


Languages

Language:JavaScript 83.4%Language:Gherkin 16.6%