From 593b5f9e3191fad4020f49def57acb84cef626c5 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 9 Sep 2019 15:45:30 +0200 Subject: [PATCH] replace click => scrollAndClick --- test-browser/tests/remixd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-browser/tests/remixd.js b/test-browser/tests/remixd.js index 6ef586de3f..7b93666164 100644 --- a/test-browser/tests/remixd.js +++ b/test-browser/tests/remixd.js @@ -60,7 +60,7 @@ function runTests (browser, testData) { .waitForElementVisible('#icon-panel', 2000) .clickLaunchIcon('fileExplorers') .clickLaunchIcon('pluginManager') - .click('#pluginManager article[id="remixPluginManagerListItem_remixd"] button') + .scrollAndClick('#pluginManager article[id="remixPluginManagerListItem_remixd"] button') .waitForElementVisible('#modal-footer-ok', 2000) .pause(2000) .click('#modal-footer-ok') @@ -99,7 +99,7 @@ function runTests (browser, testData) { .waitForElementNotPresent('[data-path="localhost/folder1/contract_' + browserName + '_toremove.sol"]') // check if removed (old) file is not present .click('[data-path="localhost/folder1/renamed_contract_' + browserName + '.sol"]') .clickLaunchIcon('pluginManager') - .click('#pluginManager article[id="remixPluginManagerListItem_remixd"] button') + .scrollAndClick('#pluginManager article[id="remixPluginManagerListItem_remixd"] button') .end() }