|
|
|
@ -43,14 +43,14 @@ module.exports = { |
|
|
|
|
.click('*[id="staticAnalysisRunBtn"]') |
|
|
|
|
.waitForElementPresent('#staticanalysisresult .warning', 5000) |
|
|
|
|
// Check warning count
|
|
|
|
|
.click('*[data-rb-event-key="basic"]') |
|
|
|
|
.click('*[data-rb-event-key="remix"]') |
|
|
|
|
.assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount"]', '1') |
|
|
|
|
.verify.elementPresent('input[name="showLibWarnings"]') |
|
|
|
|
.verify.not.elementPresent('input[name="showLibWarnings"]:checked') |
|
|
|
|
.verify.elementPresent('label[id="headingshowLibWarnings"]') |
|
|
|
|
.click('label[id="headingshowLibWarnings"]') |
|
|
|
|
.pause(1000) |
|
|
|
|
.click('*[data-rb-event-key="basic"]') |
|
|
|
|
.click('*[data-rb-event-key="remix"]') |
|
|
|
|
.assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount', '382') |
|
|
|
|
.click('label[id="headingshowLibWarnings"]') |
|
|
|
|
.pause(1000) |
|
|
|
|