From 931bf1b56294153db9a7d40705ea34783a8e7f50 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 16 Jul 2020 16:39:12 +0100 Subject: [PATCH] wait foe element visible --- apps/remix-ide/test-browser/tests/pluginManager.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remix-ide/test-browser/tests/pluginManager.test.js b/apps/remix-ide/test-browser/tests/pluginManager.test.js index bfbc050f03..bff7e9a62c 100644 --- a/apps/remix-ide/test-browser/tests/pluginManager.test.js +++ b/apps/remix-ide/test-browser/tests/pluginManager.test.js @@ -101,6 +101,7 @@ module.exports = { .click('*[data-id="pluginManagerComponentPluginSearchButton"]') .waitForElementVisible('*[data-id="modalDialogContainer"]') .click('*[data-id="modalDialogModalBody"]') + .waitForElementVisible('*[data-id="localPluginName"]') .setValue('*[data-id="localPluginName"]', testData.pluginName) .setValue('*[data-id="localPluginDisplayName"]', testData.pluginDisplayName) .setValue('*[data-id="localPluginUrl"]', testData.pluginUrl) @@ -116,6 +117,7 @@ module.exports = { .click('*[data-id="pluginManagerComponentPluginSearchButton"]') .waitForElementVisible('*[data-id="modalDialogContainer"]') .click('*[data-id="modalDialogModalBody"]') + .waitForElementVisible('*[data-id="localPluginName"]') .clearValue('*[data-id="localPluginName"]').setValue('*[data-id="localPluginName"]', testData.pluginName) .clearValue('*[data-id="localPluginDisplayName"]').setValue('*[data-id="localPluginDisplayName"]', testData.pluginDisplayName) .clearValue('*[data-id="localPluginUrl"]').setValue('*[data-id="localPluginUrl"]', testData.pluginUrl)