Skip to content

Commit

Permalink
Use custom commands for test
Browse files Browse the repository at this point in the history
  • Loading branch information
ioedeveloper committed Oct 20, 2020
1 parent b5b2ec6 commit 8616439
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions apps/remix-ide-e2e/src/tests/debugger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,11 @@ module.exports = {

'Should load more solidity locals array': function (browser: NightwatchBrowser) {
browser.addFile('locals.sol', sources[2]['browser/locals.sol'])
.clickLaunchIcon('udapp')
.waitForElementPresent('*[data-id="deployAndRunClearInstances"]')
.click('*[data-id="deployAndRunClearInstances"]')
.waitForElementPresent('*[title="Deploy - transact (not payable)"]')
.click('*[title="Deploy - transact (not payable)"]')
.createContract('')
.waitForElementPresent('*[data-id="universalDappUiTitleExpander"]')
.click('*[data-id="universalDappUiTitleExpander"]')
.waitForElementVisible('*[data-id="t - transact (not payable)"]')
.click('*[data-id="t - transact (not payable)"]')
.clickFunction('t - transact (not payable)')
.pause(2000)
.debugTransaction(4)
.waitForElementVisible('*[data-id="slider"]')
.click('*[data-id="slider"]')
Expand Down

0 comments on commit 8616439

Please sign in to comment.