fix not found in e2e

pull/5370/head
Joseph Izang 1 year ago
parent e1ed6772d2
commit 2213d55db2
  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