mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-09 22:55:12 +00:00
Test: don't unmount MatrixChat
before setup is finished (#25783)
This commit is contained in:
parent
48044f3847
commit
e68583a6e2
1 changed files with 5 additions and 0 deletions
|
@ -592,6 +592,11 @@ describe("loading:", function () {
|
|||
|
||||
return tokenLoginCompletePromise;
|
||||
})
|
||||
.then(() => {
|
||||
return expectAndAwaitSync().catch((e) => {
|
||||
throw new Error("Never got /sync after login: did the client start?");
|
||||
});
|
||||
})
|
||||
.then(() => {
|
||||
// check that the localstorage has been set up in such a way that
|
||||
// the reloaded app can pick up where we leave off.
|
||||
|
|
Loading…
Reference in a new issue