From e15cccfb97b7298398622bdeddd5bf579b3b1baf Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 6 Sep 2018 16:44:48 +0100 Subject: spec/scansion: Add scansion scripts used for testing All past, except issue978-multi which fails randomly based on ordering of elements - this is a scansion issue to be resolved. --- spec/scansion/muc_password-trunk.scs | 141 +++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 spec/scansion/muc_password-trunk.scs (limited to 'spec/scansion/muc_password-trunk.scs') diff --git a/spec/scansion/muc_password-trunk.scs b/spec/scansion/muc_password-trunk.scs new file mode 100644 index 00000000..0a343b91 --- /dev/null +++ b/spec/scansion/muc_password-trunk.scs @@ -0,0 +1,141 @@ +[Client] Romeo + jid: user@localhost + password: password + +[Client] Juliet + jid: user2@localhost + password: password + +----- + +Romeo connects + +Romeo sends: + + + + +Romeo receives: + + + + + + + + +Romeo receives: + + +# Submit config form +Romeo sends: + + + + + http://jabber.org/protocol/muc#roomconfig + + + cauldronburn + + + + + +Romeo receives: + + + +# Juliet connects, and tries to join the room (password-protected) +Juliet connects + +Juliet sends: + + + + +Juliet receives: + + + + + + +# Retry with the correct password +Juliet sends: + + + cauldronburn + + + +Juliet receives: + + +Juliet receives: + + +Juliet receives: + + +Romeo receives: + + +# Ok, now Juliet leaves, and Romeo unsets the password + +Juliet sends: + + +Romeo receives: + + +Juliet receives: + + +# Remove room password +Romeo sends: + + + + + http://jabber.org/protocol/muc#roomconfig + + + + + + + +# Config change success +Romeo receives: + + + +# Notification of room configuration update +Romeo receives: + + + + + + +# Juliet tries to join (should succeed) +Juliet sends: + + + + +# Notification of Romeo's presence in the room +Juliet receives: + + +Juliet receives: + + +# Room topic +Juliet receives: + + +Romeo receives: + + -- cgit v1.2.3