Tweak waiting for animation in test

This commit is contained in:
Yuya Ochiai
2018-05-18 23:34:29 +09:00
parent 33c16b92f7
commit fd801b0f25

View File

@@ -388,7 +388,7 @@ describe('browser/settings.html', function desc() {
it('should close the window after clicking cancel', () => {
return this.app.client.
click('#cancelNewServerModal').
pause(1000). // Animation
waitForExist('#newServerModal', 10000, true).
isExisting('#newServerModal').then((existing) => {
existing.should.be.false;
});