Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-04 14:56:17 +0300
committerJoas Schilling <coding@schilljs.com>2021-03-08 13:56:19 +0300
commit5ba0871fd3fd6387a9822667d10babc0a39d3340 (patch)
tree9a7d95314c7fbd9c04626eb0e13ab572f3738c99 /tests
parent8eae2e88950481fffef18e685e083ca37d846004 (diff)
Add API version to files/share integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/bootstrap/FeatureContext.php12
-rw-r--r--tests/integration/features/chat/mentions.feature44
-rw-r--r--tests/integration/features/chat/system-messages.feature6
-rw-r--r--tests/integration/features/conversation/files.feature152
-rw-r--r--tests/integration/features/conversation/lobby.feature4
-rw-r--r--tests/integration/features/conversation/password-request.feature36
-rw-r--r--tests/integration/features/conversation/set-description.feature4
-rw-r--r--tests/integration/features/conversation/set-listable.feature2
8 files changed, 130 insertions, 130 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php
index e9e6da24f..d9a6ae167 100644
--- a/tests/integration/features/bootstrap/FeatureContext.php
+++ b/tests/integration/features/bootstrap/FeatureContext.php
@@ -520,14 +520,14 @@ class FeatureContext implements Context, SnippetAcceptingContext {
}
/**
- * @Then /^user "([^"]*)" gets the room for path "([^"]*)" with (\d+)(?: \((v(1|2|3))\))?$/
+ * @Then /^user "([^"]*)" gets the room for path "([^"]*)" with (\d+) \((v1)\)$/
*
* @param string $user
* @param string $path
* @param int $statusCode
* @param string $apiVersion
*/
- public function userGetsTheRoomForPath($user, $path, $statusCode, $apiVersion = 'v1') {
+ public function userGetsTheRoomForPath(string $user, string $path, int $statusCode, string $apiVersion) {
$fileId = $this->getFileIdForPath($user, $path);
$this->setCurrentUser($user);
@@ -607,13 +607,13 @@ class FeatureContext implements Context, SnippetAcceptingContext {
}
/**
- * @Then /^user "([^"]*)" gets the room for last share with (\d+)(?: \((v(1|2|3))\))?$/
+ * @Then /^user "([^"]*)" gets the room for last share with (\d+) \((v1)\)$/
*
* @param string $user
* @param int $statusCode
* @param string $apiVersion
*/
- public function userGetsTheRoomForLastShare($user, $statusCode, $apiVersion = 'v1') {
+ public function userGetsTheRoomForLastShare(string $user, int $statusCode, string $apiVersion) {
$shareToken = $this->sharingContext->getLastShareToken();
$this->setCurrentUser($user);
@@ -632,13 +632,13 @@ class FeatureContext implements Context, SnippetAcceptingContext {
}
/**
- * @Then /^user "([^"]*)" creates the password request room for last share with (\d+)(?: \((v(1|2|3))\))?$/
+ * @Then /^user "([^"]*)" creates the password request room for last share with (\d+) \((v1)\)$/
*
* @param string $user
* @param int $statusCode
* @param string $apiVersion
*/
- public function userCreatesThePasswordRequestRoomForLastShare($user, $statusCode, $apiVersion = 'v1') {
+ public function userCreatesThePasswordRequestRoomForLastShare(string $user, int $statusCode, string $apiVersion) {
$shareToken = $this->sharingContext->getLastShareToken();
$this->setCurrentUser($user);
diff --git a/tests/integration/features/chat/mentions.feature b/tests/integration/features/chat/mentions.feature
index 2d819f6e9..f4ee6b140 100644
--- a/tests/integration/features/chat/mentions.feature
+++ b/tests/integration/features/chat/mentions.feature
@@ -255,7 +255,7 @@ Feature: chat/mentions
Scenario: get mentions in a file room with no other joined participant
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant1" gets the room for path "welcome.txt" with 200
+ When user "participant1" gets the room for path "welcome.txt" with 200 (v1)
And user "participant1" joins room "file welcome.txt room" with 200
And user "participant1" is participant of room "file welcome.txt room" (v4)
And user "participant2" is not participant of room "file welcome.txt room" (v4)
@@ -268,7 +268,7 @@ Feature: chat/mentions
Scenario: get mentions in a file room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant2" gets the room for path "welcome (2).txt" with 200
+ When user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant1" joins room "file welcome (2).txt room" with 200
And user "participant2" joins room "file welcome (2).txt room" with 200
And user "participant1" is participant of room "file welcome (2).txt room" (v4)
@@ -285,7 +285,7 @@ Feature: chat/mentions
Scenario: get matched mentions in a file room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant2" gets the room for path "welcome (2).txt" with 200
+ When user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant1" joins room "file welcome (2).txt room" with 200
And user "participant2" joins room "file welcome (2).txt room" with 200
And user "participant1" is participant of room "file welcome (2).txt room" (v4)
@@ -300,7 +300,7 @@ Feature: chat/mentions
Scenario: get unmatched mentions in a file room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant2" gets the room for path "welcome (2).txt" with 200
+ When user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant1" joins room "file welcome (2).txt room" with 200
And user "participant2" joins room "file welcome (2).txt room" with 200
And user "participant1" is participant of room "file welcome (2).txt room" (v4)
@@ -311,7 +311,7 @@ Feature: chat/mentions
Scenario: get mentions in a file room with a participant without access to the file
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant2" gets the room for path "welcome (2).txt" with 200
+ When user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant1" joins room "file welcome (2).txt room" with 200
And user "participant2" joins room "file welcome (2).txt room" with 200
And user "participant1" is participant of room "file welcome (2).txt room" (v4)
@@ -321,7 +321,7 @@ Feature: chat/mentions
Scenario: mention a participant with access to the file but not joined in a file room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
And user "participant1" joins room "file welcome.txt room" with 200
And user "participant1" is participant of room "file welcome.txt room" (v4)
And user "participant2" is not participant of room "file welcome.txt room" (v4)
@@ -334,7 +334,7 @@ Feature: chat/mentions
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- When user "participant1" gets the room for last share with 200
+ When user "participant1" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
And user "participant2" is not participant of room "file last share room" (v4)
@@ -352,18 +352,18 @@ Feature: chat/mentions
And user "participant1" shares "welcome.txt" with user "participant4" with OCS 100
And user "participant4" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- When user "participant1" gets the room for last share with 200
+ When user "participant1" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant2" joins room "file last share room" with 200
# Users without access to a file shared by link need to log in (so further
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant3" logs in
- And user "participant3" gets the room for last share with 200
+ And user "participant3" gets the room for last share with 200 (v1)
And user "participant3" joins room "file last share room" with 200
# Guests need to get the room (so the share token is stored in the session)
# to be able to join it.
- And user "guest" gets the room for last share with 200
+ And user "guest" gets the room for last share with 200 (v1)
And user "guest" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
And user "participant2" is participant of room "file last share room" (v4)
@@ -406,18 +406,18 @@ Feature: chat/mentions
And user "participant1" shares "welcome.txt" with user "participant4" with OCS 100
And user "participant4" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- When user "participant2" gets the room for last share with 200
+ When user "participant2" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant2" joins room "file last share room" with 200
# Users without access to a file shared by link need to log in (so further
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant3" logs in
- And user "participant3" gets the room for last share with 200
+ And user "participant3" gets the room for last share with 200 (v1)
And user "participant3" joins room "file last share room" with 200
# Guests need to get the room (so the share token is stored in the session)
# to be able to join it.
- And user "guest" gets the room for last share with 200
+ And user "guest" gets the room for last share with 200 (v1)
And user "guest" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
And user "participant2" is participant of room "file last share room" (v4)
@@ -453,18 +453,18 @@ Feature: chat/mentions
And user "participant1" shares "welcome.txt" with user "participant4" with OCS 100
And user "participant4" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- When user "participant2" gets the room for last share with 200
+ When user "participant2" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant2" joins room "file last share room" with 200
# Users without access to a file shared by link need to log in (so further
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant3" logs in
- And user "participant3" gets the room for last share with 200
+ And user "participant3" gets the room for last share with 200 (v1)
And user "participant3" joins room "file last share room" with 200
# Guests need to get the room (so the share token is stored in the session)
# to be able to join it.
- And user "guest" gets the room for last share with 200
+ And user "guest" gets the room for last share with 200 (v1)
And user "guest" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
And user "participant2" is participant of room "file last share room" (v4)
@@ -479,7 +479,7 @@ Feature: chat/mentions
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- When user "participant2" gets the room for last share with 200
+ When user "participant2" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant2" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
@@ -491,7 +491,7 @@ Feature: chat/mentions
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant1" gets the room for last share with 200
+ And user "participant1" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
And user "participant2" is not participant of room "file last share room" (v4)
@@ -506,11 +506,11 @@ Feature: chat/mentions
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant3" logs in
- And user "participant3" gets the room for last share with 200
+ And user "participant3" gets the room for last share with 200 (v1)
And user "participant3" joins room "file last share room" with 200
# Guests need to get the room (so the share token is stored in the session)
# to be able to join it.
- And user "guest" gets the room for last share with 200
+ And user "guest" gets the room for last share with 200 (v1)
And user "guest" joins room "file last share room" with 200
And user "participant2" is not participant of room "file last share room" (v4)
When user "participant3" sends message "hi @participant2" to room "file last share room" with 201
@@ -521,13 +521,13 @@ Feature: chat/mentions
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant1" gets the room for last share with 200
+ And user "participant1" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
# Users without access to a file shared by link need to log in (so further
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant3" logs in
- And user "participant3" gets the room for last share with 200
+ And user "participant3" gets the room for last share with 200 (v1)
And user "participant3" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
And user "participant3" is participant of room "file last share room" (v4)
diff --git a/tests/integration/features/chat/system-messages.feature b/tests/integration/features/chat/system-messages.feature
index c532f1fcf..ab0999df9 100644
--- a/tests/integration/features/chat/system-messages.feature
+++ b/tests/integration/features/chat/system-messages.feature
@@ -127,7 +127,7 @@ Feature: System messages
Scenario: Joining room for file
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
When user "participant1" joins room "file welcome.txt room" with 200
And user "participant2" joins room "file welcome.txt room" with 200
Then user "participant1" sees the following system messages in room "file welcome.txt room" with 200
@@ -143,12 +143,12 @@ Feature: System messages
Scenario: Joining room for link share
Given user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant1" gets the room for last share with 200
+ And user "participant1" gets the room for last share with 200 (v1)
# Users without access to a file shared by link need to log in (so further
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant2" logs in
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
When user "participant1" joins room "file last share room" with 200
And user "participant2" joins room "file last share room" with 200
Then user "participant1" sees the following system messages in room "file last share room" with 200
diff --git a/tests/integration/features/conversation/files.feature b/tests/integration/features/conversation/files.feature
index 67b773581..819ca706d 100644
--- a/tests/integration/features/conversation/files.feature
+++ b/tests/integration/features/conversation/files.feature
@@ -11,15 +11,15 @@ Feature: conversation/files
# can later be used by any participant using the "file YYY room" identifier.
Scenario: get room for file not shared
- When user "participant1" gets the room for path "welcome.txt" with 404
+ When user "participant1" gets the room for path "welcome.txt" with 404 (v1)
Scenario: get room for file shared with user
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant1" gets the room for path "welcome.txt" with 200
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ When user "participant1" gets the room for path "welcome.txt" with 200 (v1)
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
Then user "participant1" is not participant of room "file welcome (2).txt room" (v4)
And user "participant2" is not participant of room "file welcome (2).txt room" (v4)
@@ -27,16 +27,16 @@ Feature: conversation/files
Given user "participant1" creates folder "/test"
And user "participant1" shares "test" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant1" gets the room for path "test" with 404
- And user "participant2" gets the room for path "test" with 404
+ When user "participant1" gets the room for path "test" with 404 (v1)
+ And user "participant2" gets the room for path "test" with 404 (v1)
Scenario: get room for file in folder shared with user
Given user "participant1" creates folder "/test"
And user "participant1" moves file "/welcome.txt" to "/test/renamed.txt" with 201
And user "participant1" shares "test" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant1" gets the room for path "test/renamed.txt" with 200
- And user "participant2" gets the room for path "test/renamed.txt" with 200
+ When user "participant1" gets the room for path "test/renamed.txt" with 200 (v1)
+ And user "participant2" gets the room for path "test/renamed.txt" with 200 (v1)
Then user "participant1" is not participant of room "file test/renamed.txt room" (v4)
And user "participant2" is not participant of room "file test/renamed.txt room" (v4)
@@ -47,9 +47,9 @@ Feature: conversation/files
And user "participant2" accepts last share
And user "participant2" shares "test" with user "participant3" with OCS 100
And user "participant3" accepts last share
- When user "participant1" gets the room for path "test/renamed.txt" with 200
- And user "participant2" gets the room for path "test/renamed.txt" with 200
- And user "participant3" gets the room for path "test/renamed.txt" with 200
+ When user "participant1" gets the room for path "test/renamed.txt" with 200 (v1)
+ And user "participant2" gets the room for path "test/renamed.txt" with 200 (v1)
+ And user "participant3" gets the room for path "test/renamed.txt" with 200 (v1)
Then user "participant1" is not participant of room "file test/renamed.txt room" (v4)
And user "participant2" is not participant of room "file test/renamed.txt room" (v4)
And user "participant3" is not participant of room "file test/renamed.txt room" (v4)
@@ -58,15 +58,15 @@ Feature: conversation/files
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" deletes last share
- When user "participant1" gets the room for path "welcome.txt" with 404
+ When user "participant1" gets the room for path "welcome.txt" with 404 (v1)
Scenario: get room for file shared with group
Given user "participant1" shares "welcome.txt" with group "group1" with OCS 100
And user "participant2" accepts last share
- When user "participant1" gets the room for path "welcome.txt" with 200
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ When user "participant1" gets the room for path "welcome.txt" with 200 (v1)
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
Then user "participant1" is not participant of room "file welcome (2).txt room" (v4)
And user "participant2" is not participant of room "file welcome (2).txt room" (v4)
@@ -75,9 +75,9 @@ Feature: conversation/files
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" with user "participant3" with OCS 100
And user "participant3" accepts last share
- When user "participant1" gets the room for path "welcome.txt" with 200
- And user "participant2" gets the room for path "welcome (2).txt" with 200
- And user "participant3" gets the room for path "welcome (2).txt" with 200
+ When user "participant1" gets the room for path "welcome.txt" with 200 (v1)
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
+ And user "participant3" gets the room for path "welcome (2).txt" with 200 (v1)
Then user "participant1" is not participant of room "file welcome (2).txt room" (v4)
And user "participant2" is not participant of room "file welcome (2).txt room" (v4)
And user "participant3" is not participant of room "file welcome (2).txt room" (v4)
@@ -88,10 +88,10 @@ Feature: conversation/files
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- When user "participant1" gets the room for last share with 200
- And user "participant2" gets the room for last share with 200
- And user "participant3" gets the room for last share with 200
- And user "guest" gets the room for last share with 200
+ When user "participant1" gets the room for last share with 200 (v1)
+ And user "participant2" gets the room for last share with 200 (v1)
+ And user "participant3" gets the room for last share with 200 (v1)
+ And user "guest" gets the room for last share with 200 (v1)
Then user "participant1" is not participant of room "file last share room" (v4)
And user "participant2" is not participant of room "file last share room" (v4)
And user "participant3" is not participant of room "file last share room" (v4)
@@ -102,49 +102,49 @@ Feature: conversation/files
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
- When user "participant1" gets the room for last share with 404
- And user "participant2" gets the room for last share with 404
- And user "participant3" gets the room for last share with 404
- And user "guest" gets the room for last share with 404
+ When user "participant1" gets the room for last share with 404 (v1)
+ And user "participant2" gets the room for last share with 404 (v1)
+ And user "participant3" gets the room for last share with 404 (v1)
+ And user "guest" gets the room for last share with 404 (v1)
Scenario: get room for link share of a folder
Given user "participant1" creates folder "/test"
And user "participant1" shares "test" by link with OCS 100
- When user "participant1" gets the room for last share with 404
- And user "participant2" gets the room for last share with 404
- And user "guest" gets the room for last share with 404
+ When user "participant1" gets the room for last share with 404 (v1)
+ And user "participant2" gets the room for last share with 404 (v1)
+ And user "guest" gets the room for last share with 404 (v1)
Scenario: get room for link no longer shared
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
And user "participant1" deletes last share
- When user "participant1" gets the room for last share with 404
- And user "participant2" gets the room for last share with 404
- And user "participant3" gets the room for last share with 404
- And user "guest" gets the room for last share with 404
+ When user "participant1" gets the room for last share with 404 (v1)
+ And user "participant2" gets the room for last share with 404 (v1)
+ And user "participant3" gets the room for last share with 404 (v1)
+ And user "guest" gets the room for last share with 404 (v1)
Scenario: get room for file shared by link
Given user "participant1" shares "welcome.txt" by link with OCS 100
- When user "participant1" gets the room for path "welcome.txt" with 200
+ When user "participant1" gets the room for path "welcome.txt" with 200 (v1)
Then user "participant1" is not participant of room "file welcome.txt room" (v4)
Scenario: get room for file shared by link and protected by password
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
- When user "participant1" gets the room for path "welcome.txt" with 200
+ When user "participant1" gets the room for path "welcome.txt" with 200 (v1)
Then user "participant1" is not participant of room "file welcome.txt room" (v4)
Scenario: get room for folder shared by link
Given user "participant1" creates folder "/test"
And user "participant1" shares "test" by link with OCS 100
- When user "participant1" gets the room for path "test" with 404
+ When user "participant1" gets the room for path "test" with 404 (v1)
Scenario: get room for file in folder shared by link
Given user "participant1" creates folder "/test"
And user "participant1" moves file "/welcome.txt" to "/test/renamed.txt" with 201
And user "participant1" shares "test" by link with OCS 100
- When user "participant1" gets the room for path "test/renamed.txt" with 404
+ When user "participant1" gets the room for path "test/renamed.txt" with 404 (v1)
Scenario: get room for file in folder shared by link and reshared with user
Given user "participant1" creates folder "/test"
@@ -152,8 +152,8 @@ Feature: conversation/files
And user "participant1" shares "test" by link with OCS 100
And user "participant1" shares "test" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant1" gets the room for path "test/renamed.txt" with 200
- And user "participant2" gets the room for path "test/renamed.txt" with 200
+ When user "participant1" gets the room for path "test/renamed.txt" with 200 (v1)
+ And user "participant2" gets the room for path "test/renamed.txt" with 200 (v1)
Then user "participant1" is not participant of room "file test/renamed.txt room" (v4)
And user "participant2" is not participant of room "file test/renamed.txt room" (v4)
@@ -161,8 +161,8 @@ Feature: conversation/files
Given user "participant1" shares "welcome.txt" by link with OCS 100
And user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- When user "participant1" gets the room for path "welcome.txt" with 200
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ When user "participant1" gets the room for path "welcome.txt" with 200 (v1)
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
Then user "participant1" is not participant of room "file welcome (2).txt room" (v4)
And user "participant2" is not participant of room "file welcome (2).txt room" (v4)
@@ -170,8 +170,8 @@ Feature: conversation/files
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- When user "participant1" gets the room for last share with 200
- And user "participant2" gets the room for last share with 200
+ When user "participant1" gets the room for last share with 200 (v1)
+ And user "participant2" gets the room for last share with 200 (v1)
Then user "participant1" is not participant of room "file welcome (2).txt room" (v4)
And user "participant2" is not participant of room "file welcome (2).txt room" (v4)
@@ -180,14 +180,14 @@ Feature: conversation/files
Scenario: owner of a shared file can join its room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
When user "participant1" joins room "file welcome (2).txt room" with 200
Then user "participant1" is participant of room "file welcome (2).txt room" (v4)
Scenario: user with access to a file can join its room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
When user "participant2" joins room "file welcome.txt room" with 200
Then user "participant2" is participant of room "file welcome.txt room" (v4)
@@ -196,7 +196,7 @@ Feature: conversation/files
And user "participant1" moves file "/welcome.txt" to "/test/renamed.txt" with 201
And user "participant1" shares "test" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant2" gets the room for path "test/renamed.txt" with 200
+ And user "participant2" gets the room for path "test/renamed.txt" with 200 (v1)
When user "participant1" joins room "file test/renamed.txt room" with 200
Then user "participant1" is participant of room "file test/renamed.txt room" (v4)
@@ -205,7 +205,7 @@ Feature: conversation/files
And user "participant1" moves file "/welcome.txt" to "/test/renamed.txt" with 201
And user "participant1" shares "test" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "test/renamed.txt" with 200
+ And user "participant1" gets the room for path "test/renamed.txt" with 200 (v1)
When user "participant2" joins room "file test/renamed.txt room" with 200
Then user "participant2" is participant of room "file test/renamed.txt room" (v4)
@@ -216,14 +216,14 @@ Feature: conversation/files
And user "participant2" accepts last share
And user "participant2" shares "test" with user "participant3" with OCS 100
And user "participant3" accepts last share
- And user "participant3" gets the room for path "test/renamed.txt" with 200
+ And user "participant3" gets the room for path "test/renamed.txt" with 200 (v1)
When user "participant3" joins room "file test/renamed.txt room" with 200
Then user "participant3" is participant of room "file test/renamed.txt room" (v4)
Scenario: owner of a no longer shared file can not join its room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant1" deletes last share
When user "participant1" joins room "file welcome (2).txt room" with 404
Then user "participant1" is not participant of room "file welcome (2).txt room" (v4)
@@ -233,7 +233,7 @@ Feature: conversation/files
And user "participant3" accepts last share
And user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
And user "participant1" deletes last share
When user "participant2" joins room "file welcome.txt room" with 404
Then user "participant2" is not participant of room "file welcome.txt room" (v4)
@@ -241,14 +241,14 @@ Feature: conversation/files
Scenario: user without access to a file can not join its room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
When user "participant3" joins room "file welcome.txt room" with 404
Then user "participant3" is not participant of room "file welcome.txt room" (v4)
Scenario: guest can not join a file room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
When user "guest" joins room "file welcome.txt room" with 404
@@ -256,8 +256,8 @@ Feature: conversation/files
Scenario: join room for file shared with group
Given user "participant1" shares "welcome.txt" with group "group1" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
When user "participant1" joins room "file welcome.txt room" with 200
And user "participant2" joins room "file welcome.txt room" with 200
Then user "participant1" is participant of room "file welcome (2).txt room" (v4)
@@ -268,9 +268,9 @@ Feature: conversation/files
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" with user "participant3" with OCS 100
And user "participant3" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
- And user "participant2" gets the room for path "welcome (2).txt" with 200
- And user "participant3" gets the room for path "welcome (2).txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
+ And user "participant3" gets the room for path "welcome (2).txt" with 200 (v1)
When user "participant1" joins room "file welcome.txt room" with 200
And user "participant2" joins room "file welcome.txt room" with 200
And user "participant3" joins room "file welcome.txt room" with 200
@@ -282,7 +282,7 @@ Feature: conversation/files
Scenario: owner of a file shared by link can join its room
Given user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant1" gets the room for last share with 200
+ And user "participant1" gets the room for last share with 200 (v1)
When user "participant1" joins room "file last share room" with 200
Then user "participant1" is participant of room "file last share room" (v4)
@@ -290,7 +290,7 @@ Feature: conversation/files
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
When user "participant2" joins room "file last share room" with 200
Then user "participant2" is participant of room "file last share room" (v4)
@@ -300,13 +300,13 @@ Feature: conversation/files
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant2" logs in
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
When user "participant2" joins room "file last share room" with 200
Then user "participant2" is participant of room "file last share room" (v4)
Scenario: guest can join the room of a file shared by link
Given user "participant1" shares "welcome.txt" by link with OCS 100
- And user "guest" gets the room for last share with 200
+ And user "guest" gets the room for last share with 200 (v1)
When user "guest" joins room "file last share room" with 200
And user "guest" is participant of room "file last share room" (v4)
@@ -317,7 +317,7 @@ Feature: conversation/files
And user "participant2" accepts last share
# Note that the room token is got by a different user than the one that
# joins the room
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant1" joins room "file welcome (2).txt room" with 200
And user "participant1" is participant of room "file welcome (2).txt room" (v4)
When user "participant1" leaves room "file welcome (2).txt room" with 200
@@ -328,7 +328,7 @@ Feature: conversation/files
And user "participant2" accepts last share
# Note that the room token is got by a different user than the one that
# joins the room
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
And user "participant2" joins room "file welcome.txt room" with 200
And user "participant2" is participant of room "file welcome.txt room" (v4)
When user "participant2" leaves room "file welcome.txt room" with 200
@@ -338,7 +338,7 @@ Feature: conversation/files
Scenario: owner of a file shared by link is not removed from its room after leaving it
Given user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant1" gets the room for last share with 200
+ And user "participant1" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
When user "participant1" leaves room "file last share room" with 200
@@ -348,7 +348,7 @@ Feature: conversation/files
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
And user "participant2" joins room "file last share room" with 200
And user "participant2" is participant of room "file last share room" (v4)
When user "participant2" leaves room "file last share room" with 200
@@ -360,7 +360,7 @@ Feature: conversation/files
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant2" logs in
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
And user "participant2" joins room "file last share room" with 200
And user "participant2" is participant of room "file last share room" (v4)
When user "participant2" leaves room "file last share room" with 200
@@ -368,7 +368,7 @@ Feature: conversation/files
Scenario: guest is removed from the room of a file shared by link after leaving it
Given user "participant1" shares "welcome.txt" by link with OCS 100
- And user "guest" gets the room for last share with 200
+ And user "guest" gets the room for last share with 200 (v1)
And user "guest" joins room "file last share room" with 200
And user "guest" is participant of room "file last share room" (v4)
When user "guest" leaves room "file last share room" with 200
@@ -381,7 +381,7 @@ Feature: conversation/files
And user "participant2" accepts last share
# Note that the room token is got by a different user than the one that
# joins the room
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant1" joins room "file welcome (2).txt room" with 200
And user "participant1" is participant of room "file welcome (2).txt room" (v4)
When user "participant1" removes themselves from room "file welcome (2).txt room" with 200
@@ -394,7 +394,7 @@ Feature: conversation/files
And user "participant2" accepts last share
# Note that the room token is got by a different user than the one that
# joins the room
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
And user "participant2" joins room "file welcome.txt room" with 200
And user "participant2" is participant of room "file welcome.txt room" (v4)
When user "participant2" removes themselves from room "file welcome.txt room" with 200
@@ -406,7 +406,7 @@ Feature: conversation/files
Scenario: owner of a file shared by link can join its room again after removing self from it
Given user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant1" gets the room for last share with 200
+ And user "participant1" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
When user "participant1" removes themselves from room "file last share room" with 200
@@ -418,7 +418,7 @@ Feature: conversation/files
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
And user "participant2" joins room "file last share room" with 200
And user "participant2" is participant of room "file last share room" (v4)
When user "participant2" removes themselves from room "file last share room" with 200
@@ -432,7 +432,7 @@ Feature: conversation/files
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant2" logs in
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
And user "participant2" joins room "file last share room" with 200
And user "participant2" is participant of room "file last share room" (v4)
When user "participant2" removes themselves from room "file last share room" with 200
@@ -450,7 +450,7 @@ Feature: conversation/files
Scenario: owner is not participant of room for file no longer shared
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
And user "participant1" joins room "file welcome.txt room" with 200
And user "participant1" leaves room "file welcome.txt room" with 200
And user "participant1" is participant of room "file welcome.txt room" (v4)
@@ -462,7 +462,7 @@ Feature: conversation/files
Scenario: user is not participant of room for file no longer with access to it
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant2" joins room "file welcome (2).txt room" with 200
And user "participant2" leaves room "file welcome (2).txt room" with 200
And user "participant2" is participant of room "file welcome (2).txt room" (v4)
@@ -475,7 +475,7 @@ Feature: conversation/files
Scenario: owner is not participant of room for file no longer shared by link
Given user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant1" gets the room for last share with 200
+ And user "participant1" gets the room for last share with 200 (v1)
And user "participant1" joins room "file last share room" with 200
And user "participant1" leaves room "file last share room" with 200
And user "participant1" is participant of room "file last share room" (v4)
@@ -488,7 +488,7 @@ Feature: conversation/files
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
And user "participant1" shares "welcome.txt" by link with OCS 100
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
And user "participant2" joins room "file last share room" with 200
And user "participant2" leaves room "file last share room" with 200
And user "participant2" is participant of room "file last share room" (v4)
@@ -505,7 +505,7 @@ Feature: conversation/files
# requests keep the same session) and get the room (so the share token is
# stored in the session) to be able to join it.
And user "participant2" logs in
- And user "participant2" gets the room for last share with 200
+ And user "participant2" gets the room for last share with 200 (v1)
And user "participant2" joins room "file last share room" with 200
And user "participant2" leaves room "file last share room" with 200
And user "participant2" is not participant of room "file last share room" (v4)
@@ -516,7 +516,7 @@ Feature: conversation/files
Scenario: guest is not participant of room for file no longer shared by link
Given user "participant1" shares "welcome.txt" by link with OCS 100
- And user "guest" gets the room for last share with 200
+ And user "guest" gets the room for last share with 200 (v1)
And user "guest" joins room "file last share room" with 200
And user "guest" leaves room "file last share room" with 200
When user "participant1" deletes last share
diff --git a/tests/integration/features/conversation/lobby.feature b/tests/integration/features/conversation/lobby.feature
index 9c141cc3a..79bff429c 100644
--- a/tests/integration/features/conversation/lobby.feature
+++ b/tests/integration/features/conversation/lobby.feature
@@ -56,8 +56,8 @@ Feature: conversation/lobby
Scenario: set lobby state in file room
Given user "participant1" shares "welcome.txt" with user "participant2" with OCS 100
And user "participant2" accepts last share
- And user "participant1" gets the room for path "welcome.txt" with 200
- And user "participant2" gets the room for path "welcome (2).txt" with 200
+ And user "participant1" gets the room for path "welcome.txt" with 200 (v1)
+ And user "participant2" gets the room for path "welcome (2).txt" with 200 (v1)
And user "participant1" joins room "file welcome.txt room" with 200
And user "participant2" joins room "file welcome (2).txt room" with 200
When user "participant1" sets lobby state for room "file welcome.txt room" to "non moderators" with 403 (v4)
diff --git a/tests/integration/features/conversation/password-request.feature b/tests/integration/features/conversation/password-request.feature
index 35899e9c4..ae875d0ab 100644
--- a/tests/integration/features/conversation/password-request.feature
+++ b/tests/integration/features/conversation/password-request.feature
@@ -9,7 +9,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- When user "guest" creates the password request room for last share with 201
+ When user "guest" creates the password request room for last share with 201 (v1)
Then user "participant1" is participant of room "password request for last share room" (v4)
| name | type | participantType | participants |
| welcome.txt | 3 | 1 | participant1-displayname |
@@ -20,7 +20,7 @@ Feature: conversation/password-request
And user "participant1" shares "test" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- When user "guest" creates the password request room for last share with 201
+ When user "guest" creates the password request room for last share with 201 (v1)
Then user "participant1" is participant of room "password request for last share room" (v4)
| name | type | participantType | participants |
| test | 3 | 1 | participant1-displayname |
@@ -32,7 +32,7 @@ Feature: conversation/password-request
And user "participant2" shares "test" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- When user "guest" creates the password request room for last share with 201
+ When user "guest" creates the password request room for last share with 201 (v1)
Then user "participant2" is participant of room "password request for last share room" (v4)
| name | type | participantType | participants |
| test | 3 | 1 | participant2-displayname |
@@ -42,7 +42,7 @@ Feature: conversation/password-request
Scenario: create password-request room for file shared by link but not protected by Talk
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
- When user "guest" creates the password request room for last share with 404
+ When user "guest" creates the password request room for last share with 404 (v1)
@@ -56,7 +56,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
When user "guest" joins room "password request for last share room" with 200
Then user "guest" is participant of room "password request for last share room" (v4)
@@ -64,7 +64,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "participant2" creates the password request room for last share with 201
+ And user "participant2" creates the password request room for last share with 201 (v1)
When user "participant2" joins room "password request for last share room" with 200
Then user "participant2" is participant of room "password request for last share room" (v4)
@@ -72,14 +72,14 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
When user "participant1" joins room "password request for last share room" with 200
Scenario: other guests can not join the password request room when a guest already joined
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "guest" joins room "password request for last share room" with 200
When user "guest2" joins room "password request for last share room" with 404
Then user "guest2" is not participant of room "password request for last share room" (v4)
@@ -88,7 +88,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "participant2" creates the password request room for last share with 201
+ And user "participant2" creates the password request room for last share with 201 (v1)
And user "participant2" joins room "password request for last share room" with 200
When user "guest" joins room "password request for last share room" with 404
Then user "guest" is not participant of room "password request for last share room" (v4)
@@ -97,7 +97,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "guest" joins room "password request for last share room" with 200
When user "participant2" joins room "password request for last share room" with 404
Then user "participant2" is not participant of room "password request for last share room" (v4)
@@ -106,7 +106,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "participant2" creates the password request room for last share with 201
+ And user "participant2" creates the password request room for last share with 201 (v1)
And user "participant2" joins room "password request for last share room" with 200
When user "participant3" joins room "password request for last share room" with 404
Then user "participant3" is not participant of room "password request for last share room" (v4)
@@ -117,7 +117,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "participant1" joins room "password request for last share room" with 200
When user "participant1" adds "participant2" to room "password request for last share room" with 400
Then user "participant2" is not participant of room "password request for last share room" (v4)
@@ -128,7 +128,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "guest" joins room "password request for last share room" with 200
And user "participant1" joins room "password request for last share room" with 200
When user "guest" leaves room "password request for last share room" with 200
@@ -139,7 +139,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "participant2" creates the password request room for last share with 201
+ And user "participant2" creates the password request room for last share with 201 (v1)
And user "participant2" joins room "password request for last share room" with 200
And user "participant1" joins room "password request for last share room" with 200
When user "participant2" leaves room "password request for last share room" with 200
@@ -150,7 +150,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "guest" joins room "password request for last share room" with 200
And user "participant1" joins room "password request for last share room" with 200
When user "participant1" leaves room "password request for last share room" with 200
@@ -163,7 +163,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "guest" joins room "password request for last share room" with 200
When user "guest" joins call "password request for last share room" with 200
Then user "guest" sees 1 peers in call "password request for last share room" with 200
@@ -173,7 +173,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "guest" joins room "password request for last share room" with 200
And user "participant1" joins room "password request for last share room" with 200
And user "guest" joins call "password request for last share room" with 200
@@ -187,7 +187,7 @@ Feature: conversation/password-request
Given user "participant1" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "participant1" joins room "password request for last share room" with 200
And user "guest" joins room "password request for last share room" with 200
When user "participant1" sends message "Message 1" to room "password request for last share room" with 201
diff --git a/tests/integration/features/conversation/set-description.feature b/tests/integration/features/conversation/set-description.feature
index bb2c819ca..62c043d33 100644
--- a/tests/integration/features/conversation/set-description.feature
+++ b/tests/integration/features/conversation/set-description.feature
@@ -261,7 +261,7 @@ Feature: set-description
And user "owner of file" shares "welcome.txt" with user "user with access to file" with OCS 100
And user "user with access to file" accepts last share
And user "owner of file" shares "welcome.txt" by link with OCS 100
- And user "guest" gets the room for last share with 200
+ And user "guest" gets the room for last share with 200 (v1)
And user "owner of file" joins room "file last share room" with 200
And user "user with access to file" joins room "file last share room" with 200
And user "guest" joins room "file last share room" with 200
@@ -287,7 +287,7 @@ Feature: set-description
And user "owner of file" shares "welcome.txt" by link with OCS 100
| password | 123456 |
| sendPasswordByTalk | true |
- And user "guest" creates the password request room for last share with 201
+ And user "guest" creates the password request room for last share with 201 (v1)
And user "guest" joins room "password request for last share room" with 200
And user "owner of file" joins room "password request for last share room" with 200
When user "owner of file" sets description for room "password request for last share room" to "the description" with 200
diff --git a/tests/integration/features/conversation/set-listable.feature b/tests/integration/features/conversation/set-listable.feature
index 7afd34eb2..a391acded 100644
--- a/tests/integration/features/conversation/set-listable.feature
+++ b/tests/integration/features/conversation/set-listable.feature
@@ -52,6 +52,6 @@ Feature: conversation/set-listable
Given user "creator" logs in
And user "creator" shares "welcome.txt" with user "regular-user" with OCS 100
And user "regular-user" accepts last share
- When user "creator" gets the room for path "welcome.txt" with 200
+ When user "creator" gets the room for path "welcome.txt" with 200 (v1)
And user "creator" joins room "file welcome.txt room" with 200
Then user "creator" allows listing room "file welcome.txt room" for "all" with 403 (v4)