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
17c1257d
Commit
17c1257d
authored
Apr 17, 2021
by
tizah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed comments
parent
5fb870d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
staticAnalysis.spec.ts
apps/remix-ide-e2e/src/tests/staticAnalysis.spec.ts
+0
-12
No files found.
apps/remix-ide-e2e/src/tests/staticAnalysis.spec.ts
View file @
17c1257d
...
@@ -40,18 +40,6 @@ function runTests (browser: NightwatchBrowser) {
...
@@ -40,18 +40,6 @@ function runTests (browser: NightwatchBrowser) {
.
pause
(
10000
)
.
pause
(
10000
)
.
testContracts
(
'Untitled.sol'
,
sources
[
0
][
'Untitled.sol'
],
[
'TooMuchGas'
,
'test1'
,
'test2'
])
.
testContracts
(
'Untitled.sol'
,
sources
[
0
][
'Untitled.sol'
],
[
'TooMuchGas'
,
'test1'
,
'test2'
])
.
clickLaunchIcon
(
'solidityStaticAnalysis'
)
.
clickLaunchIcon
(
'solidityStaticAnalysis'
)
//.click('#staticanalysisButton button')
// .waitForElementPresent('#staticanalysisresult .warning', 2000, true, function () {
// listSelectorContains(['Use of tx.origin',
// 'Fallback function of contract TooMuchGas requires too much gas',
// 'TooMuchGas.() : Variables have very similar names "test" and "test1".',
// 'TooMuchGas.() : Variables have very similar names "test" and "test1".'],
// '#staticanalysisresult .warning',
// browser, function () {
// browser.end()
// }
// )
// })
}
}
function
listSelectorContains
(
textsToFind
:
string
[],
selector
:
string
,
browser
:
NightwatchBrowser
,
callback
:
VoidFunction
)
{
function
listSelectorContains
(
textsToFind
:
string
[],
selector
:
string
,
browser
:
NightwatchBrowser
,
callback
:
VoidFunction
)
{
...
...
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