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