add support for changing the room settings

This commit is contained in:
Bruno Windels
2018-08-08 11:45:26 +02:00
parent 643af2d344
commit a78c095cf6
6 changed files with 83 additions and 21 deletions
+3 -1
View File
@@ -18,6 +18,7 @@ limitations under the License.
const signup = require('./tests/signup');
const join = require('./tests/join');
const createRoom = require('./tests/create-room');
const changeRoomSettings = require('./tests/room-settings');
const acceptServerNoticesInviteAndConsent = require('./tests/server-notices-consent');
module.exports = async function scenario(createSession) {
@@ -33,5 +34,6 @@ module.exports = async function scenario(createSession) {
const bob = await createUser("bob");
const room = 'test';
await createRoom(alice, room);
// await join(bob, room);
await changeRoomSettings(alice, {directory: true, visibility: "public_no_guests"});
await join(bob, room);
}