re-enable Spaces e2e tests (#7207)

This commit is contained in:
Michael Telatynski 2021-11-26 11:45:31 +00:00 committed by GitHub
parent d256af775d
commit 138f6685d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ const toastScenarios = require('./scenarios/toast');
const roomDirectoryScenarios = require('./scenarios/directory'); const roomDirectoryScenarios = require('./scenarios/directory');
const lazyLoadingScenarios = require('./scenarios/lazy-loading'); const lazyLoadingScenarios = require('./scenarios/lazy-loading');
const e2eEncryptionScenarios = require('./scenarios/e2e-encryption'); const e2eEncryptionScenarios = require('./scenarios/e2e-encryption');
const spacesScenarios = require('./scenarios/spaces');
module.exports = async function scenario(createSession, restCreator) { module.exports = async function scenario(createSession, restCreator) {
let firstUser = true; let firstUser = true;
@ -44,8 +45,7 @@ module.exports = async function scenario(createSession, restCreator) {
const charlies = await createRestUsers(restCreator); const charlies = await createRestUsers(restCreator);
await lazyLoadingScenarios(alice, bob, charlies); await lazyLoadingScenarios(alice, bob, charlies);
// do spaces scenarios last as the rest of the tests may get confused by spaces // do spaces scenarios last as the rest of the tests may get confused by spaces
// XXX: disabled for now as fails in CI but succeeds locally await spacesScenarios(alice, bob);
// await spacesScenarios(alice, bob);
}; };
async function createRestUsers(restCreator) { async function createRestUsers(restCreator) {