tweak order of e2e tests
This commit is contained in:
parent
6ce518cb8f
commit
2509c864e0
2 changed files with 2 additions and 2 deletions
|
@ -41,10 +41,11 @@ module.exports = async function scenario(createSession, restCreator) {
|
|||
await toastScenarios(alice, bob);
|
||||
await roomDirectoryScenarios(alice, bob);
|
||||
await e2eEncryptionScenarios(alice, bob);
|
||||
await spacesScenarios(alice, bob);
|
||||
console.log("create REST users:");
|
||||
const charlies = await createRestUsers(restCreator);
|
||||
await lazyLoadingScenarios(alice, bob, charlies);
|
||||
// do spaces scenarios last as the rest of the tests may get confused by spaces
|
||||
await spacesScenarios(alice, bob);
|
||||
};
|
||||
|
||||
async function createRestUsers(restCreator) {
|
||||
|
|
|
@ -29,7 +29,6 @@ const assert = require('assert');
|
|||
|
||||
module.exports = async function lazyLoadingScenarios(alice, bob, charlies) {
|
||||
console.log(" creating a room for lazy loading member scenarios:");
|
||||
await alice.delay(1000); // let dialogs close and the app settle
|
||||
const charly1to5 = charlies.slice("charly-1..5", 0, 5);
|
||||
const charly6to10 = charlies.slice("charly-6..10", 5);
|
||||
assert(charly1to5.sessions.length, 5);
|
||||
|
|
Loading…
Reference in a new issue