-
Notifications
You must be signed in to change notification settings - Fork 44
Browser testing
Georgi Marinov edited this page Apr 11, 2016
·
2 revisions
- Install Chromedriver and [JDK] (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) 8+
npm start # run this in one tab
npm run selenium-server # this in another tab
npm run test:functional # and this in another tab
- Add a new
feature
inbrowser/test/functional/features
. Try to use high-level concepts in the language. - Create
step
definitions in thegiven.js
,when.js
andthen.js
files inbrowser/test/functional/steps
-
nodemon --exec npm run test:functional
will re-run your tests as you work on them.