Fixed e2e tests

pull/1140/head
ioedeveloper 4 years ago
parent cb86b5d502
commit 90eb487b08
  1. 4
      apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts

@ -179,10 +179,8 @@ function runTests (browser: NightwatchBrowser) {
.click('*[data-id="treeViewLitreeViewItemcontracts"]')
.openFile('contracts/3_Ballot.sol')
.clickLaunchIcon('solidityUnitTesting')
.pause(500)
.setValue('*[data-id="uiPathInput"]', '') // clear before input chrome hack
.setValue('*[data-id="uiPathInput"]', 'test')
.pause(2000)
.verify.attributeEquals('*[data-id="uiPathInput"]', 'value', 'tests')
.scrollAndClick('#runTestsTabRunAction')
.waitForElementVisible('*[data-id="testTabSolidityUnitTestsOutputheader"]', 120000)
.waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]', 60000)

Loading…
Cancel
Save