Show NewServerModal when no servers exist in SettingsPage

This commit is contained in:
Yuya Ochiai
2017-02-13 20:23:02 +09:00
parent c76797e68e
commit 9d2efeabdd
3 changed files with 24 additions and 1 deletions

View File

@@ -68,7 +68,8 @@ describe('application', function desc() {
return this.app.start().then(() => {
return this.app.client.
waitUntilWindowLoaded().
getUrl().should.eventually.match(/\/settings.html$/);
getUrl().should.eventually.match(/\/settings.html$/).
isExisting('#newServerModal').should.eventually.equal(true);
});
});