Give the login panel a bit longer to appear

This commit is contained in:
Richard van der Hoff 2017-06-15 18:17:00 +01:00
parent 1fcd462660
commit f5b2a92e84
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ describe('loading:', function () {
return httpBackend.flush();
}).then(() => {
// Wait for another trip around the event loop for the UI to update
return q.delay(1);
return q.delay(10);
}).then(() => {
// we expect a single <Login> component following session load
ReactTestUtils.findRenderedComponentWithType(
@ -206,7 +206,7 @@ describe('loading:', function () {
return httpBackend.flush();
}).then(() => {
// Wait for another trip around the event loop for the UI to update
return q.delay(1);
return q.delay(10);
}).then(() => {
return completeLogin(matrixChat);
}).then(() => {