Fixed test for first time flow load

This commit is contained in:
Antoine Gersant 2017-07-04 01:05:02 -07:00
parent ff70f77108
commit 007a0c7a41

View file

@ -2,8 +2,8 @@ module.exports = {
'Welcome page loads' : function (browser) {
browser
.url('http://localhost:5050')
.waitForElementVisible('body', 1000)
.assert.containsText('body', 'Welcome to Polaris')
.end();
.waitForElementVisible('#initial-setup-page', 1000);
browser.expect.element("#initial-setup-page h2").text.to.contain("Welcome to Polaris");
browser.end();
}
};