|
|
|
@ -46,14 +46,17 @@ module.exports = { |
|
|
|
|
.waitForElementPresent('//*[@id="staticanalysisresult"]', 5000) |
|
|
|
|
.useCss() |
|
|
|
|
// Check warning count
|
|
|
|
|
.click('*[data-rr-ui-event-key="remix"]') |
|
|
|
|
.pause() |
|
|
|
|
.waitForElementVisible('span#ssaRemixtab') |
|
|
|
|
.click('span#ssaRemixtab') |
|
|
|
|
.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-rr-ui-event-key="remix"]') |
|
|
|
|
.waitForElementVisible('span#ssaRemixtab') |
|
|
|
|
.click('span#ssaRemixtab') |
|
|
|
|
.assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount', '386') |
|
|
|
|
.click('label[id="headingshowLibWarnings"]') |
|
|
|
|
.pause(1000) |
|
|
|
|