fix not found in e2e

pull/3876/head
Joseph Izang 1 year ago
parent 281b9afb17
commit a0c9bd83a3
  1. 5
      apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts

@ -41,7 +41,10 @@ module.exports = {
.pause(10000)
.clickLaunchIcon('solidityStaticAnalysis')
.click('div#staticAnalysisWrapper > *[id="staticAnalysisRunBtn"]')
.waitForElementPresent('div#staticanalysisresult .warning', 5000)
.useXpath()
// .waitForElementPresent('div#staticanalysisresult .warning', 5000)
.waitForElementPresent('//*[@id="staticanalysisresult"]', 5000)
.useCss()
// Check warning count
.click('*[data-rb-event-key="remix"]')
.assert.containsText('span#ssaRemixtab > *[data-id="RemixStaticAnalysisErrorCount"]', '1')

Loading…
Cancel
Save