Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ioedeveloper committed Mar 30, 2020
1 parent e61bba2 commit 4677267
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test-browser/tests/remixd.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,8 @@ function runTests (browser, testData) {
.perform(function (done) {
testImportFromRemixd(browser, () => { done() })
})
.clickLaunchIcon('fileExplorers').click('[data-path="localhost"]') // collapse and expand
.waitForElementNotVisible('[data-path="localhost/folder1"]')
.click('[data-path="localhost"]')
.clickLaunchIcon('fileExplorers')
.waitForElementVisible('[data-path="localhost/folder1"]')
.click('[data-path="localhost/folder1"]')
.waitForElementVisible('[data-path="localhost/folder1/contract1.sol"]')
.waitForElementVisible('[data-path="localhost/folder1/renamed_contract_' + browserName + '.sol"]') // check if renamed file is preset
.waitForElementNotPresent('[data-path="localhost/folder1/contract_' + browserName + '.sol"]') // check if renamed (old) file is not present
Expand Down

0 comments on commit 4677267

Please sign in to comment.