Explorar el Código

Just sleep here

Girish Ramakrishnan hace 7 años
padre
commit
de535b517d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);