diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-03 15:19:37 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-08 13:56:19 +0300 |
commit | 7673f4f9316c16b79436125fbd39c7887fa3c34e (patch) | |
tree | 9bac441600639d12ccf2ec6b5ae4af96bd60ffe3 /tests | |
parent | 79d52e679187a9bb26965855f153815e763666b0 (diff) |
Move conversation creation to v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
49 files changed, 481 insertions, 481 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index f77a59971..3a2bb2748 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -487,19 +487,19 @@ class FeatureContext implements Context, SnippetAcceptingContext { } /** - * @Then /^user "([^"]*)" creates room "([^"]*)"(?: \((v(1|2|3))\))?$/ + * @Then /^user "([^"]*)" creates room "([^"]*)" \((v4)\)$/ * * @param string $user * @param string $identifier * @param string $apiVersion * @param TableNode|null $formData */ - public function userCreatesRoom($user, $identifier, $apiVersion = 'v1', TableNode $formData = null) { + public function userCreatesRoom(string $user, string $identifier, string $apiVersion, TableNode $formData = null) { $this->userCreatesRoomWith($user, $identifier, 201, $apiVersion, $formData); } /** - * @Then /^user "([^"]*)" creates room "([^"]*)" with (\d+)(?: \((v(1|2|3))\))?$/ + * @Then /^user "([^"]*)" creates room "([^"]*)" with (\d+) \((v4)\)$/ * * @param string $user * @param string $identifier @@ -507,7 +507,7 @@ class FeatureContext implements Context, SnippetAcceptingContext { * @param string $apiVersion * @param TableNode|null $formData */ - public function userCreatesRoomWith($user, $identifier, $statusCode, $apiVersion = 'v1', TableNode $formData = null) { + public function userCreatesRoomWith(string $user, string $identifier, int $statusCode, string $apiVersion = 'v1', TableNode $formData = null) { $this->setCurrentUser($user); $this->sendRequest('POST', '/apps/spreed/api/' . $apiVersion . '/room', $formData); $this->assertStatusCode($this->response, $statusCode); @@ -521,14 +521,14 @@ class FeatureContext implements Context, SnippetAcceptingContext { } /** - * @Then /^user "([^"]*)" tries to create room with (\d+)(?: \((v(1|2|3))\))?$/ + * @Then /^user "([^"]*)" tries to create room with (\d+) \((v4)\)$/ * * @param string $user * @param int $statusCode * @param string $apiVersion * @param TableNode|null $formData */ - public function userTriesToCreateRoom($user, $statusCode, $apiVersion = 'v1', TableNode $formData = null) { + public function userTriesToCreateRoom(string $user, int $statusCode, string $apiVersion = 'v1', TableNode $formData = null) { $this->setCurrentUser($user); $this->sendRequest('POST', '/apps/spreed/api/' . $apiVersion . '/room', $formData); $this->assertStatusCode($this->response, $statusCode); diff --git a/tests/integration/features/callapi/group-read-only.feature b/tests/integration/features/callapi/group-read-only.feature index c699303c0..1889d6452 100644 --- a/tests/integration/features/callapi/group-read-only.feature +++ b/tests/integration/features/callapi/group-read-only.feature @@ -7,7 +7,7 @@ Feature: callapi/group-read-only And user "participant2" is member of group "attendees1" Scenario: User1 invites group attendees1 to a group room and they cant join the call in a locked conversation - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 2 | | invite | attendees1 | Then user "participant1" is participant of room "room" diff --git a/tests/integration/features/callapi/group.feature b/tests/integration/features/callapi/group.feature index ed46e4d87..bc9b365e4 100644 --- a/tests/integration/features/callapi/group.feature +++ b/tests/integration/features/callapi/group.feature @@ -12,7 +12,7 @@ Feature: callapi/group Then user "participant3" is participant of the following rooms Scenario: User1 invites group attendees1 to a group room and they can do everything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 2 | | invite | attendees1 | Then user "participant1" is participant of room "room" @@ -52,7 +52,7 @@ Feature: callapi/group And user "participant2" sees 0 peers in call "room" with 200 Scenario: User1 invites group attendees1 to a group room and user3 can't do anything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 2 | | invite | attendees1 | Then user "participant1" is participant of room "room" @@ -81,7 +81,7 @@ Feature: callapi/group And user "participant3" sees 0 peers in call "room" with 404 Scenario: User1 invites group attendees1 to a group room and guest can't do anything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 2 | | invite | attendees1 | Then user "participant1" is participant of room "room" diff --git a/tests/integration/features/callapi/one-to-one.feature b/tests/integration/features/callapi/one-to-one.feature index 9332c020a..6bb161a54 100644 --- a/tests/integration/features/callapi/one-to-one.feature +++ b/tests/integration/features/callapi/one-to-one.feature @@ -10,7 +10,7 @@ Feature: callapi/one-to-one Then user "participant3" is participant of the following rooms Scenario: User1 invites user2 to a one2one room and they can do everything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" is participant of room "room" @@ -43,7 +43,7 @@ Feature: callapi/one-to-one And user "participant2" sees 0 peers in call "room" with 200 Scenario: User1 invites user2 to a one2one room and user3 can't do anything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" is participant of room "room" @@ -75,7 +75,7 @@ Feature: callapi/one-to-one And user "participant3" sees 0 peers in call "room" with 404 Scenario: User1 invites user2 to a one2one room and guest can't do anything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" is participant of room "room" @@ -106,7 +106,7 @@ Feature: callapi/one-to-one And user "guest" sees 0 peers in call "room" with 404 Scenario: Sending a message into a one-to-one chat re-adds the participants - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room" diff --git a/tests/integration/features/callapi/password.feature b/tests/integration/features/callapi/password.feature index 9f6dfe65e..1be3df5f9 100644 --- a/tests/integration/features/callapi/password.feature +++ b/tests/integration/features/callapi/password.feature @@ -10,7 +10,7 @@ Feature: callapi/public Then user "participant3" is participant of the following rooms Scenario: User1 invites user2 to a public room and they can do everything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "room" with 200 @@ -39,7 +39,7 @@ Feature: callapi/public And user "participant2" sees 0 peers in call "room" with 200 Scenario: User1 invites user2 to a public room and user3 can not join without password - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "room" with 200 @@ -73,7 +73,7 @@ Feature: callapi/public And user "participant3" sees 0 peers in call "room" with 404 Scenario: User1 invites user2 to a public room and user3 can join with password - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "room" with 200 @@ -108,7 +108,7 @@ Feature: callapi/public And user "participant3" sees 0 peers in call "room" with 404 Scenario: User1 invites user2 to a public room and guest can not join without password - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "room" with 200 @@ -135,7 +135,7 @@ Feature: callapi/public And user "guest" sees 0 peers in call "room" with 404 Scenario: User1 invites user2 to a public room and guest can join with password - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "room" with 200 diff --git a/tests/integration/features/callapi/public-read-only.feature b/tests/integration/features/callapi/public-read-only.feature index ac66dfc72..63802d6c7 100644 --- a/tests/integration/features/callapi/public-read-only.feature +++ b/tests/integration/features/callapi/public-read-only.feature @@ -5,7 +5,7 @@ Feature: callapi/public-read-only And user "participant3" exists Scenario: User1 invites user2 to a public room and they cant join the call in a locked conversation - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -27,7 +27,7 @@ Feature: callapi/public-read-only And user "participant2" sees 2 peers in call "room" with 200 Scenario: User1 invites user2 to a public room and user3 cant join the call in a locked conversation - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -47,7 +47,7 @@ Feature: callapi/public-read-only And user "participant3" sees 2 peers in call "room" with 200 Scenario: User1 invites user2 to a public room and guest cant join the call in a locked conversation - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 diff --git a/tests/integration/features/callapi/public.feature b/tests/integration/features/callapi/public.feature index 8036678de..52e633767 100644 --- a/tests/integration/features/callapi/public.feature +++ b/tests/integration/features/callapi/public.feature @@ -10,7 +10,7 @@ Feature: callapi/public Then user "participant3" is participant of the following rooms Scenario: User1 invites user2 to a public room and they can do everything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -44,7 +44,7 @@ Feature: callapi/public And user "participant2" sees 0 peers in call "room" with 200 Scenario: User1 invites user2 to a public room and user3 can do everything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -77,7 +77,7 @@ Feature: callapi/public And user "participant3" sees 0 peers in call "room" with 404 Scenario: User1 invites user2 to a public room and guest can do everything - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 diff --git a/tests/integration/features/chat/commands.feature b/tests/integration/features/chat/commands.feature index deca74664..c062c6b7c 100644 --- a/tests/integration/features/chat/commands.feature +++ b/tests/integration/features/chat/commands.feature @@ -4,7 +4,7 @@ Feature: chat/commands Given user "participant2" exists Scenario: user can see own help command and others can not - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -15,7 +15,7 @@ Feature: chat/commands And user "participant2" sees the following messages in room "group room" with 200 Scenario: user can see own help command along with regular messages and others can not - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -33,7 +33,7 @@ Feature: chat/commands | group room | users | participant1 | participant1-displayname | Message 1 | [] | Scenario: double slash escapes a command for everyone - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 diff --git a/tests/integration/features/chat/delete.feature b/tests/integration/features/chat/delete.feature index 189a89ff0..73f99121e 100644 --- a/tests/integration/features/chat/delete.feature +++ b/tests/integration/features/chat/delete.feature @@ -4,7 +4,7 @@ Feature: chat/reply Given user "participant2" exists Scenario: moderator deletes their own message - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds user "participant2" to room "group room" with 200 @@ -26,7 +26,7 @@ Feature: chat/reply Then user "participant2" received a system messages in room "group room" to delete "Message 1" Scenario: user deletes their own message - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds user "participant2" to room "group room" with 200 @@ -48,7 +48,7 @@ Feature: chat/reply Then user "participant2" received a system messages in room "group room" to delete "Message 1" Scenario: moderator deletes other user message - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds user "participant2" to room "group room" with 200 @@ -67,7 +67,7 @@ Feature: chat/reply Then user "participant2" received a system messages in room "group room" to delete "Message 1" Scenario: moderator deletes their own message which got replies - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds user "participant2" to room "group room" with 200 @@ -94,7 +94,7 @@ Feature: chat/reply Then user "participant2" received a system messages in room "group room" to delete "Message 1" Scenario: user deletes their own message which got replies - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds user "participant2" to room "group room" with 200 @@ -121,7 +121,7 @@ Feature: chat/reply Then user "participant2" received a system messages in room "group room" to delete "Message 1" Scenario: moderator deletes other user message - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds user "participant2" to room "group room" with 200 diff --git a/tests/integration/features/chat/group-read-only.feature b/tests/integration/features/chat/group-read-only.feature index c462665db..10e4af534 100644 --- a/tests/integration/features/chat/group-read-only.feature +++ b/tests/integration/features/chat/group-read-only.feature @@ -7,7 +7,7 @@ Feature: chat/group-read-only And user "participant2" is member of group "attendees1" Scenario: owner can send and receive chat messages to and from group room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | When user "participant1" sends message "Message 1" to room "group room" with 201 @@ -27,7 +27,7 @@ Feature: chat/group-read-only | group room | users | participant1 | participant1-displayname | Message 1 | [] | Scenario: invited user can send and receive chat messages to and from group room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | When user "participant2" sends message "Message 1" to room "group room" with 201 diff --git a/tests/integration/features/chat/group.feature b/tests/integration/features/chat/group.feature index 04517174c..fd79229f9 100644 --- a/tests/integration/features/chat/group.feature +++ b/tests/integration/features/chat/group.feature @@ -7,7 +7,7 @@ Feature: chat/group And user "participant2" is member of group "attendees1" Scenario: owner can send and receive chat messages to and from group room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | When user "participant1" sends message "Message 1" to room "group room" with 201 @@ -16,7 +16,7 @@ Feature: chat/group | group room | users | participant1 | participant1-displayname | Message 1 | [] | Scenario: invited user can send and receive chat messages to and from group room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | When user "participant2" sends message "Message 1" to room "group room" with 201 @@ -25,7 +25,7 @@ Feature: chat/group | group room | users | participant2 | participant2-displayname | Message 1 | [] | Scenario: not invited user can not send nor receive chat messages to nor from group room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | When user "participant3" sends message "Message 1" to room "group room" with 404 @@ -33,7 +33,7 @@ Feature: chat/group Then user "participant3" sees the following messages in room "group room" with 404 Scenario: guest can not send nor receive chat messages to nor from group room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "guest" joins call "group room" with 404 @@ -42,7 +42,7 @@ Feature: chat/group Then user "guest" sees the following messages in room "group room" with 404 Scenario: everyone in a group room can receive messages from everyone in that room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | When user "participant1" sends message "Message 1" to room "group room" with 201 diff --git a/tests/integration/features/chat/mentions.feature b/tests/integration/features/chat/mentions.feature index abbe05936..7208349b9 100644 --- a/tests/integration/features/chat/mentions.feature +++ b/tests/integration/features/chat/mentions.feature @@ -7,7 +7,7 @@ Feature: chat/mentions Given user "participant4" exists Scenario: get mentions in a one-to-one room - When user "participant1" creates room "one-to-one room" + When user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" gets the following candidate mentions in room "one-to-one room" for "" with 200 @@ -18,7 +18,7 @@ Feature: chat/mentions | participant1 | participant1-displayname | users | Scenario: get matched mentions in a one-to-one room - When user "participant1" creates room "one-to-one room" + When user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" gets the following candidate mentions in room "one-to-one room" for "part" with 200 @@ -29,14 +29,14 @@ Feature: chat/mentions | participant1 | participant1-displayname | users | Scenario: get unmatched mentions in a one-to-one room - When user "participant1" creates room "one-to-one room" + When user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" gets the following candidate mentions in room "one-to-one room" for "unknown" with 200 And user "participant2" gets the following candidate mentions in room "one-to-one room" for "unknown" with 200 Scenario: get mentions in a one-to-one room with a participant not in the room - When user "participant1" creates room "one-to-one room" + When user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | Then user "participant3" gets the following candidate mentions in room "one-to-one room" for "" with 404 @@ -44,7 +44,7 @@ Feature: chat/mentions Scenario: get mentions in a group room with no other participant - When user "participant1" creates room "group room" + When user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | Then user "participant1" gets the following candidate mentions in room "group room" for "" with 200 @@ -52,7 +52,7 @@ Feature: chat/mentions | all | room | calls | Scenario: get mentions in a group room - When user "participant1" creates room "group room" + When user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -74,7 +74,7 @@ Feature: chat/mentions | participant2 | participant2-displayname | users | Scenario: get matched mentions in a group room - When user "participant1" creates room "group room" + When user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -93,7 +93,7 @@ Feature: chat/mentions | participant2 | participant2-displayname | users | Scenario: get unmatched mentions in a group room - When user "participant1" creates room "group room" + When user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -103,7 +103,7 @@ Feature: chat/mentions And user "participant3" gets the following candidate mentions in room "group room" for "unknown" with 200 Scenario: get mentions in a group room with a participant not in the room - When user "participant1" creates room "group room" + When user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -113,7 +113,7 @@ Feature: chat/mentions Scenario: get mentions in a public room with no other participant - When user "participant1" creates room "public room" + When user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | Then user "participant1" gets the following candidate mentions in room "public room" for "" with 200 @@ -121,7 +121,7 @@ Feature: chat/mentions | all | room | calls | Scenario: get mentions in a public room - When user "participant1" creates room "public room" + When user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 @@ -153,7 +153,7 @@ Feature: chat/mentions | participant3 | participant3-displayname | users | Scenario: get matched mentions in a public room - When user "participant1" creates room "public room" + When user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 @@ -178,7 +178,7 @@ Feature: chat/mentions | participant3 | participant3-displayname | users | Scenario: get matched guest mentions in a public room - When user "participant1" creates room "public room" + When user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 @@ -205,7 +205,7 @@ Feature: chat/mentions | GUEST_ID | Guest | guests | Scenario: get matched named guest mentions in a public room - When user "participant1" creates room "public room" + When user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 @@ -229,7 +229,7 @@ Feature: chat/mentions | GUEST_ID | FooBar | guests | Scenario: get unmatched mentions in a public room - When user "participant1" creates room "public room" + When user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 @@ -241,7 +241,7 @@ Feature: chat/mentions And user "guest" gets the following candidate mentions in room "public room" for "unknown" with 200 Scenario: get mentions in a public room with a participant not in the room - When user "participant1" creates room "public room" + When user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 diff --git a/tests/integration/features/chat/one-to-one.feature b/tests/integration/features/chat/one-to-one.feature index 38ea3110a..aa2da66ee 100644 --- a/tests/integration/features/chat/one-to-one.feature +++ b/tests/integration/features/chat/one-to-one.feature @@ -5,7 +5,7 @@ Feature: chat/one-to-one Given user "participant3" exists Scenario: owner can send and receive chat messages to and from one-to-one room - Given user "participant1" creates room "one-to-one room" + Given user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | When user "participant1" sends message "Message 1" to room "one-to-one room" with 201 @@ -14,7 +14,7 @@ Feature: chat/one-to-one | one-to-one room | users | participant1 | participant1-displayname | Message 1 | [] | Scenario: invited user can send and receive chat messages to and from one-to-one room - Given user "participant1" creates room "one-to-one room" + Given user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | When user "participant2" sends message "Message 1" to room "one-to-one room" with 201 @@ -23,7 +23,7 @@ Feature: chat/one-to-one | one-to-one room | users | participant2 | participant2-displayname | Message 1 | [] | Scenario: not invited user can not send nor receive chat messages to nor from one-to-one room - Given user "participant1" creates room "one-to-one room" + Given user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | When user "participant3" sends message "Message 1" to room "one-to-one room" with 404 @@ -31,7 +31,7 @@ Feature: chat/one-to-one Then user "participant3" sees the following messages in room "one-to-one room" with 404 Scenario: guest can not send nor receive chat messages to nor from one-to-one room - Given user "participant1" creates room "one-to-one room" + Given user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | And user "guest" joins call "one-to-one room" with 404 @@ -40,7 +40,7 @@ Feature: chat/one-to-one Then user "guest" sees the following messages in room "one-to-one room" with 404 Scenario: everyone in a one-to-one room can receive messages from everyone in that room - Given user "participant1" creates room "one-to-one room" + Given user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | When user "participant1" sends message "Message 1" to room "one-to-one room" with 201 @@ -55,7 +55,7 @@ Feature: chat/one-to-one | one-to-one room | users | participant1 | participant1-displayname | Message 1 | [] | Scenario: Sending a message into a one-to-one chat re-adds the participants - Given user "participant1" creates room "one-to-one room" + Given user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "one-to-one room" diff --git a/tests/integration/features/chat/password.feature b/tests/integration/features/chat/password.feature index 83a2f3e90..13f6fbd91 100644 --- a/tests/integration/features/chat/password.feature +++ b/tests/integration/features/chat/password.feature @@ -5,7 +5,7 @@ Feature: chat/password Given user "participant3" exists Scenario: owner can send and receive chat messages to and from public password protected room - Given user "participant1" creates room "public password protected room" + Given user "participant1" creates room "public password protected room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "public password protected room" with 200 @@ -15,7 +15,7 @@ Feature: chat/password | public password protected room | users | participant1 | participant1-displayname | Message 1 | [] | Scenario: invited user can send and receive chat messages to and from public password protected room - Given user "participant1" creates room "public password protected room" + Given user "participant1" creates room "public password protected room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "public password protected room" with 200 @@ -26,7 +26,7 @@ Feature: chat/password | public password protected room | users | participant2 | participant2-displayname | Message 1 | [] | Scenario: not invited but joined with password user can send and receive chat messages to and from public password protected room - Given user "participant1" creates room "public password protected room" + Given user "participant1" creates room "public password protected room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "public password protected room" with 200 @@ -38,7 +38,7 @@ Feature: chat/password | public password protected room | users | participant3 | participant3-displayname | Message 1 | [] | Scenario: not invited user can not send nor receive chat messages to and from public password protected room - Given user "participant1" creates room "public password protected room" + Given user "participant1" creates room "public password protected room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "public password protected room" with 200 @@ -47,7 +47,7 @@ Feature: chat/password Then user "participant3" sees the following messages in room "public password protected room" with 404 Scenario: joined with password guest can send and receive chat messages to and from public password protected room - Given user "participant1" creates room "public password protected room" + Given user "participant1" creates room "public password protected room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "public password protected room" with 200 @@ -59,7 +59,7 @@ Feature: chat/password | public password protected room | guests | guest | | Message 1 | [] | Scenario: not joined guest can not send nor receive chat messages to and from public password protected room - Given user "participant1" creates room "public password protected room" + Given user "participant1" creates room "public password protected room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "public password protected room" with 200 @@ -68,7 +68,7 @@ Feature: chat/password Then user "guest" sees the following messages in room "public password protected room" with 404 Scenario: everyone in a public password protected room can receive messages from everyone in that room - Given user "participant1" creates room "public password protected room" + Given user "participant1" creates room "public password protected room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "public password protected room" with 200 diff --git a/tests/integration/features/chat/public-read-only.feature b/tests/integration/features/chat/public-read-only.feature index 22a5bdd62..ab4ba7beb 100644 --- a/tests/integration/features/chat/public-read-only.feature +++ b/tests/integration/features/chat/public-read-only.feature @@ -7,7 +7,7 @@ Feature: chat/public-read-only And user "participant2" is member of group "attendees1" Scenario: owner can send and receive chat messages to and from group room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sends message "Message 1" to room "public room" with 201 @@ -27,7 +27,7 @@ Feature: chat/public-read-only | public room | users | participant1 | participant1-displayname | Message 1 | [] | Scenario: invited user can send and receive chat messages to and from group room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 @@ -48,7 +48,7 @@ Feature: chat/public-read-only | public room | users | participant2 | participant2-displayname | Message 1 | [] | Scenario: not invited but joined user can send and receive chat messages to and from public room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant3" joins room "public room" with 200 diff --git a/tests/integration/features/chat/public.feature b/tests/integration/features/chat/public.feature index d36a6b222..26670af3e 100644 --- a/tests/integration/features/chat/public.feature +++ b/tests/integration/features/chat/public.feature @@ -5,7 +5,7 @@ Feature: chat/public Given user "participant3" exists Scenario: owner can send and receive chat messages to and from public room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sends message "Message 1" to room "public room" with 201 @@ -14,7 +14,7 @@ Feature: chat/public | public room | users | participant1 | participant1-displayname | Message 1 | [] | Scenario: invited user can send and receive chat messages to and from public room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 @@ -24,7 +24,7 @@ Feature: chat/public | public room | users | participant2 | participant2-displayname | Message 1 | [] | Scenario: not invited but joined user can send and receive chat messages to and from public room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant3" joins room "public room" with 200 @@ -34,7 +34,7 @@ Feature: chat/public | public room | users | participant3 | participant3-displayname | Message 1 | [] | Scenario: not invited user can not send nor receive chat messages to and from public room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant3" sends message "Message 1" to room "public room" with 404 @@ -42,7 +42,7 @@ Feature: chat/public Then user "participant3" sees the following messages in room "public room" with 404 Scenario: joined guest can send and receive chat messages to and from public room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "guest" joins room "public room" with 200 @@ -52,7 +52,7 @@ Feature: chat/public | public room | guests | guest | | Message 1 | [] | Scenario: not joined guest can not send nor receive chat messages to and from public room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "guest" sends message "Message 1" to room "public room" with 404 @@ -60,7 +60,7 @@ Feature: chat/public Then user "guest" sees the following messages in room "public room" with 404 Scenario: everyone in a public room can receive messages from everyone in that room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "public room" with 200 diff --git a/tests/integration/features/chat/reference-id.feature b/tests/integration/features/chat/reference-id.feature index dc57f5dee..da137110c 100644 --- a/tests/integration/features/chat/reference-id.feature +++ b/tests/integration/features/chat/reference-id.feature @@ -3,7 +3,7 @@ Feature: chat/reference-id Given user "participant1" exists Scenario: user can send a message with a reference id and see it afterwards - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | When user "participant1" sends message "Message 1" with reference id "ref 1" to room "group room" with 201 @@ -14,7 +14,7 @@ Feature: chat/reference-id | group room | users | participant1 | participant1-displayname | Message 1 | [] | ref 1 | Scenario: user can send a message with the same reference id - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | When user "participant1" sends message "Message 1" with reference id "ref 1" to room "group room" with 201 @@ -25,7 +25,7 @@ Feature: chat/reference-id | group room | users | participant1 | participant1-displayname | Message 1 | [] | ref 1 | Scenario: too long references dont break the api - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | When user "participant1" sends message "Message 1" with reference id "1234567890123456789012345678901234567890" to room "group room" with 201 diff --git a/tests/integration/features/chat/reply.feature b/tests/integration/features/chat/reply.feature index f2a2fcaf1..cc1fff0fb 100644 --- a/tests/integration/features/chat/reply.feature +++ b/tests/integration/features/chat/reply.feature @@ -7,7 +7,7 @@ Feature: chat/reply And user "participant2" is member of group "attendees1" Scenario: user can reply to own message - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room" with 201 @@ -22,7 +22,7 @@ Feature: chat/reply | group room | users | participant1 | participant1-displayname | Message 1 | [] | | Scenario: user can reply to other's messages - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room" with 201 @@ -37,7 +37,7 @@ Feature: chat/reply | group room | users | participant1 | participant1-displayname | Message 1 | [] | | Scenario: several users can reply to the same message several times - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room" with 201 @@ -63,7 +63,7 @@ Feature: chat/reply Scenario: user can reply to shared file messages - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" shares "welcome.txt" with room "group room" @@ -91,7 +91,7 @@ Feature: chat/reply | group room | users | participant1 | participant1-displayname | {file} | "IGNORE" | | Scenario: user can not reply to commands - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "/help" to room "group room" with 201 @@ -104,7 +104,7 @@ Feature: chat/reply And user "participant2" sees the following messages in room "group room" with 200 Scenario: user can not reply to system messages - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | # The system messages need to be got so they are added to the list of known @@ -120,7 +120,7 @@ Feature: chat/reply Scenario: user can reply to own replies - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room" with 201 @@ -138,7 +138,7 @@ Feature: chat/reply | group room | users | participant1 | participant1-displayname | Message 1 | [] | | Scenario: user can reply to other's replies - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room" with 201 @@ -159,7 +159,7 @@ Feature: chat/reply | group room | users | participant1 | participant1-displayname | Message 1 | [] | | Scenario: several users can reply to the same reply several times - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room" with 201 @@ -186,7 +186,7 @@ Feature: chat/reply | group room | users | participant1 | participant1-displayname | Message 1 | [] | | Scenario: getting parent and quote works - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room" with 201 @@ -205,7 +205,7 @@ Feature: chat/reply Scenario: user can not reply when not in the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room" with 201 @@ -218,10 +218,10 @@ Feature: chat/reply Scenario: user can not reply to a message from another room - Given user "participant1" creates room "group room1" + Given user "participant1" creates room "group room1" (v4) | roomType | 2 | | invite | attendees1 | - And user "participant1" creates room "group room2" + And user "participant1" creates room "group room2" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" sends message "Message 1" to room "group room1" with 201 diff --git a/tests/integration/features/chat/rich-messages.feature b/tests/integration/features/chat/rich-messages.feature index e4d07c26d..e985d3746 100644 --- a/tests/integration/features/chat/rich-messages.feature +++ b/tests/integration/features/chat/rich-messages.feature @@ -6,7 +6,7 @@ Feature: chat/public Given user "participant3a" exists Scenario: message without enrichable references has empty parameters - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sends message "Message without enrichable references" to room "public room" with 201 @@ -15,7 +15,7 @@ Feature: chat/public | public room | users | participant1 | participant1-displayname | Message without enrichable references | [] | Scenario: message with mention to valid user has mention parameter - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sends message "Mention to @participant2" to room "public room" with 201 @@ -24,7 +24,7 @@ Feature: chat/public | public room | users | participant1 | participant1-displayname | Mention to {mention-user1} | {"mention-user1":{"type":"user","id":"participant2","name":"participant2-displayname"}} | Scenario: message with mention to invalid user has mention parameter - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sends message "Mention to @unknownUser" to room "public room" with 201 @@ -33,7 +33,7 @@ Feature: chat/public | public room | users | participant1 | participant1-displayname | Mention to @unknownUser | [] | Scenario: message with duplicated mention has single mention parameter - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sends message "Mention to @participant2 and @participant2 again" to room "public room" with 201 @@ -42,7 +42,7 @@ Feature: chat/public | public room | users | participant1 | participant1-displayname | Mention to {mention-user1} and {mention-user1} again | {"mention-user1":{"type":"user","id":"participant2","name":"participant2-displayname"}} | Scenario: message with mentions to several users has mention parameters - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sends message "Mention to @participant2, @unknownUser, @participant2 again and @participant3" to room "public room" with 201 @@ -51,7 +51,7 @@ Feature: chat/public | public room | users | participant1 | participant1-displayname | Mention to {mention-user1}, @unknownUser, {mention-user1} again and {mention-user2} | {"mention-user1":{"type":"user","id":"participant2","name":"participant2-displayname"},"mention-user2":{"type":"user","id":"participant3","name":"participant3-displayname"}} | Scenario: message with mentions of subname users (uid1 is fully part of uid2) - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sends message "Mention to @participant3 and @participant3a" to room "public room" with 201 diff --git a/tests/integration/features/chat/rich-object-share.feature b/tests/integration/features/chat/rich-object-share.feature index 1c9d4152d..94a0f3719 100644 --- a/tests/integration/features/chat/rich-object-share.feature +++ b/tests/integration/features/chat/rich-object-share.feature @@ -3,7 +3,7 @@ Feature: chat/public Given user "participant1" exists Scenario: Share a rich object to a chat - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" shares rich-object "call" "R4nd0mT0k3n" '{"name":"Another room","call-type":"group"}' to room "public room" with 201 (v1) @@ -13,7 +13,7 @@ Feature: chat/public Scenario: Share an invalid rich object to a chat - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | When user "participant1" shares rich-object "call" "R4nd0mT0k3n" '{"MISSINGname":"Another room","call-type":"group"}' to room "public room" with 400 (v1) diff --git a/tests/integration/features/chat/system-messages.feature b/tests/integration/features/chat/system-messages.feature index 3e72d3ff4..c532f1fcf 100644 --- a/tests/integration/features/chat/system-messages.feature +++ b/tests/integration/features/chat/system-messages.feature @@ -8,7 +8,7 @@ Feature: System messages And user "participant3" is member of group "attendees1" Scenario: Creating an empty room - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | Then user "participant1" sees the following system messages in room "room" with 200 @@ -16,7 +16,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Rename a room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | When user "participant1" renames room "room" to "system test" with 200 @@ -26,7 +26,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Set a description - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | When user "participant1" sets description for room "room" to "New description" with 200 @@ -36,7 +36,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Removes a description - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "participant1" sets description for room "room" to "New description" with 200 @@ -48,7 +48,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Toggle guests - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | When user "participant1" makes room "room" public with 200 @@ -64,7 +64,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Toggle password - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | When user "participant1" sets password "123456" for room "room" with 200 @@ -80,7 +80,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Creating a group room - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 2 | | invite | attendees1 | Then user "participant1" sees the following system messages in room "room" with 200 @@ -90,7 +90,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Creating a one2one room - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" sees the following system messages in room "room" with 200 @@ -98,7 +98,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Adding participant to room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | When user "participant1" adds "participant2" to room "room" with 200 @@ -112,7 +112,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Joining public room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | When user "participant1" joins room "room" with 200 @@ -161,7 +161,7 @@ Feature: System messages | file last share room | users | participant1 | participant1-displayname | conversation_created | Scenario: Joining listed room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "participant1" allows listing room "room" for "all" with 200 (v4) @@ -178,7 +178,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Participant escalation - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | Then user "participant1" sees the following system messages in room "room" with 200 @@ -212,7 +212,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Changing listable scope of room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -235,7 +235,7 @@ Feature: System messages | room | users | participant1 | participant1-displayname | conversation_created | Scenario: Locking a room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 diff --git a/tests/integration/features/command/active-calls.feature b/tests/integration/features/command/active-calls.feature index e7ab23b5c..68623684f 100644 --- a/tests/integration/features/command/active-calls.feature +++ b/tests/integration/features/command/active-calls.feature @@ -9,7 +9,7 @@ Feature: create And the command output contains the text "No calls in progress" Scenario: Users only chatting - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | Then user "participant1" joins room "room" with 200 @@ -22,7 +22,7 @@ Feature: create Scenario: Call in progress - When user "participant1" creates room "room" + When user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | diff --git a/tests/integration/features/conversation/add-participant.feature b/tests/integration/features/conversation/add-participant.feature index 7c83bc869..9e47eedce 100644 --- a/tests/integration/features/conversation/add-participant.feature +++ b/tests/integration/features/conversation/add-participant.feature @@ -5,7 +5,7 @@ Feature: public Given user "participant3" exists Scenario: Owner invites a user - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -18,7 +18,7 @@ Feature: public And user "participant3" is not participant of room "room" Scenario: User invites a user - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -39,7 +39,7 @@ Feature: public And user "participant3" is not participant of room "room" Scenario: Moderator invites a user - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -63,7 +63,7 @@ Feature: public | room | 3 | 3 | participant1-displayname, participant2-displayname, participant3-displayname | Scenario: Moderator invites a user who self-joined - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant2" joins room "room" with 200 @@ -76,7 +76,7 @@ Feature: public Given group "group1" exists And user "participant2" is member of group "group1" And user "participant3" is member of group "group1" - And user "participant1" creates room "room" + And user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant2" joins room "room" with 200 @@ -91,7 +91,7 @@ Feature: public | room | 3 | 3 | participant1-displayname, participant2-displayname, participant3-displayname | Scenario: Stranger invites a user - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant3" adds "participant2" to room "room" with 404 diff --git a/tests/integration/features/conversation/delete-room.feature b/tests/integration/features/conversation/delete-room.feature index fe3539e11..ec0ebbbf3 100644 --- a/tests/integration/features/conversation/delete-room.feature +++ b/tests/integration/features/conversation/delete-room.feature @@ -5,7 +5,7 @@ Feature: public Given user "participant3" exists Scenario: Owner deletes - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | Then user "participant1" is participant of the following rooms @@ -17,7 +17,7 @@ Feature: public Then user "participant1" is not participant of room "room" Scenario: Moderator deletes - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -32,7 +32,7 @@ Feature: public And user "participant2" is not participant of room "room" Scenario: User deletes - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -46,7 +46,7 @@ Feature: public And user "participant2" is participant of room "room" Scenario: Stranger deletes - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of room "room" diff --git a/tests/integration/features/conversation/delete-user.feature b/tests/integration/features/conversation/delete-user.feature index b20dc8a2b..1e6984c4e 100644 --- a/tests/integration/features/conversation/delete-user.feature +++ b/tests/integration/features/conversation/delete-user.feature @@ -8,7 +8,7 @@ Feature: conversation/delete-user # last one in a one-to-one or group room. Scenario: delete user who is in a one-to-one room - Given user "participant1" creates room "one-to-one room" + Given user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | And user "participant2" sends message "Message 1" to room "one-to-one room" with 201 @@ -18,7 +18,7 @@ Feature: conversation/delete-user | one-to-one room | deleted_users | deleted_users | | Message 1 | [] | Scenario: delete user who is in a group room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | group room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -29,7 +29,7 @@ Feature: conversation/delete-user | group room | deleted_users | deleted_users | | Message 1 | [] | Scenario: delete user who is in a public room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | public room | And user "participant1" adds "participant2" to room "public room" with 200 @@ -40,7 +40,7 @@ Feature: conversation/delete-user | public room | deleted_users | deleted_users | | Message 1 | [] | Scenario: delete user who is the last participant in a public room - Given user "participant2" creates room "public room" + Given user "participant2" creates room "public room" (v4) | roomType | 3 | | roomName | public room | When user "participant2" is deleted diff --git a/tests/integration/features/conversation/find-listed.feature b/tests/integration/features/conversation/find-listed.feature index 3784bb399..8882abc6b 100644 --- a/tests/integration/features/conversation/find-listed.feature +++ b/tests/integration/features/conversation/find-listed.feature @@ -6,10 +6,10 @@ Feature: conversation/find-listed And user "user-guest@example.com" is a guest account user Scenario Outline: Nobody can find non-listed rooms - Given user "creator" creates room "group-room" + Given user "creator" creates room "group-room" (v4) | roomType | 2 | | roomName | group-room | - And user "creator" creates room "public-room" + And user "creator" creates room "public-room" (v4) | roomType | 3 | | roomName | public-room | When user "creator" allows listing room "group-room" for "none" with 200 (v4) @@ -22,10 +22,10 @@ Feature: conversation/find-listed | user-guest@example.com | Scenario: Regular users can find user-listed rooms - Given user "creator" creates room "group-room" + Given user "creator" creates room "group-room" (v4) | roomType | 2 | | roomName | group-room | - And user "creator" creates room "public-room" + And user "creator" creates room "public-room" (v4) | roomType | 3 | | roomName | public-room | When user "creator" allows listing room "group-room" for "users" with 200 (v4) @@ -37,10 +37,10 @@ Feature: conversation/find-listed And user "user-guest@example.com" cannot find any listed rooms (v4) Scenario: All users can find all-listed rooms - Given user "creator" creates room "group-room" + Given user "creator" creates room "group-room" (v4) | roomType | 2 | | roomName | group-room | - And user "creator" creates room "public-room" + And user "creator" creates room "public-room" (v4) | roomType | 3 | | roomName | public-room | When user "creator" allows listing room "group-room" for "all" with 200 (v4) @@ -55,10 +55,10 @@ Feature: conversation/find-listed | public-room | 2 | Scenario: Participants cannot search for already joined listed rooms - Given user "creator" creates room "group-room" + Given user "creator" creates room "group-room" (v4) | roomType | 2 | | roomName | group-room | - And user "creator" creates room "public-room" + And user "creator" creates room "public-room" (v4) | roomType | 3 | | roomName | public-room | And user "creator" allows listing room "group-room" for "users" with 200 (v4) @@ -68,10 +68,10 @@ Feature: conversation/find-listed Then user "regular-user" cannot find any listed rooms (v4) Scenario: Participants cannot search for already joined listed rooms - Given user "creator" creates room "group-room" + Given user "creator" creates room "group-room" (v4) | roomType | 2 | | roomName | group-room | - And user "creator" creates room "public-room" + And user "creator" creates room "public-room" (v4) | roomType | 3 | | roomName | public-room | And user "creator" allows listing room "group-room" for "users" with 200 (v4) @@ -81,16 +81,16 @@ Feature: conversation/find-listed Then user "regular-user" cannot find any listed rooms (v4) Scenario: Users can use search terms to find listed rooms - Given user "creator" creates room "group-room" + Given user "creator" creates room "group-room" (v4) | roomType | 2 | | roomName | group-room | - And user "creator" creates room "group-the-cool-room" + And user "creator" creates room "group-the-cool-room" (v4) | roomType | 2 | | roomName | group-the-cool-room | - And user "creator" creates room "public-room" + And user "creator" creates room "public-room" (v4) | roomType | 3 | | roomName | public-room | - And user "creator" creates room "public-the-cool-room" + And user "creator" creates room "public-the-cool-room" (v4) | roomType | 3 | | roomName | public-the-cool-room | When user "creator" allows listing room "group-room" for "all" with 200 (v4) @@ -107,7 +107,7 @@ Feature: conversation/find-listed | public-the-cool-room | 2 | Scenario: Searching for a listable room by unknown term returns no results - Given user "creator" creates room "group-room" + Given user "creator" creates room "group-room" (v4) | roomType | 2 | | roomName | group-room | When user "creator" allows listing room "group-room" for "all" with 200 (v4) @@ -115,10 +115,10 @@ Feature: conversation/find-listed And user "user-guest@example.com" cannot find any listed rooms with term "cool" (v4) Scenario: Guest users without accounts cannot search for listed rooms - Given user "creator" creates room "public-room" + Given user "creator" creates room "public-room" (v4) | roomType | 3 | | roomName | public-room | - And user "creator" creates room "public-room-listed" + And user "creator" creates room "public-room-listed" (v4) | roomType | 3 | | roomName | public-room-listed | And user "creator" allows listing room "public-room-listed" for "all" with 200 (v4) diff --git a/tests/integration/features/conversation/join-leave.feature b/tests/integration/features/conversation/join-leave.feature index 84300490a..27aae13e1 100644 --- a/tests/integration/features/conversation/join-leave.feature +++ b/tests/integration/features/conversation/join-leave.feature @@ -6,7 +6,7 @@ Feature: conversation/join-leave Given user "participant3" exists Scenario: join a one-to-one room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 1 | | invite | participant2 | When user "participant1" joins room "room" with 200 @@ -19,7 +19,7 @@ Feature: conversation/join-leave And user "guest" is not participant of room "room" Scenario: leave a one-to-one room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" joins room "room" with 200 @@ -32,7 +32,7 @@ Feature: conversation/join-leave Scenario: join a group room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -46,7 +46,7 @@ Feature: conversation/join-leave And user "guest" is not participant of room "room" Scenario: leave a group room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -60,7 +60,7 @@ Feature: conversation/join-leave Scenario: join a public room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -74,7 +74,7 @@ Feature: conversation/join-leave And user "guest" is participant of room "room" Scenario: leave a public room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 diff --git a/tests/integration/features/conversation/join-listable.feature b/tests/integration/features/conversation/join-listable.feature index d79fb460e..ca6a433d3 100644 --- a/tests/integration/features/conversation/join-listable.feature +++ b/tests/integration/features/conversation/join-listable.feature @@ -10,7 +10,7 @@ Feature: conversation/join-listable # Non-listed rooms # ----------------------------------------------------------------------------- Scenario: Nobody can join a non-listed group room - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 2 | | roomName | room | When user "creator" allows listing room "room" for "none" with 200 (v4) @@ -19,7 +19,7 @@ Feature: conversation/join-listable And user "guest" joins room "room" with 404 Scenario: Anyone can join a non-listed public room - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "creator" allows listing room "room" for "none" with 200 (v4) @@ -37,7 +37,7 @@ Feature: conversation/join-listable # User-listed rooms # ----------------------------------------------------------------------------- Scenario: Only regular users can join a user-listed group room - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "creator" allows listing room "room" for "users" with 200 (v4) @@ -50,7 +50,7 @@ Feature: conversation/join-listable | regular-user | USER | users | Scenario: Anyone can join a user-listed public room - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "creator" allows listing room "room" for "users" with 200 (v4) @@ -68,7 +68,7 @@ Feature: conversation/join-listable # All-listed rooms # ----------------------------------------------------------------------------- Scenario: Only users with accounts can join an all-listed group room - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "creator" allows listing room "room" for "all" with 200 (v4) @@ -82,7 +82,7 @@ Feature: conversation/join-listable | user-guest@example.com | USER | users | Scenario: Anyone can join an all-listed public room - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "creator" allows listing room "room" for "all" with 200 (v4) diff --git a/tests/integration/features/conversation/limit-creation.feature b/tests/integration/features/conversation/limit-creation.feature index 473a70245..7fe65f4b1 100644 --- a/tests/integration/features/conversation/limit-creation.feature +++ b/tests/integration/features/conversation/limit-creation.feature @@ -8,28 +8,28 @@ Feature: public Scenario: User can not create group conversations Given the following app config is set | start_conversations | ["group1"] | - Then user "participant1" creates room "room" with 403 + Then user "participant1" creates room "room" with 403 (v4) | roomType | 2 | | roomName | room | Given user "participant1" is member of group "group1" - Then user "participant1" creates room "room" with 201 + Then user "participant1" creates room "room" with 201 (v4) | roomType | 2 | | roomName | room | Scenario: User can not create public conversations Given the following app config is set | start_conversations | ["group1"] | - Then user "participant1" creates room "room" with 403 + Then user "participant1" creates room "room" with 403 (v4) | roomType | 3 | | roomName | room | Given user "participant1" is member of group "group1" - Then user "participant1" creates room "room" with 201 + Then user "participant1" creates room "room" with 201 (v4) | roomType | 3 | | roomName | room | Scenario: User can still do one-to-one conversations Given the following app config is set | start_conversations | ["group1"] | - Then user "participant1" creates room "room" with 201 + Then user "participant1" creates room "room" with 201 (v4) | roomType | 1 | | invite | participant2 | diff --git a/tests/integration/features/conversation/lobby.feature b/tests/integration/features/conversation/lobby.feature index 2c1ae7c58..13cf79bce 100644 --- a/tests/integration/features/conversation/lobby.feature +++ b/tests/integration/features/conversation/lobby.feature @@ -7,7 +7,7 @@ Feature: conversation/lobby Given user "participant4" exists Scenario: set lobby state in group room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -21,7 +21,7 @@ Feature: conversation/lobby And user "participant3" sets lobby state for room "room" to "no lobby" with 403 (v4) Scenario: set lobby state in public room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -45,7 +45,7 @@ Feature: conversation/lobby And user "guest2" sets lobby state for room "room" to "no lobby" with 401 (v4) Scenario: set lobby state in one-to-one room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 1 | | invite | participant2 | When user "participant1" sets lobby state for room "room" to "non moderators" with 400 (v4) @@ -66,7 +66,7 @@ Feature: conversation/lobby And user "participant2" sets lobby state for room "file welcome (2).txt room" to "no lobby" with 403 (v4) Scenario: set lobby state of a room not joined to - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | When user "participant2" sets lobby state for room "room" to "non moderators" with 404 (v4) @@ -75,7 +75,7 @@ Feature: conversation/lobby Scenario: participants can join the room when the lobby is active - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -91,7 +91,7 @@ Feature: conversation/lobby And user "guest2" joins room "room" with 200 Scenario: participants can join a password protected room when the lobby is active - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" sets password "foobar" for room "room" with 200 @@ -111,7 +111,7 @@ Feature: conversation/lobby | password | foobar | Scenario: lobby prevents chats for non moderators - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -151,7 +151,7 @@ Feature: conversation/lobby And user "guest2" sees the following messages in room "room" with 412 Scenario: lobby prevents calls for non moderators - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -182,7 +182,7 @@ Feature: conversation/lobby And user "guest" leaves call "room" with 200 Scenario: lobby prevents some room actions for non moderators - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -215,7 +215,7 @@ Feature: conversation/lobby # Not all the values are checked in the test, only the most relevant ones Scenario: participants can get some room information when the lobby is active - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 diff --git a/tests/integration/features/conversation/one-to-one.feature b/tests/integration/features/conversation/one-to-one.feature index b63943eaf..e58fc249f 100644 --- a/tests/integration/features/conversation/one-to-one.feature +++ b/tests/integration/features/conversation/one-to-one.feature @@ -10,12 +10,12 @@ Feature: one-to-one Then user "participant3" is participant of the following rooms Scenario: User1 invites themself to a one2one room - When user "participant1" tries to create room with 403 + When user "participant1" tries to create room with 403 (v4) | roomType | 1 | | invite | participant1 | Scenario: User1 invites user2 to a one2one room and user3 is not part of it - When user "participant1" creates room "room1" + When user "participant1" creates room "room1" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" is participant of the following rooms @@ -30,7 +30,7 @@ Feature: one-to-one And user "participant3" is not participant of room "room1" Scenario: User1 invites user2 to a one2one room and leaves it - Given user "participant1" creates room "room2" + Given user "participant1" creates room "room2" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room2" @@ -44,7 +44,7 @@ Feature: one-to-one | room2 | 1 | 1 | participant2-displayname | Scenario: User1 invites user2 to a one2one room and tries to delete it - Given user "participant1" creates room "room3" + Given user "participant1" creates room "room3" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" is participant of room "room3" @@ -54,7 +54,7 @@ Feature: one-to-one And user "participant2" is participant of room "room3" Scenario: User1 invites user2 to a one2one room and tries to remove user2 - Given user "participant1" creates room "room4" + Given user "participant1" creates room "room4" (v4) | roomType | 1 | | invite | participant2 | Then user "participant1" is participant of room "room4" @@ -64,7 +64,7 @@ Feature: one-to-one And user "participant2" is participant of room "room4" Scenario: User1 invites user2 to a one2one room and tries to rename it - Given user "participant1" creates room "room5" + Given user "participant1" creates room "room5" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room5" @@ -72,7 +72,7 @@ Feature: one-to-one When user "participant1" renames room "room5" to "new name" with 400 Scenario: User1 invites user2 to a one2one room and tries to make it public - Given user "participant1" creates room "room6" + Given user "participant1" creates room "room6" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room6" @@ -83,7 +83,7 @@ Feature: one-to-one | room6 | 1 | 1 | participant1-displayname, participant2-displayname | Scenario: User1 invites user2 to a one2one room and tries to invite user3 - Given user "participant1" creates room "room7" + Given user "participant1" creates room "room7" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room7" @@ -97,7 +97,7 @@ Feature: one-to-one Then user "participant3" is participant of the following rooms Scenario: User1 invites user2 to a one2one room and promote user2 to moderator - Given user "participant1" creates room "room8" + Given user "participant1" creates room "room8" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room8" @@ -105,7 +105,7 @@ Feature: one-to-one When user "participant1" promotes "participant2" in room "room8" with 400 Scenario: User1 invites user2 to a one2one room and demote user2 to moderator - Given user "participant1" creates room "room9" + Given user "participant1" creates room "room9" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room9" @@ -113,7 +113,7 @@ Feature: one-to-one When user "participant1" demotes "participant2" in room "room9" with 400 Scenario: User1 invites user2 to a one2one room and promote non-invited user - Given user "participant1" creates room "room10" + Given user "participant1" creates room "room10" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room10" @@ -121,7 +121,7 @@ Feature: one-to-one When user "participant1" promotes "participant3" in room "room10" with 404 Scenario: User1 invites user2 to a one2one room and demote non-invited user - Given user "participant1" creates room "room11" + Given user "participant1" creates room "room11" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room11" @@ -129,7 +129,7 @@ Feature: one-to-one When user "participant1" demotes "participant3" in room "room11" with 404 Scenario: User1 invites user2 to a one2one room twice, it's the same room - Given user "participant1" creates room "room12" + Given user "participant1" creates room "room12" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room12" @@ -140,7 +140,7 @@ Feature: one-to-one And user "participant2" is participant of the following rooms | id | type | participantType | participants | | room12 | 1 | 1 | participant1-displayname, participant2-displayname | - When user "participant1" creates room "room13" with 200 + When user "participant1" creates room "room13" with 200 (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room12" @@ -153,7 +153,7 @@ Feature: one-to-one | room12 | 1 | 1 | participant1-displayname, participant2-displayname | Scenario: User1 invites user2 to a one2one room, leaves and does it again, it's the same room - Given user "participant1" creates room "room14" + Given user "participant1" creates room "room14" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room14" @@ -171,7 +171,7 @@ Feature: one-to-one And user "participant2" is participant of the following rooms | id | type | participantType | participants | | room14 | 1 | 1 | participant2-displayname | - When user "participant1" creates room "room15" with 200 + When user "participant1" creates room "room15" with 200 (v4) | roomType | 1 | | invite | participant2 | And user "participant1" is participant of room "room14" diff --git a/tests/integration/features/conversation/promotion-demotion.feature b/tests/integration/features/conversation/promotion-demotion.feature index 732047770..e66815254 100644 --- a/tests/integration/features/conversation/promotion-demotion.feature +++ b/tests/integration/features/conversation/promotion-demotion.feature @@ -5,7 +5,7 @@ Feature: public Given user "participant3" exists Scenario: Owner promotes/demotes moderator - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -22,7 +22,7 @@ Feature: public | room | 3 | 3 | participant1-displayname, participant2-displayname | Scenario: Moderator promotes/demotes moderator - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -41,7 +41,7 @@ Feature: public | room | 3 | 3 | participant1-displayname, participant2-displayname, participant3-displayname | Scenario: User promotes/demotes moderator - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -63,7 +63,7 @@ Feature: public | room | 3 | 2 | participant1-displayname, participant2-displayname, participant3-displayname | Scenario: Stranger promotes/demotes moderator - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant3" to room "room" with 200 diff --git a/tests/integration/features/conversation/public-private.feature b/tests/integration/features/conversation/public-private.feature index 60da03f50..9855df6eb 100644 --- a/tests/integration/features/conversation/public-private.feature +++ b/tests/integration/features/conversation/public-private.feature @@ -5,7 +5,7 @@ Feature: public Given user "participant3" exists Scenario: Owner makes room private/public - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms @@ -21,7 +21,7 @@ Feature: public | room | 3 | 1 | participant1-displayname | Scenario: Moderator makes room private/public - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms @@ -39,7 +39,7 @@ Feature: public | room | 3 | 1 | participant1-displayname, participant2-displayname | Scenario: User makes room private/public - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms @@ -60,7 +60,7 @@ Feature: public | room | 2 | 1 | participant1-displayname, participant2-displayname | Scenario: Stranger makes room private/public - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms diff --git a/tests/integration/features/conversation/remove-participant.feature b/tests/integration/features/conversation/remove-participant.feature index b860cef70..cd7e8e22c 100644 --- a/tests/integration/features/conversation/remove-participant.feature +++ b/tests/integration/features/conversation/remove-participant.feature @@ -8,7 +8,7 @@ Feature: public # Removing an owner # Scenario: Owner removes self participant from empty public room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of room "room" @@ -16,7 +16,7 @@ Feature: public Then user "participant1" is not participant of room "room" Scenario: Owner removes self participant from public room when there are other users in the room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -27,7 +27,7 @@ Feature: public And user "participant2" is participant of room "room" Scenario: Owner removes self participant from public room when there are other moderators in the room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -42,7 +42,7 @@ Feature: public # Removing a moderator # Scenario: Owner removes moderator - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant3" to room "room" with 200 @@ -52,7 +52,7 @@ Feature: public Then user "participant3" is not participant of room "room" Scenario: Moderator removes moderator - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -64,7 +64,7 @@ Feature: public Then user "participant3" is not participant of room "room" Scenario: Moderator removes self participant from empty public room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -76,7 +76,7 @@ Feature: public Then user "participant2" is not participant of room "room" Scenario: Moderator removes self participant from public room when there are other users in the room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -91,7 +91,7 @@ Feature: public And user "participant3" is participant of room "room" Scenario: Moderator removes self participant from public room when there are other moderators in the room - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -107,7 +107,7 @@ Feature: public And user "participant3" is participant of room "room" Scenario: User removes moderator - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -118,7 +118,7 @@ Feature: public Then user "participant3" is participant of room "room" Scenario: Stranger removes moderator - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant3" to room "room" with 200 @@ -131,7 +131,7 @@ Feature: public # Removing a user # Scenario: Owner removes user - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant3" to room "room" with 200 @@ -140,7 +140,7 @@ Feature: public Then user "participant3" is not participant of room "room" Scenario: Moderator removes user - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -151,7 +151,7 @@ Feature: public Then user "participant3" is not participant of room "room" Scenario: User removes user - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -161,7 +161,7 @@ Feature: public Then user "participant3" is participant of room "room" Scenario: Stranger removes user - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant3" to room "room" with 200 @@ -173,7 +173,7 @@ Feature: public # Removing a stranger # Scenario: Owner removes stranger - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant3" is not participant of room "room" @@ -181,7 +181,7 @@ Feature: public Then user "participant3" is not participant of room "room" Scenario: Moderator removes stranger - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -191,7 +191,7 @@ Feature: public Then user "participant3" is not participant of room "room" Scenario: User removes stranger - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -200,7 +200,7 @@ Feature: public And user "participant3" is not participant of room "room" Scenario: Stranger removes stranger - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant3" is not participant of room "room" diff --git a/tests/integration/features/conversation/remove-self.feature b/tests/integration/features/conversation/remove-self.feature index f1ef82f20..a9437c416 100644 --- a/tests/integration/features/conversation/remove-self.feature +++ b/tests/integration/features/conversation/remove-self.feature @@ -5,7 +5,7 @@ Feature: public Given user "participant3" exists Scenario: Owner removes the room from their room list - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | Then user "participant1" is participant of the following rooms @@ -17,7 +17,7 @@ Feature: public Then user "participant1" is not participant of room "room" Scenario: Moderator removes the room from their room list - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -32,14 +32,14 @@ Feature: public And user "participant2" is not participant of room "room" Scenario: Last moderator removes the room from their room list - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | When user "participant1" removes themselves from room "room" with 200 Then user "participant2" gets room "room" with 404 (v3) Scenario: User removes the room from their room list - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "room" with 200 @@ -53,7 +53,7 @@ Feature: public And user "participant2" is not participant of room "room" Scenario: Self joined user removes the room from their room list - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant2" joins room "room" with 200 @@ -67,7 +67,7 @@ Feature: public And user "participant2" is not participant of room "room" Scenario: Stranger removes the room from their room list - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of room "room" diff --git a/tests/integration/features/conversation/rename-room.feature b/tests/integration/features/conversation/rename-room.feature index db46b1948..41e5799ba 100644 --- a/tests/integration/features/conversation/rename-room.feature +++ b/tests/integration/features/conversation/rename-room.feature @@ -5,7 +5,7 @@ Feature: public Given user "participant3" exists Scenario: Owner renames - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of room "room" @@ -13,7 +13,7 @@ Feature: public Then user "participant1" is participant of room "room" Scenario: Moderator renames - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of room "room" @@ -23,7 +23,7 @@ Feature: public When user "participant2" renames room "room" to "new name" with 200 Scenario: User renames - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of room "room" @@ -32,7 +32,7 @@ Feature: public When user "participant2" renames room "room" to "new name" with 403 Scenario: Stranger renames - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of room "room" diff --git a/tests/integration/features/conversation/set-description.feature b/tests/integration/features/conversation/set-description.feature index a335ebc90..e6e5796f1 100644 --- a/tests/integration/features/conversation/set-description.feature +++ b/tests/integration/features/conversation/set-description.feature @@ -7,7 +7,7 @@ Feature: set-description Given user "not joined user" exists Scenario: a description of 500 characters can be set - Given user "owner" creates room "group room" + Given user "owner" creates room "group room" (v4) | roomType | 2 | | roomName | room | When user "owner" sets description for room "group room" to "012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C" with 200 @@ -16,7 +16,7 @@ Feature: set-description | 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678C | Scenario: a description longer than 500 characters can not be set - Given user "owner" creates room "group room" + Given user "owner" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "owner" sets description for room "group room" to "the description" with 200 @@ -26,7 +26,7 @@ Feature: set-description | the description | Scenario: a description of 500 multibyte characters can be set - Given user "owner" creates room "group room" + Given user "owner" creates room "group room" (v4) | roomType | 2 | | roomName | room | When user "owner" sets description for room "group room" to "०१२३४५६à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤šà¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤šà¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤šà¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤šà¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤š" with 200 @@ -35,7 +35,7 @@ Feature: set-description | ०१२३४५६à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤šà¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤šà¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤šà¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤šà¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¥¯à¥¦à¥§à¥¨à¥©à¥ªà¥«à¥¬à¥à¥®à¤š | Scenario: a description longer than 500 multibyte characters can not be set - Given user "owner" creates room "group room" + Given user "owner" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "owner" sets description for room "group room" to "the description" with 200 @@ -47,7 +47,7 @@ Feature: set-description Scenario: owner can not set description in one-to-one room - Given user "owner" creates room "one-to-one room" + Given user "owner" creates room "one-to-one room" (v4) | roomType | 1 | | invite | moderator | When user "owner" sets description for room "one-to-one room" to "the description" with 400 @@ -62,7 +62,7 @@ Feature: set-description Scenario: owner can set description in group room - Given user "owner" creates room "group room" + Given user "owner" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "owner" adds "moderator" to room "group room" with 200 @@ -80,7 +80,7 @@ Feature: set-description | the description | Scenario: moderator can set description in group room - Given user "owner" creates room "group room" + Given user "owner" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "owner" adds "moderator" to room "group room" with 200 @@ -98,7 +98,7 @@ Feature: set-description | the description | Scenario: others can not set description in group room - Given user "owner" creates room "group room" + Given user "owner" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "owner" adds "moderator" to room "group room" with 200 @@ -122,7 +122,7 @@ Feature: set-description Scenario: owner can set description in public room - Given user "owner" creates room "public room" + Given user "owner" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "owner" adds "moderator" to room "public room" with 200 @@ -153,7 +153,7 @@ Feature: set-description | the description | Scenario: moderator can set description in public room - Given user "owner" creates room "public room" + Given user "owner" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "owner" adds "moderator" to room "public room" with 200 @@ -184,7 +184,7 @@ Feature: set-description | the description | Scenario: guest moderator can set description in public room - Given user "owner" creates room "public room" + Given user "owner" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "owner" adds "moderator" to room "public room" with 200 @@ -215,7 +215,7 @@ Feature: set-description | the description | Scenario: others can not set description in public room - Given user "owner" creates room "public room" + Given user "owner" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "owner" adds "moderator" to room "public room" with 200 @@ -301,7 +301,7 @@ Feature: set-description Scenario: room list returns the description if the description is set - Given user "owner" creates room "public room" + Given user "owner" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "owner" adds "moderator" to room "public room" with 200 @@ -323,7 +323,7 @@ Feature: set-description | room | the description | Scenario: room list returns an empty value if the description is not set - Given user "owner" creates room "public room" + Given user "owner" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "owner" adds "moderator" to room "public room" with 200 diff --git a/tests/integration/features/conversation/set-listable.feature b/tests/integration/features/conversation/set-listable.feature index 710565bdf..59c82b44e 100644 --- a/tests/integration/features/conversation/set-listable.feature +++ b/tests/integration/features/conversation/set-listable.feature @@ -4,7 +4,7 @@ Feature: conversation/set-listable Given user "regular-user" exists Scenario Outline: Setting listable attribute - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 2 | | roomName | room | When user "creator" allows listing room "room" for "<listable>" with 200 (v4) @@ -18,13 +18,13 @@ Feature: conversation/set-listable | 2 | Scenario: Cannot set invalid listable attribute value - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 2 | | roomName | room | Then user "creator" allows listing room "room" for "5" with 400 (v4) Scenario: Only moderators and owners can change listable attribute - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "moderator" exists @@ -42,7 +42,7 @@ Feature: conversation/set-listable And user "guest" allows listing room "room" for "users" with 401 (v4) Scenario: Cannot change listable attribute of one to one conversations - Given user "creator" creates room "room" + Given user "creator" creates room "room" (v4) | roomType | 1 | | invite | regular-user | Then user "creator" allows listing room "room" for "all" with 400 (v4) diff --git a/tests/integration/features/conversation/set-password.feature b/tests/integration/features/conversation/set-password.feature index aa8694e05..e38e64b37 100644 --- a/tests/integration/features/conversation/set-password.feature +++ b/tests/integration/features/conversation/set-password.feature @@ -5,7 +5,7 @@ Feature: public Given user "participant3" exists Scenario: Owner sets a room password - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms @@ -20,7 +20,7 @@ Feature: public Then user "participant3" joins room "room" with 200 Scenario: Moderator sets a room password - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms @@ -37,7 +37,7 @@ Feature: public Then user "participant3" joins room "room" with 200 Scenario: User sets a room password - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms @@ -56,7 +56,7 @@ Feature: public Then user "participant3" joins room "room" with 403 Scenario: Stranger sets a room password - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms diff --git a/tests/integration/features/conversation/sip-dialin.feature b/tests/integration/features/conversation/sip-dialin.feature index 59ad5291c..39ea07452 100644 --- a/tests/integration/features/conversation/sip-dialin.feature +++ b/tests/integration/features/conversation/sip-dialin.feature @@ -11,7 +11,7 @@ Feature: public | sip_bridge_dialin_info | +49-1234-567890 | | sip_bridge_shared_secret | 1234567890abcdef | | sip_bridge_groups | ["group1"] | - Given user "participant1" creates room "room" + Given user "participant1" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant1" is participant of the following rooms (v3) @@ -55,7 +55,7 @@ Feature: public | sip_bridge_dialin_info | +49-1234-567890 | | sip_bridge_shared_secret | 1234567890abcdef | | sip_bridge_groups | ["group1"] | - Given user "participant2" creates room "room" + Given user "participant2" creates room "room" (v4) | roomType | 3 | | roomName | room | And user "participant2" is participant of the following rooms (v3) diff --git a/tests/integration/features/sharing/create.feature b/tests/integration/features/sharing/create.feature index 3de5924ca..4d3c1e675 100644 --- a/tests/integration/features/sharing/create.feature +++ b/tests/integration/features/sharing/create.feature @@ -6,7 +6,7 @@ Feature: create Given user "participant3" exists Scenario: create share with an owned one-to-one room - Given user "participant1" creates room "own one-to-one room" + Given user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant2 | When user "participant1" shares "welcome.txt" with room "own one-to-one room" @@ -33,7 +33,7 @@ Feature: create | share_with_displayname | participant1-displayname | Scenario: create share with a one-to-one room invited to - Given user "participant2" creates room "one-to-one room invited to" + Given user "participant2" creates room "one-to-one room invited to" (v4) | roomType | 1 | | invite | participant1 | When user "participant1" shares "welcome.txt" with room "one-to-one room invited to" @@ -60,7 +60,7 @@ Feature: create | share_with_displayname | participant1-displayname | Scenario: create share with a one-to-one room not invited to - Given user "participant2" creates room "one-to-one room not invited to" + Given user "participant2" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant3 | When user "participant1" shares "welcome.txt" with room "one-to-one room not invited to" @@ -74,7 +74,7 @@ Feature: create And the list of returned shares has 0 shares Scenario: create share with an owned group room - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 @@ -103,7 +103,7 @@ Feature: create | share_with_displayname | Own group room | Scenario: create share with a group room invited to - Given user "participant2" creates room "group room invited to" + Given user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 @@ -132,7 +132,7 @@ Feature: create | share_with_displayname | Group room invited to | Scenario: create share with a group room not invited to - Given user "participant2" creates room "group room not invited to" + Given user "participant2" creates room "group room not invited to" (v4) | roomType | 2 | | roomName | room | When user "participant1" shares "welcome.txt" with room "group room not invited to" @@ -144,7 +144,7 @@ Feature: create And the list of returned shares has 0 shares Scenario: create share with a group room no longer invited to - Given user "participant2" creates room "group room no longer invited to" + Given user "participant2" creates room "group room no longer invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" adds "participant1" to room "group room no longer invited to" with 200 @@ -158,7 +158,7 @@ Feature: create And the list of returned shares has 0 shares Scenario: create share with an owned public room - Given user "participant1" creates room "own public room" + Given user "participant1" creates room "own public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "own public room" to "Own public room" with 200 @@ -202,7 +202,7 @@ Feature: create | token | A_TOKEN | Scenario: create share with a public room invited to - Given user "participant2" creates room "public room invited to" + Given user "participant2" creates room "public room invited to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room invited to" to "Public room invited to" with 200 @@ -246,7 +246,7 @@ Feature: create | token | A_TOKEN | Scenario: create share with a public room self joined to - Given user "participant2" creates room "public room self joined to" + Given user "participant2" creates room "public room self joined to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room self joined to" to "Public room self joined to" with 200 @@ -290,7 +290,7 @@ Feature: create | token | A_TOKEN | Scenario: create share with a public room not joined to - Given user "participant2" creates room "public room not joined to" + Given user "participant2" creates room "public room not joined to" (v4) | roomType | 3 | | roomName | room | When user "participant1" shares "welcome.txt" with room "public room not joined to" @@ -302,7 +302,7 @@ Feature: create And the list of returned shares has 0 shares Scenario: create share with a public room no longer joined to - Given user "participant2" creates room "public room no longer joined to" + Given user "participant2" creates room "public room no longer joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" joins room "public room no longer joined to" with 200 @@ -318,7 +318,7 @@ Feature: create Scenario: create share with a room of a received share whose owner is in the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -367,7 +367,7 @@ Feature: create | share_with_displayname | Group room | Scenario: create share with a room of a received share whose owner is not in the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -415,7 +415,7 @@ Feature: create | share_with_displayname | Group room | Scenario: create share with a room of a received share without reshare permissions - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -450,7 +450,7 @@ Feature: create Scenario: create share with an expiration date - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -482,7 +482,7 @@ Feature: create | expiration | +3 days | Scenario: create share with an invalid expiration date - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -496,7 +496,7 @@ Feature: create And the list of returned shares has 0 shares Scenario: create share with specific permissions - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -530,13 +530,13 @@ Feature: create Scenario: create share again with another room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 And user "participant1" adds "participant2" to room "group room" with 200 And user "participant1" shares "welcome.txt" with room "group room" with OCS 100 - And user "participant1" creates room "another group room" + And user "participant1" creates room "another group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "another group room" to "Another group room" with 200 @@ -600,7 +600,7 @@ Feature: create | share_with_displayname | Another group room | Scenario: create share again with same room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -635,7 +635,7 @@ Feature: create | share_with_displayname | Group room | Scenario: create share again with same room by a sharee - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -674,13 +674,13 @@ Feature: create Scenario: create share with a room that includes a user who already received that share through another room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 And user "participant1" adds "participant2" to room "group room" with 200 And user "participant1" shares "welcome.txt" with room "group room" with OCS 100 - And user "participant1" creates room "another group room" + And user "participant1" creates room "another group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "another group room" to "Another group room" with 200 @@ -720,7 +720,7 @@ Feature: create | share_with_displayname | Another group room | Scenario: create share with a user who already received that share through a room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -764,7 +764,7 @@ Feature: create | share_type | 0 | Scenario: create share with a room including a user who already received that share directly - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 diff --git a/tests/integration/features/sharing/delete.feature b/tests/integration/features/sharing/delete.feature index 587f3e9b6..55086ebd6 100644 --- a/tests/integration/features/sharing/delete.feature +++ b/tests/integration/features/sharing/delete.feature @@ -6,7 +6,7 @@ Feature: delete Given user "participant3" exists Scenario: delete share with an owned one-to-one room - Given user "participant1" creates room "own one-to-one room" + Given user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" shares "welcome.txt" with room "own one-to-one room" with OCS 100 @@ -19,7 +19,7 @@ Feature: delete And the OCS status code should be "404" Scenario: delete share with a one-to-one room invited to - Given user "participant2" creates room "one-to-one room invited to" + Given user "participant2" creates room "one-to-one room invited to" (v4) | roomType | 1 | | invite | participant1 | And user "participant1" shares "welcome.txt" with room "one-to-one room invited to" with OCS 100 @@ -32,7 +32,7 @@ Feature: delete And the OCS status code should be "404" Scenario: delete share with an owned group room - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "own group room" with 200 @@ -46,7 +46,7 @@ Feature: delete And the OCS status code should be "404" Scenario: delete share with a group room invited to - Given user "participant2" creates room "group room invited to" + Given user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" adds "participant1" to room "group room invited to" with 200 @@ -60,7 +60,7 @@ Feature: delete And the OCS status code should be "404" Scenario: delete share with an owned public room - Given user "participant1" creates room "own public room" + Given user "participant1" creates room "own public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "own public room" with 200 @@ -77,7 +77,7 @@ Feature: delete And the OCS status code should be "404" Scenario: delete share with a public room invited to - Given user "participant2" creates room "public room invited to" + Given user "participant2" creates room "public room invited to" (v4) | roomType | 3 | | roomName | room | And user "participant2" adds "participant1" to room "public room invited to" with 200 @@ -94,7 +94,7 @@ Feature: delete And the OCS status code should be "404" Scenario: delete share with a public room self joined to - Given user "participant2" creates room "public room self joined to" + Given user "participant2" creates room "public room self joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" joins room "public room self joined to" with 200 @@ -113,7 +113,7 @@ Feature: delete Scenario: delete (unknown) share with a one-to-one room not invited to - Given user "participant2" creates room "one-to-one room not invited to" + Given user "participant2" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant3 | And user "participant2" shares "welcome.txt" with room "one-to-one room not invited to" with OCS 100 @@ -144,7 +144,7 @@ Feature: delete | share_with_displayname | participant2-displayname | Scenario: delete (unknown) share with a group room not invited to - Given user "participant2" creates room "group room not invited to" + Given user "participant2" creates room "group room not invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room not invited to" to "Group room not invited to" with 200 @@ -177,7 +177,7 @@ Feature: delete | share_with_displayname | Group room not invited to | Scenario: delete (unknown) share with a public room not joined to - Given user "participant2" creates room "public room not joined to" + Given user "participant2" creates room "public room not joined to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room not joined to" to "Public room not joined to" with 200 @@ -214,7 +214,7 @@ Feature: delete Scenario: delete share with a user who also received that share through a room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -239,7 +239,7 @@ Feature: delete | share_with_displayname | Group room | Scenario: delete share with a room including a user who also received that share directly - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -266,7 +266,7 @@ Feature: delete Scenario: delete received share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -304,7 +304,7 @@ Feature: delete Scenario: delete share received directly and through a room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 diff --git a/tests/integration/features/sharing/get.feature b/tests/integration/features/sharing/get.feature index 9cdec8d51..c7796dd77 100644 --- a/tests/integration/features/sharing/get.feature +++ b/tests/integration/features/sharing/get.feature @@ -9,7 +9,7 @@ Feature: get Scenario: get a share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -27,7 +27,7 @@ Feature: get | share_with_displayname | Group room | Scenario: get a received share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -48,7 +48,7 @@ Feature: get Scenario: get a share using a user not invited to the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -60,7 +60,7 @@ Feature: get Scenario: get a share after changing the room name - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -93,7 +93,7 @@ Feature: get Scenario: get an expired share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -119,7 +119,7 @@ Feature: get And the HTTP status code should be "200" Scenario: get an expired share moved by the sharee - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -149,7 +149,7 @@ Feature: get Scenario: get a share after deleting its file - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -166,19 +166,19 @@ Feature: get Scenario: get all shares of a user - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | - And user "participant3" creates room "one-to-one room not invited to" + And user "participant3" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant4 | And user "participant1" creates folder "/test" @@ -238,19 +238,19 @@ Feature: get | permissions | 31 | Scenario: get all shares and reshares of a user - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | - And user "participant3" creates room "one-to-one room not invited to" + And user "participant3" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant4 | And user "participant1" creates folder "/test" @@ -337,7 +337,7 @@ Feature: get | share_with_displayname | Private conversation | Scenario: get all shares and reshares of a user who reshared a file to an owned one-to-one room - Given user "participant2" creates room "one-to-one room not invited to" + Given user "participant2" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant3 | And user "participant1" shares "welcome.txt" with user "participant2" with OCS 100 @@ -372,7 +372,7 @@ Feature: get | share_with_displayname | Private conversation | Scenario: get all shares and reshares of a user who reshared a file to a one-to-one room - Given user "participant2" creates room "one-to-one room not invited to" + Given user "participant2" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant3 | And user "participant1" shares "welcome.txt" with user "participant3" with OCS 100 @@ -407,19 +407,19 @@ Feature: get | share_with_displayname | Private conversation | Scenario: get all shares of a file - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | - And user "participant3" creates room "one-to-one room not invited to" + And user "participant3" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant4 | And user "participant1" creates folder "/test" @@ -454,19 +454,19 @@ Feature: get | share_with_displayname | Group room invited to | Scenario: get all shares of a deleted file - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | - And user "participant3" creates room "one-to-one room not invited to" + And user "participant3" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant4 | And user "participant1" creates folder "/test" @@ -483,19 +483,19 @@ Feature: get And the HTTP status code should be "200" Scenario: get all shares and reshares of a file - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | - And user "participant3" creates room "one-to-one room not invited to" + And user "participant3" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant4 | And user "participant1" creates folder "/test" @@ -555,7 +555,7 @@ Feature: get | share_with_displayname | Private conversation | Scenario: get all shares and reshares of a file reshared to a one-to-one room by its owner - Given user "participant2" creates room "one-to-one room not invited to" + Given user "participant2" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant3 | And user "participant1" shares "welcome.txt" with user "participant2" with OCS 100 @@ -590,7 +590,7 @@ Feature: get | share_with_displayname | Private conversation | Scenario: get all shares and reshares of a file reshared to a one-to-one room by its second participant - Given user "participant2" creates room "one-to-one room not invited to" + Given user "participant2" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant3 | And user "participant1" shares "welcome.txt" with user "participant3" with OCS 100 @@ -625,7 +625,7 @@ Feature: get | share_with_displayname | Private conversation | Scenario: get all shares and reshares of a file reshared to a group room not invited to - Given user "participant2" creates room "group room not invited to" + Given user "participant2" creates room "group room not invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room not invited to" to "Group room not invited to" with 200 @@ -661,7 +661,7 @@ Feature: get | share_with_displayname | Private conversation | Scenario: get all shares and reshares of a file reshared to a public room not invited to - Given user "participant2" creates room "public room not invited to" + Given user "participant2" creates room "public room not invited to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room not invited to" to "Public room not invited to" with 200 @@ -698,7 +698,7 @@ Feature: get | token | A_TOKEN | Scenario: get all shares and reshares of a file reshared to a public room invited to - Given user "participant2" creates room "public room invited to" + Given user "participant2" creates room "public room invited to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room invited to" to "Public room invited to" with 200 @@ -736,7 +736,7 @@ Feature: get | token | A_TOKEN | Scenario: get all shares and reshares of a file reshared to a public room self-joined to - Given user "participant2" creates room "public room self-joined to" + Given user "participant2" creates room "public room self-joined to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room self-joined to" to "Public room self-joined to" with 200 @@ -774,19 +774,19 @@ Feature: get | token | A_TOKEN | Scenario: get all shares and reshares of a deleted file - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | - And user "participant3" creates room "one-to-one room not invited to" + And user "participant3" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant4 | And user "participant1" creates folder "/test" @@ -803,19 +803,19 @@ Feature: get And the HTTP status code should be "200" Scenario: get all shares of a folder - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | - And user "participant3" creates room "one-to-one room not invited to" + And user "participant3" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant4 | And user "participant1" creates folder "/test" @@ -895,19 +895,19 @@ Feature: get | permissions | 31 | Scenario: get all shares of a deleted folder - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | - And user "participant3" creates room "one-to-one room not invited to" + And user "participant3" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant4 | And user "participant1" creates folder "/test" @@ -931,18 +931,18 @@ Feature: get Scenario: get all received shares of a user - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 And user "participant1" adds "participant2" to room "own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 And user "participant2" adds "participant3" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | And user "participant3" creates folder "/test" @@ -999,18 +999,18 @@ Feature: get | permissions | 31 | Scenario: get all received shares of a file - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 And user "participant1" adds "participant2" to room "own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 And user "participant2" adds "participant3" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | And user "participant3" creates folder "/test" @@ -1042,18 +1042,18 @@ Feature: get | share_with_displayname | Group room invited to | Scenario: get all received shares of a deleted file - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 And user "participant1" adds "participant2" to room "own group room" with 200 - And user "participant2" creates room "group room invited to" + And user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 And user "participant2" adds "participant1" to room "group room invited to" with 200 And user "participant2" adds "participant3" to room "group room invited to" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant3 | And user "participant3" creates folder "/test" @@ -1069,7 +1069,7 @@ Feature: get Scenario: get deleted shares when deleting an own share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1081,7 +1081,7 @@ Feature: get And the list of returned shares has 0 shares Scenario: get deleted shares when deleting a received share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -1110,7 +1110,7 @@ Feature: get And the list of returned shares has 0 shares Scenario: get deleted shares when deleting the file of an own share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1124,7 +1124,7 @@ Feature: get Scenario: get DAV properties for a share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" shares "welcome.txt" with room "group room" with OCS 100 @@ -1133,7 +1133,7 @@ Feature: get | 10 | Scenario: get DAV properties for a folder with a share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" creates folder "/test" @@ -1144,7 +1144,7 @@ Feature: get | 10 | Scenario: get DAV properties for a received share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1153,10 +1153,10 @@ Feature: get Then the response contains a share-types DAV property with Scenario: get DAV properties for a room share reshared with a user - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | - And user "participant2" creates room "another group room" + And user "participant2" creates room "another group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1168,10 +1168,10 @@ Feature: get | 10 | Scenario: get DAV properties for a user share reshared with a room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | - And user "participant2" creates room "another group room" + And user "participant2" creates room "another group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1183,10 +1183,10 @@ Feature: get | 0 | Scenario: get DAV properties for a room share reshared with a user as the resharer - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | - And user "participant2" creates room "another group room" + And user "participant2" creates room "another group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1198,10 +1198,10 @@ Feature: get | 0 | Scenario: get DAV properties for a user share reshared with a room as the resharer - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | - And user "participant2" creates room "another group room" + And user "participant2" creates room "another group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1215,7 +1215,7 @@ Feature: get # Reshares are taken into account only for the files in the folder, not the # folder itself. Scenario: get DAV properties for a reshared folder - Given user "participant2" creates room "group room" + Given user "participant2" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" creates folder "/test" @@ -1227,7 +1227,7 @@ Feature: get | 0 | Scenario: get DAV properties for a folder with a reshare - Given user "participant2" creates room "group room" + Given user "participant2" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" creates folder "/test" @@ -1241,7 +1241,7 @@ Feature: get | 10 | Scenario: get DAV properties for a folder with a reshared folder - Given user "participant2" creates room "group room" + Given user "participant2" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" creates folder "/test" @@ -1257,7 +1257,7 @@ Feature: get Scenario: get files after sharing a file - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1277,7 +1277,7 @@ Feature: get | /Talk/welcome.txt | Scenario: get files after deleting a share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1293,7 +1293,7 @@ Feature: get | /welcome.txt | Scenario: get files after deleting a received share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1310,7 +1310,7 @@ Feature: get | /welcome.txt | Scenario: get files after deleting the file of a share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -1327,7 +1327,7 @@ Feature: get Scenario: get recent files including a share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" creates folder "/test" diff --git a/tests/integration/features/sharing/hooks.feature b/tests/integration/features/sharing/hooks.feature index c58e10cef..3e5261337 100644 --- a/tests/integration/features/sharing/hooks.feature +++ b/tests/integration/features/sharing/hooks.feature @@ -9,7 +9,7 @@ Feature: hooks # Entering a room does not really require any hook to work, but conceptually # these tests belong here. Scenario: invite user to group room after a file was shared - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -28,7 +28,7 @@ Feature: hooks | share_with_displayname | Group room | Scenario: join public room after a file was shared - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room" to "Public room" with 200 @@ -50,7 +50,7 @@ Feature: hooks Scenario: remove sharer from group room after sharing a file - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -62,7 +62,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: remove herself from group room after sharing a file - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -74,7 +74,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: leave group room after sharing a file - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -105,7 +105,7 @@ Feature: hooks | share_with_displayname | Group room | Scenario: leave public room invited to after sharing a file - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room" to "Public room" with 200 @@ -138,7 +138,7 @@ Feature: hooks | token | A_TOKEN | Scenario: leave public room self joined to after sharing a file - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant2" joins room "public room" with 200 @@ -150,7 +150,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: remove sharer from group room with other shares after sharing a file - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -182,7 +182,7 @@ Feature: hooks Scenario: remove sharer from group room after sharing a file and a receiver reshared it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -228,7 +228,7 @@ Feature: hooks Scenario: remove sharee from group room after a file was shared - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -250,7 +250,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: remove sharee from group room after a file was shared and the sharee moved it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -273,7 +273,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: remove herself from group room after a file was shared - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -295,7 +295,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: remove herself from group room after a file was shared and the sharee moved it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -318,7 +318,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: leave public room self joined to after a file was shared - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room" to "Public room" with 200 @@ -341,7 +341,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: leave public room self joined to after a file was shared and the sharee moved it - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room" to "Public room" with 200 @@ -365,7 +365,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: remove sharee from group room with other sharees after a file was shared and the sharees moved it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -403,7 +403,7 @@ Feature: hooks Scenario: remove sharee from group room after a file was shared and the sharee reshared it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -447,7 +447,7 @@ Feature: hooks Scenario: add sharer again to group room after sharing a file and the sharer was removed from the room - Given user "participant2" creates room "group room" + Given user "participant2" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant2" adds "participant1" to room "group room" with 200 @@ -460,7 +460,7 @@ Feature: hooks And the list of returned shares has 0 shares Scenario: add sharer again to group room after sharing a file and the sharer removed herself from the room - Given user "participant2" creates room "group room" + Given user "participant2" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant2" adds "participant1" to room "group room" with 200 @@ -473,7 +473,7 @@ Feature: hooks And the list of returned shares has 0 shares Scenario: join public room again after sharing a file and the sharer left the room - Given user "participant2" creates room "public room" + Given user "participant2" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" joins room "public room" with 200 @@ -488,7 +488,7 @@ Feature: hooks Scenario: add sharer again to group room after sharing a file and a receiver reshared it and the sharer was removed from the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -535,7 +535,7 @@ Feature: hooks Scenario: add sharee again to group room after a file was shared and the sharee was removed from the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -557,7 +557,7 @@ Feature: hooks | share_with_displayname | Group room | Scenario: add sharee again to group room after a file was shared and moved by the sharee and the sharee was removed from the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -580,7 +580,7 @@ Feature: hooks | share_with_displayname | Group room | Scenario: add sharee again to group room after a file was shared and the sharee removed herself from the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -602,7 +602,7 @@ Feature: hooks | share_with_displayname | Group room | Scenario: add sharee again to group room after a file was shared and moved by the sharee and the sharee removed herself from the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -625,7 +625,7 @@ Feature: hooks | share_with_displayname | Group room | Scenario: join sharee again to public room after a file was shared and the sharee left the room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room" to "Public room" with 200 @@ -648,7 +648,7 @@ Feature: hooks | token | A_TOKEN | Scenario: join sharee again to public room after a file was shared and moved by the sharee and the sharee left the room - Given user "participant1" creates room "public room" + Given user "participant1" creates room "public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room" to "Public room" with 200 @@ -674,7 +674,7 @@ Feature: hooks Scenario: add sharee again to group room after a file was shared and the sharee reshared it and the sharee was removed from the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -729,7 +729,7 @@ Feature: hooks Scenario: delete one-to-one room after sharing a file - Given user "participant1" creates room "own one-to-one room" + Given user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" shares "welcome.txt" with room "own one-to-one room" with OCS 100 @@ -743,7 +743,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: delete group room after sharing a file - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "own group room" with 200 @@ -755,7 +755,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: delete public room after sharing a file - Given user "participant1" creates room "own public room" + Given user "participant1" creates room "own public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" adds "participant2" to room "own public room" with 200 @@ -770,7 +770,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: delete room after a file was shared and the sharee moved it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -783,7 +783,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: delete room after a file was shared and the sharee reshared it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -814,7 +814,7 @@ Feature: hooks | share_type | 0 | Scenario: delete room after a file was shared and the sharee moved and reshared it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room" with 200 @@ -846,15 +846,15 @@ Feature: hooks | share_type | 0 | Scenario: delete room after sharing a file with several rooms - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 - And user "participant1" creates room "another group room" + And user "participant1" creates room "another group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "another group room" to "Another group room" with 200 - And user "participant1" creates room "yet another group room" + And user "participant1" creates room "yet another group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "yet another group room" to "Yet another group room" with 200 @@ -913,7 +913,7 @@ Feature: hooks Scenario: delete user after sharing a file - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" adds "participant2" to room "group room invited to" with 200 @@ -923,7 +923,7 @@ Feature: hooks And the OCS status code should be "404" Scenario: delete user after receiving a shared a file - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room invited to" with 200 @@ -955,7 +955,7 @@ Feature: hooks | share_with_displayname | Group room invited to | Scenario: delete user after receiving and moving a shared a file - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room invited to" with 200 @@ -988,7 +988,7 @@ Feature: hooks | share_with_displayname | Group room invited to | Scenario: delete user after resharing a file - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room invited to" with 200 diff --git a/tests/integration/features/sharing/move.feature b/tests/integration/features/sharing/move.feature index fbd035bdd..0cbf86ac1 100644 --- a/tests/integration/features/sharing/move.feature +++ b/tests/integration/features/sharing/move.feature @@ -7,7 +7,7 @@ Feature: move Given user "participant4" exists Scenario: move share to another folder - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -53,7 +53,7 @@ Feature: move # # When an own share is moved into a received shared folder the ownership of # # the share is handed over to the folder owner. # Scenario: move share to received shared folder from a user in the room -# Given user "participant1" creates room "group room" +# Given user "participant1" creates room "group room" (v4) # | roomType | 2 | # | roomName | room | # And user "participant1" renames room "group room" to "Group room" with 200 @@ -104,7 +104,7 @@ Feature: move # | share_with_displayname | Group room | # Scenario: move share to received shared folder from a user not in the room -# Given user "participant1" creates room "group room" +# Given user "participant1" creates room "group room" (v4) # | roomType | 2 | # | roomName | room | # And user "participant1" renames room "group room" to "Group room" with 200 @@ -155,7 +155,7 @@ Feature: move # | share_with_displayname | Group room | # Scenario: move share to received shared folder which is also a received shared folder -# Given user "participant1" creates room "group room" +# Given user "participant1" creates room "group room" (v4) # | roomType | 2 | # | roomName | room | # And user "participant1" renames room "group room" to "Group room" with 200 @@ -209,7 +209,7 @@ Feature: move # And the HTTP status code should be "200" Scenario: move received share to another folder - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -257,7 +257,7 @@ Feature: move # Received shares can not be moved into other shares (general limitation of # the sharing system, not related to room shares). Scenario: move received share to shared folder - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 diff --git a/tests/integration/features/sharing/restore.feature b/tests/integration/features/sharing/restore.feature index 4ad03f0ef..915109b0d 100644 --- a/tests/integration/features/sharing/restore.feature +++ b/tests/integration/features/sharing/restore.feature @@ -6,7 +6,7 @@ Feature: delete Given user "participant3" exists Scenario: restore deleted share - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -54,7 +54,7 @@ Feature: delete | share_with_displayname | Group room | Scenario: restore share deleted after moving it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -103,7 +103,7 @@ Feature: delete | share_with_displayname | Group room | Scenario: restore deleted share after owner updated it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 diff --git a/tests/integration/features/sharing/sharees.feature b/tests/integration/features/sharing/sharees.feature index efd5eebf7..81919e3b2 100644 --- a/tests/integration/features/sharing/sharees.feature +++ b/tests/integration/features/sharing/sharees.feature @@ -7,14 +7,14 @@ Feature: sharees And user "participant2" is member of group "attendees1" Scenario: search empty name - Given user "participant1" creates room "unnamed own group room" + Given user "participant1" creates room "unnamed own group room" (v4) | roomType | 2 | | roomName | room | - And user "participant1" creates room "own group room" + And user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Group room" with 200 - And user "participant1" creates room "own one-to-one room" + And user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant2 | When user "participant1" gets sharees for @@ -23,7 +23,7 @@ Feature: sharees And "rooms" sharees returned is empty Scenario: search one-to-one room - Given user "participant1" creates room "one-to-one room" + Given user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | When user "participant1" gets sharees for @@ -34,7 +34,7 @@ Feature: sharees Scenario: search own group room with no matches - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Group room" with 200 @@ -44,7 +44,7 @@ Feature: sharees And "rooms" sharees returned is empty Scenario: search own group room with single match - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Group room" with 200 @@ -55,7 +55,7 @@ Feature: sharees | Group room | own group room | Scenario: search own group room with single exact match - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Group room" with 200 @@ -66,11 +66,11 @@ Feature: sharees And "rooms" sharees returned is empty Scenario: search own group room with several matches - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Group room" with 200 - And user "participant1" creates room "another own group room" + And user "participant1" creates room "another own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "another own group room" to "Another group room" with 200 @@ -84,11 +84,11 @@ Feature: sharees Scenario: search group room not invited to - Given user "participant1" creates room "group room not invited to" + Given user "participant1" creates room "group room not invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room not invited to" to "Group room" with 200 - And user "participant2" creates room "another group room not invited to" + And user "participant2" creates room "another group room not invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "another group room not invited to" to "Another group room" with 200 @@ -98,7 +98,7 @@ Feature: sharees And "rooms" sharees returned is empty Scenario: search group room invited to with single match - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room" with 200 @@ -110,7 +110,7 @@ Feature: sharees | Group room | group room invited to | Scenario: search group room invited to with single exact match - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room" with 200 @@ -122,12 +122,12 @@ Feature: sharees And "rooms" sharees returned is empty Scenario: search group room invited to with several matches - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room" with 200 And user "participant1" adds "participant2" to room "group room invited to" with 200 - And user "participant1" creates room "another group room invited to" + And user "participant1" creates room "another group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "another group room invited to" to "Another group room" with 200 @@ -142,7 +142,7 @@ Feature: sharees Scenario: search group room invited to as member of a group with single match - Given user "participant1" creates room "group room invited to as member of a group" + Given user "participant1" creates room "group room invited to as member of a group" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" renames room "group room invited to as member of a group" to "Group room" with 200 @@ -153,7 +153,7 @@ Feature: sharees | Group room | group room invited to as member of a group | Scenario: search group room invited to as member of a group with single exact match - Given user "participant1" creates room "group room invited to as member of a group" + Given user "participant1" creates room "group room invited to as member of a group" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" renames room "group room invited to as member of a group" to "Group room" with 200 @@ -164,11 +164,11 @@ Feature: sharees And "rooms" sharees returned is empty Scenario: search group room invited to as member of a group with several matches - Given user "participant1" creates room "group room invited to as member of a group" + Given user "participant1" creates room "group room invited to as member of a group" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" renames room "group room invited to as member of a group" to "Group room" with 200 - And user "participant1" creates room "another group room invited to as member of a group" + And user "participant1" creates room "another group room invited to as member of a group" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" renames room "another group room invited to as member of a group" to "Another group room" with 200 @@ -182,11 +182,11 @@ Feature: sharees Scenario: search public room not joined to - Given user "participant1" creates room "public room not joined to" + Given user "participant1" creates room "public room not joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room not joined to" to "Public room" with 200 - And user "participant2" creates room "another public room not joined to" + And user "participant2" creates room "another public room not joined to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "another public room not joined to" to "Another public room" with 200 @@ -196,7 +196,7 @@ Feature: sharees And "rooms" sharees returned is empty Scenario: search public room self joined to with single match - Given user "participant1" creates room "public room self joined to" + Given user "participant1" creates room "public room self joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room self joined to" to "Public room" with 200 @@ -208,7 +208,7 @@ Feature: sharees | Public room | public room self joined to | Scenario: search public room self joined to with single exact match - Given user "participant1" creates room "public room self joined to" + Given user "participant1" creates room "public room self joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room self joined to" to "Public room" with 200 @@ -220,12 +220,12 @@ Feature: sharees And "rooms" sharees returned is empty Scenario: search public room self joined to with several matches - Given user "participant1" creates room "public room self joined to" + Given user "participant1" creates room "public room self joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room self joined to" to "Public room" with 200 And user "participant2" joins room "public room self joined to" with 200 - And user "participant1" creates room "another public room self joined to" + And user "participant1" creates room "another public room self joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "another public room self joined to" to "Another public room" with 200 @@ -240,30 +240,30 @@ Feature: sharees Scenario: search room with several matches - Given user "participant1" creates room "group room invited to as member of a group" + Given user "participant1" creates room "group room invited to as member of a group" (v4) | roomType | 2 | | invite | attendees1 | And user "participant1" renames room "group room invited to as member of a group" to "Room" with 200 - And user "participant1" creates room "group room invited to" + And user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room" with 200 And user "participant1" adds "participant2" to room "group room invited to" with 200 - And user "participant1" creates room "group room not invited to" + And user "participant1" creates room "group room not invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room not invited to" to "Group room not invited to" with 200 - And user "participant2" creates room "case insensitive match" + And user "participant2" creates room "case insensitive match" (v4) | roomType | 2 | | roomName | room | - And user "participant2" creates room "own group room" + And user "participant2" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "own group room" to "Own group room" with 200 - And user "participant1" creates room "one-to-one room invited to" + And user "participant1" creates room "one-to-one room invited to" (v4) | roomType | 1 | | invite | participant2 | - And user "participant2" creates room "own public room" + And user "participant2" creates room "own public room" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "own public room" to "Own public room" with 200 diff --git a/tests/integration/features/sharing/transfer-ownership.feature b/tests/integration/features/sharing/transfer-ownership.feature index 3ebeca3cc..766074a95 100644 --- a/tests/integration/features/sharing/transfer-ownership.feature +++ b/tests/integration/features/sharing/transfer-ownership.feature @@ -6,7 +6,7 @@ Feature: transfer-ownership Given user "participant3" exists Scenario: transfer ownership of a file shared with a room to a user in the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -49,7 +49,7 @@ Feature: transfer-ownership | share_with_displayname | Group room | Scenario: transfer ownership of a file reshared with a room to a user in the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -102,7 +102,7 @@ Feature: transfer-ownership # This is a special case in which even if the (now) sharer is not in a room # the room share is valid and other participants can access that share. Scenario: transfer ownership of a file shared with a room to a user not in the room - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 diff --git a/tests/integration/features/sharing/update.feature b/tests/integration/features/sharing/update.feature index f44daaa2b..8a9571b14 100644 --- a/tests/integration/features/sharing/update.feature +++ b/tests/integration/features/sharing/update.feature @@ -6,7 +6,7 @@ Feature: update Given user "participant3" exists Scenario: update share with an owned one-to-one room - Given user "participant1" creates room "own one-to-one room" + Given user "participant1" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" shares "welcome.txt" with room "own one-to-one room" with OCS 100 @@ -53,7 +53,7 @@ Feature: update | expiration | +3 days | Scenario: update share with a one-to-one room invited to - Given user "participant2" creates room "one-to-one room invited to" + Given user "participant2" creates room "one-to-one room invited to" (v4) | roomType | 1 | | invite | participant1 | And user "participant1" shares "welcome.txt" with room "one-to-one room invited to" with OCS 100 @@ -100,7 +100,7 @@ Feature: update | expiration | +3 days | Scenario: update share with an owned group room - Given user "participant1" creates room "own group room" + Given user "participant1" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "own group room" to "Own group room" with 200 @@ -149,7 +149,7 @@ Feature: update | expiration | +3 days | Scenario: update share with a group room invited to - Given user "participant2" creates room "group room invited to" + Given user "participant2" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room invited to" to "Group room invited to" with 200 @@ -198,7 +198,7 @@ Feature: update | expiration | +3 days | Scenario: update share with an owned public room - Given user "participant1" creates room "own public room" + Given user "participant1" creates room "own public room" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "own public room" to "Own public room" with 200 @@ -265,7 +265,7 @@ Feature: update | expiration | +3 days | Scenario: update share with a public room invited to - Given user "participant2" creates room "public room invited to" + Given user "participant2" creates room "public room invited to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room invited to" to "Public room invited to" with 200 @@ -332,7 +332,7 @@ Feature: update | expiration | +3 days | Scenario: update share with a public room self joined to - Given user "participant2" creates room "public room self joined to" + Given user "participant2" creates room "public room self joined to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room self joined to" to "Public room self joined to" with 200 @@ -401,7 +401,7 @@ Feature: update Scenario: update (unknown) share with a one-to-one room not invited to - Given user "participant2" creates room "one-to-one room not invited to" + Given user "participant2" creates room "one-to-one room not invited to" (v4) | roomType | 1 | | invite | participant3 | And user "participant2" shares "welcome.txt" with room "one-to-one room not invited to" with OCS 100 @@ -434,7 +434,7 @@ Feature: update | share_with_displayname | participant2-displayname | Scenario: update (unknown) share with a group room not invited to - Given user "participant2" creates room "group room not invited to" + Given user "participant2" creates room "group room not invited to" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "group room not invited to" to "Group room not invited to" with 200 @@ -469,7 +469,7 @@ Feature: update | share_with_displayname | Group room not invited to | Scenario: update (unknown) share with a public room not joined to - Given user "participant2" creates room "public room not joined to" + Given user "participant2" creates room "public room not joined to" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "public room not joined to" to "Public room not joined to" with 200 @@ -508,7 +508,7 @@ Feature: update Scenario: update received share with an owned one-to-one room - Given user "participant2" creates room "own one-to-one room" + Given user "participant2" creates room "own one-to-one room" (v4) | roomType | 1 | | invite | participant1 | And user "participant1" shares "welcome.txt" with room "own one-to-one room" with OCS 100 @@ -541,7 +541,7 @@ Feature: update | share_with_displayname | participant1-displayname | Scenario: update received share with a one-to-one room invited to - Given user "participant1" creates room "one-to-one room invited to" + Given user "participant1" creates room "one-to-one room invited to" (v4) | roomType | 1 | | invite | participant2 | And user "participant1" shares "welcome.txt" with room "one-to-one room invited to" with OCS 100 @@ -574,7 +574,7 @@ Feature: update | share_with_displayname | participant1-displayname | Scenario: update received share with an owned group room - Given user "participant2" creates room "own group room" + Given user "participant2" creates room "own group room" (v4) | roomType | 2 | | roomName | room | And user "participant2" renames room "own group room" to "Own group room" with 200 @@ -609,7 +609,7 @@ Feature: update | share_with_displayname | Own group room | Scenario: update received share with a group room invited to - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room invited to" with 200 @@ -656,7 +656,7 @@ Feature: update | share_with_displayname | Group room invited to | Scenario: update received share with a group room no longer invited to - Given user "participant1" creates room "group room no longer invited to" + Given user "participant1" creates room "group room no longer invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room no longer invited to" to "Group room no longer invited to" with 200 @@ -696,7 +696,7 @@ Feature: update | share_with_displayname | Group room no longer invited to | Scenario: update received share with an owned public room - Given user "participant2" creates room "own public room" + Given user "participant2" creates room "own public room" (v4) | roomType | 3 | | roomName | room | And user "participant2" renames room "own public room" to "Own public room" with 200 @@ -746,7 +746,7 @@ Feature: update | token | A_TOKEN | Scenario: update received share with a public room invited to - Given user "participant1" creates room "public room invited to" + Given user "participant1" creates room "public room invited to" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room invited to" to "Public room invited to" with 200 @@ -796,7 +796,7 @@ Feature: update | token | A_TOKEN | Scenario: update received share with a public room self joined to - Given user "participant1" creates room "public room self joined to" + Given user "participant1" creates room "public room self joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room self joined to" to "Public room self joined to" with 200 @@ -846,7 +846,7 @@ Feature: update | token | A_TOKEN | Scenario: update received share with a public room no longer joined to - Given user "participant1" creates room "public room no longer joined to" + Given user "participant1" creates room "public room no longer joined to" (v4) | roomType | 3 | | roomName | room | And user "participant1" renames room "public room no longer joined to" to "Public room no longer joined to" with 200 @@ -890,7 +890,7 @@ Feature: update Scenario: update received share after moving it - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room invited to" with 200 @@ -939,7 +939,7 @@ Feature: update | share_with_displayname | Group room invited to | Scenario: update received share with a room no longer invited to after moving it - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room invited to" with 200 @@ -983,7 +983,7 @@ Feature: update Scenario: update received share with increased permissions - Given user "participant1" creates room "group room invited to" + Given user "participant1" creates room "group room invited to" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room invited to" to "Group room invited to" with 200 @@ -1023,7 +1023,7 @@ Feature: update Scenario: update share after sharee deleted it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 @@ -1062,7 +1062,7 @@ Feature: update And the OCS status code should be "404" Scenario: update received share after deleting it - Given user "participant1" creates room "group room" + Given user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | And user "participant1" renames room "group room" to "Group room" with 200 |