fixed the current in test for SUT

pull/1176/head
lianahus 4 years ago committed by Aniket
parent 2851134c7e
commit 1b0a4a5f51
  1. 5
      apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts

@ -152,11 +152,10 @@ module.exports = {
function runTests (browser: NightwatchBrowser) {
browser
.waitForElementPresent('*[data-id="verticalIconsKindfilePanel"]')
.clickLaunchIcon('filePanel')
.click('*[data-id="treeViewLitreeViewItemcontracts"]')
.openFile('contracts/3_Ballot.sol')
.clickLaunchIcon('solidityUnitTesting')
.pause(500)
.setValue('*[data-id="uiPathInput"]', 'tests')
.pause(2000)
.scrollAndClick('#runTestsTabRunAction')
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000)
.waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]', 60000)

Loading…
Cancel
Save