Fix broken tests
Fix broken tests

Promises are now not being resolved within the same tick, so give
another tick for the UI to update after all the HTTP calls have
flushed through. This is fairly terrible, but I can't immediately
see a better way of doing this.

vector-im/vector-web,vector-im/vector-web,martindale/vector,vector-im/riot-web,vector-im/riot-web,martindale/vector,vector-im/riot-web,vector-im/vector-web,vector-im/riot-web,vector-im/vector-web,vector-im/riot-web,vector-im/vector-web,vector-im/riot-web