Girish Ramakrishnan %!s(int64=7) %!d(string=hai) anos
pai
achega
38841de9de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/test.js

+ 1 - 1
test/test.js

@@ -95,7 +95,7 @@ describe('Application life cycle test', function () {
         }).then(function () {
             return browser.sleep(3000);
         }).then(function () {
-            return browser.findElement(by.xpath('//h1[text()="Dashboard"]'))
+            return browser.wait(until.elementLocated(by.xpath('//h1[text()="Dashboard"]')), TEST_TIMEOUT);
         }).then(function () { done(); });
     }