wait to receive message from other user
This commit is contained in:
@@ -17,6 +17,8 @@ limitations under the License.
|
||||
|
||||
const signup = require('./tests/signup');
|
||||
const join = require('./tests/join');
|
||||
const sendMessage = require('./tests/send-message');
|
||||
const receiveMessage = require('./tests/receive-message');
|
||||
const createRoom = require('./tests/create-room');
|
||||
const changeRoomSettings = require('./tests/room-settings');
|
||||
const acceptServerNoticesInviteAndConsent = require('./tests/server-notices-consent');
|
||||
@@ -36,4 +38,6 @@ module.exports = async function scenario(createSession) {
|
||||
await createRoom(alice, room);
|
||||
await changeRoomSettings(alice, {directory: true, visibility: "public_no_guests"});
|
||||
await join(bob, room);
|
||||
await sendMessage(bob, "hi Alice!");
|
||||
await receiveMessage(alice, {sender: "bob", body: "hi Alice!"});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user