Polishing the cli for browser testing

pull/1/head
Dave Hoover 9 years ago
parent b1e4e018f6
commit b9459f28ac
  1. 4
      README.md
  2. 2
      package.json

@ -52,10 +52,10 @@ To run the Selenium tests via nightwatch serve the app through a local web serve
Then you will need to either:
1. Have a Selenium server running locally on port 4444.
* Run: `./node_modules/nightwatch/bin/nightwatch --env local`
* Run: `npm run browser-test`
1. Or, install and run SauceConnect.
* Run: `sc -u <USERNAME> -k <ACCESS_KEY>` (see .travis.yml for values)
* Run: `./node_modules/nightwatch/bin/nightwatch --env remote`
* Run: `npm run browser-test-sc`
## Usage as a Chrome Extension

@ -4,6 +4,8 @@
"description": "Minimalistic browser-based Solidity IDE",
"scripts": {
"test": "node test/index.js",
"browser-test": "nightwatch --env local",
"browser-test-sc": "nightwatch --env remote",
"build": "mkdir -p build; browserify src/index.js -o build/app.js",
"lint": "semistandard",
"serve": "http-server ."

Loading…
Cancel
Save