Girish Ramakrishnan 7 anni fa
parent
commit
de535b517d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      test/test.js

+ 1 - 1
test/test.js

@@ -119,7 +119,7 @@ describe('Application life cycle test', function () {
         }).then(function () {
             return browser.findElement(by.xpath('//li[@id="nodebb-plugin-beep"]//button[@data-action="toggleActive"]')).click(); // activate the plugin
         }).then(function () {
-           return browser.wait(until.elementLocated(by.xpath('//button[text()="Confirm"]')), TEST_TIMEOUT);
+            return browser.sleep(5000);
         }).then(function () {
             var button = browser.findElement(by.xpath('//button[text()="Confirm"]'));
             return browser.executeScript('arguments[0].scrollIntoView(false)', button);