-
Notifications
You must be signed in to change notification settings - Fork 40
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
featureinbrowser/test/functional/features. Try to use high-level concepts in the language. - Create
stepdefinitions in thegiven.js,when.jsandthen.jsfiles inbrowser/test/functional/steps -
nodemon --exec npm run test:functionalwill re-run your tests as you work on them.