Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
6bb29630
Commit
6bb29630
authored
Apr 10, 2017
by
Michael Fröwis
Committed by
chriseth
May 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Static Analysis: fix browser tests
parent
5d2e69c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+1
-1
staticanalysis.js
test-browser/tests/staticanalysis.js
+1
-1
No files found.
README.md
View file @
6bb29630
...
...
@@ -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`
...
...
test-browser/tests/staticanalysis.js
View file @
6bb29630
...
...
@@ -38,7 +38,7 @@ function runTests (browser) {
.
click
(
'.staticanalysisView'
)
.
click
(
'#staticanalysisView button'
)
.
waitForElementPresent
(
'#staticanalysisresult .warning'
,
2000
,
true
,
function
()
{
dom
.
listSelectorContains
([
'Untitled.sol:2:33:
u
se of tx.origin'
,
dom
.
listSelectorContains
([
'Untitled.sol:2:33:
U
se of tx.origin'
,
'Fallback function of contract Untitled.sol:TooMuchGas requires too much gas'
],
'#staticanalysisresult .warning span'
,
browser
,
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment