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