Skip to content

glazar/e2e-testing

Repository files navigation

e2e-testing

End-to-End Testing with Nightwatch and Cucumber

Step 1

Install all dependencies

$ npm install

or shorter

$ yarn

Step 2

Install selenium

$ npm run selenium-install

or shorter

$ yarn selenium-install

Step 3

Try existing scripts

$ npm run nightwatch-chrome
$ npm run nightwatch-firefox
$ npm run nightwatch-chrome-firefox
$ npm run cucumber-chrome
$ npm run cucumber-firefox
$ npm run nightwatch-cucumber-chrome
$ npm run nightwatch-cucumber-firefox
$ npm run nightwatch-cucumber-chrome-firefox

or shorter

$ yarn nightwatch-chrome
$ yarn nightwatch-firefox
$ yarn nightwatch-chrome-firefox
$ yarn cucumber-chrome
$ yarn cucumber-firefox
$ yarn nightwatch-cucumber-chrome
$ yarn nightwatch-cucumber-firefox
$ yarn nightwatch-cucumber-chrome-firefox

Tips

Edit *.conf.js files (look out for commented out lines) to allow for

  • parallel runs of tests/features
  • manual start of selenium server

Manually start selenium (if desired) can be done using

$ npm run selenium

or shorter

$ yarn selenium

About

End-to-End Testing with Nightwatch and Cucumber

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy