Extend waitForVisiable timeout for AutoSaveIndicator

This commit is contained in:
Yuya Ochiai 2017-10-26 23:54:01 +09:00
parent 594f1d47ed
commit 81cdedfa44

View file

@ -60,7 +60,7 @@ describe('browser/settings.html', function desc() {
setValue('#teamUrlInput', 'http://example.org').
click('#saveNewServerModal').
waitForVisible('#newServerModal', true).
waitForVisible('.AutoSaveIndicator', true).
waitForVisible('.AutoSaveIndicator', 10000, true). // at least 2500 ms to disappear
isEnabled('#btnClose').then((enabled) => {
enabled.should.equal(true);
});