Update tests to stablize on local machines

makeSingleInstance test:
  On Windows, the test often fails, so skipped.

Window title test:
  Extend pause duration to wait updating title.
This commit is contained in:
Yuya Ochiai
2016-09-29 19:40:16 +09:00
parent aa986afd05
commit 1a7ff7c88f
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ describe('browser/index.html', function() {
}]
}));
return this.app.restart().then(() => {
return this.app.client.waitUntilWindowLoaded().pause(500);
return this.app.client.waitUntilWindowLoaded().pause(1000);
})
.then(() => {
return this.app.browserWindow.getTitle().should.eventually.equal('Mattermost Desktop testing html');