|
|
|
@ -40,7 +40,7 @@ module.exports = { |
|
|
|
|
.pause(10000) |
|
|
|
|
.clickLaunchIcon('solidityStaticAnalysis') |
|
|
|
|
.waitForElementPresent('#staticanalysisresult .warning', 5000) |
|
|
|
|
// .assert.containsText('#verticalIconsKindsolidityStaticAnalysis .remixui_status', '1') // Check warning count
|
|
|
|
|
// Check warning count
|
|
|
|
|
.click('*[data-rb-event-key="basic"]') |
|
|
|
|
.assert.containsText('*[data-id="StaticAnalysisErrorCount"]', '1') |
|
|
|
|
.verify.elementPresent('input[name="showLibWarnings"]') |
|
|
|
@ -48,12 +48,10 @@ module.exports = { |
|
|
|
|
.verify.elementPresent('label[id="headingshowLibWarnings"]') |
|
|
|
|
.click('label[id="headingshowLibWarnings"]') |
|
|
|
|
.pause(1000) |
|
|
|
|
// .assert.containsText('#verticalIconsKindsolidityStaticAnalysis .remixui_status', '382')
|
|
|
|
|
.click('*[data-rb-event-key="basic"]') |
|
|
|
|
.assert.containsText('*[data-id="StaticAnalysisErrorCount"]', '382') |
|
|
|
|
.click('label[id="headingshowLibWarnings"]') |
|
|
|
|
.pause(1000) |
|
|
|
|
// .assert.containsText('#verticalIconsKindsolidityStaticAnalysis .remixui_status', '1')
|
|
|
|
|
.assert.containsText('*[data-id="StaticAnalysisErrorCount"]', '1') |
|
|
|
|
.end() |
|
|
|
|
} |
|
|
|
|