Skip to content

Commit

Permalink
Static Analysis: fix browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Fröwis authored and chriseth committed May 17, 2017
1 parent 5d2e69c commit 6bb2963
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ 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: `npm run browser-test`
- Run: `npm run test-browser`
2. Or, install and run SauceConnect.
- Run: `sc -u <USERNAME> -k <ACCESS_KEY>` (see `.travis.yml` for values)
- Run: `npm run browser-test-sc`
Expand Down
2 changes: 1 addition & 1 deletion test-browser/tests/staticanalysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function runTests (browser) {
.click('.staticanalysisView')
.click('#staticanalysisView button')
.waitForElementPresent('#staticanalysisresult .warning', 2000, true, function () {
dom.listSelectorContains(['Untitled.sol:2:33: use of tx.origin',
dom.listSelectorContains(['Untitled.sol:2:33: Use of tx.origin',
'Fallback function of contract Untitled.sol:TooMuchGas requires too much gas'],
'#staticanalysisresult .warning span',
browser, function () {
Expand Down

0 comments on commit 6bb2963

Please sign in to comment.