Commit f22c2d85 authored by serapath's avatar serapath

UPDATE readme & change selenium to not be auto-installed

parent 9fc8c13d
...@@ -41,13 +41,15 @@ open `remix/index.html` in your browser. ...@@ -41,13 +41,15 @@ open `remix/index.html` in your browser.
## TEST: ## TEST:
For unit tests run `npm test` * For unit tests run `npm test`
For local headless browser tests run `npm run test-browser` * For local headless browser tests
* run once to install selenium: `npm run selenium-install`
* every time you want to run local browser tests, run: `npm run test-browser`
## DEVELOPING: ## DEVELOPING:
Run `npm run start_dev` and open `http://10.5.50.211:8080` in your browser. Run `npm run start_dev` and open `http://127.0.0.1:8080` in your browser.
Start developing and see your browser live reload when you save files Start developing and see your browser live reload when you save files
......
...@@ -48,8 +48,9 @@ ...@@ -48,8 +48,9 @@
"nightwatch_remote_parallel": "nightwatch --config nightwatch.js --env ie,safari,chrome,default", "nightwatch_remote_parallel": "nightwatch --config nightwatch.js --env ie,safari,chrome,default",
"nightwatch_remote_safari": "nightwatch --config nightwatch.js --env safari", "nightwatch_remote_safari": "nightwatch --config nightwatch.js --env safari",
"onchange": "onchange build/app.js -- npm run lint", "onchange": "onchange build/app.js -- npm run lint",
"prepublish": "npm run build && selenium-standalone install", "prepublish": "npm run build",
"selenium": "selenium-standalone start", "selenium": "selenium-standalone start",
"selenium-install": "selenium-standalone install",
"serve": "http-server .", "serve": "http-server .",
"start": "./runNode.sh", "start": "./runNode.sh",
"start_dev": "npm-run-all -lpr serve watch onchange", "start_dev": "npm-run-all -lpr serve watch onchange",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment