Skip to content

Browser testing

Georgi Marinov edited this page Apr 11, 2016 · 2 revisions

Running the browser tests locally

Prerequisites

Running the tests

npm start # run this in one tab
npm run selenium-server # this in another tab
npm run test:functional # and this in another tab

Creating new tests

  1. Add a new feature in browser/test/functional/features. Try to use high-level concepts in the language.
  2. Create step definitions in the given.js, when.js and then.js files in browser/test/functional/steps
  3. nodemon --exec npm run test:functional will re-run your tests as you work on them.