|
|
@ -43,14 +43,14 @@ module.exports = { |
|
|
|
.click('*[id="staticAnalysisRunBtn"]') |
|
|
|
.click('*[id="staticAnalysisRunBtn"]') |
|
|
|
.waitForElementPresent('#staticanalysisresult .warning', 5000) |
|
|
|
.waitForElementPresent('#staticanalysisresult .warning', 5000) |
|
|
|
// Check warning count
|
|
|
|
// Check warning count
|
|
|
|
.click('*[data-rb-event-key="basic"]') |
|
|
|
.click('*[data-rb-event-key="remix"]') |
|
|
|
.assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount"]', '1') |
|
|
|
.assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount"]', '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) |
|
|
|
.click('*[data-rb-event-key="basic"]') |
|
|
|
.click('*[data-rb-event-key="remix"]') |
|
|
|
.assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount', '382') |
|
|
|
.assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount', '382') |
|
|
|
.click('label[id="headingshowLibWarnings"]') |
|
|
|
.click('label[id="headingshowLibWarnings"]') |
|
|
|
.pause(1000) |
|
|
|
.pause(1000) |
|
|
|