Giter Club home page Giter Club logo

nightwatch-cucumber-demo's Introduction

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.

nightwatch-cucumber-demo's People

Contributors

grgur avatar jogjitu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nightwatch-cucumber-demo's Issues

Getting Error: No source folder defined. Check configuration.

Hi,
I am trying to execute the tests and I am getting below error. Could you please help me in resolving this issue.
There was an error while starting the test runner:
Error: No source folder defined. Check configuration. at Function.Runner.readPaths (C:\Users\yventikeela\IdeaProjects\nightwatch-cucumber-demo\node_modules\nightwatch\lib\runner\run.js:192:11) at Runner.runner [as run] (C:\Users\yventikeela\IdeaProjects\nightwatch-cucumber-demo\node_modules\nightwatch\lib\runner\run.js:235:10) at CliRunner.runner (C:\Users\yventikeela\IdeaProjects\nightwatch-cucumber-demo\node_modules\nightwatch\lib\runner\cli\clirunner.js:443:23) at C:\Users\yventikeela\IdeaProjects\nightwatch-cucumber-demo\node_modules\nightwatch\lib\runner\cli\clirunner.js:395:12 at SeleniumServer.onStarted (C:\Users\yventikeela\IdeaProjects\nightwatch-cucumber-demo\node_modules\nightwatch\lib\runner\cli\clirunner.js:354:9) at SeleniumServer.checkProcessStarted (C:\Users\yventikeela\IdeaProjects\nightwatch-cucumber-demo\node_modules\nightwatch\lib\runner\selenium.js:148:10) at SeleniumServer.onStderrData (C:\Users\yventikeela\IdeaProjects\nightwatch-cucumber-demo\node_modules\nightwatch\lib\runner\selenium.js:128:8) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) at Pipe.onread (net.js:607:20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.