From 72c769a9052a7fb8f10f09a340c91bf6ceafb6b8 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Mon, 30 Mar 2020 03:36:11 +0000 Subject: [PATCH] Fixed failing test --- test-browser/tests/remixd.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test-browser/tests/remixd.js b/test-browser/tests/remixd.js index 5c12b1bf25..e53fa4f432 100644 --- a/test-browser/tests/remixd.js +++ b/test-browser/tests/remixd.js @@ -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