summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/integration/outdated-client.feature24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/integration/features/integration/outdated-client.feature b/tests/integration/features/integration/outdated-client.feature
index 7611b67de..a3b27bb15 100644
--- a/tests/integration/features/integration/outdated-client.feature
+++ b/tests/integration/features/integration/outdated-client.feature
@@ -22,3 +22,27 @@ Feature: integration/outdated-client
When client "Mozilla/5.0 (Windows) Nextcloud-Talk v0.3.2" requests room list with 426 (v4)
Then last response body contains "0.6.0"
When client "Mozilla/5.0 (Windows) Nextcloud-Talk v0.6.0" requests room list with 200 (v4)
+
+ Scenario: Check if outdated clients correctly receive a 426 error with recording consent enabled
+ Given as user "participant1"
+ Given recording server is started
+ And the following "spreed" app config is set
+ | recording_consent | 2 |
+ # Android
+ When client "Mozilla/5.0 (Android) Nextcloud-Talk v17.0.0" requests room list with 426 (v4)
+ Then last response body contains "18.0.0"
+ When client "Mozilla/5.0 (Android) Nextcloud-Talk v18.0.0" requests room list with 200 (v4)
+ # iOS
+ When client "Mozilla/5.0 (iOS) Nextcloud-Talk v17.0.0" requests room list with 426 (v4)
+ Then last response body contains "18.0.0"
+ When client "Mozilla/5.0 (iOS) Nextcloud-Talk v18.0.0" requests room list with 200 (v4)
+ # Desktop
+ When client "Mozilla/5.0 (Linux) Nextcloud-Talk v0.8.0" requests room list with 426 (v4)
+ Then last response body contains "0.16.0"
+ When client "Mozilla/5.0 (Linux) Nextcloud-Talk v0.16.0" requests room list with 200 (v4)
+ When client "Mozilla/5.0 (Mac) Nextcloud-Talk v0.8.0" requests room list with 426 (v4)
+ Then last response body contains "0.16.0"
+ When client "Mozilla/5.0 (Mac) Nextcloud-Talk v0.16.0" requests room list with 200 (v4)
+ When client "Mozilla/5.0 (Windows) Nextcloud-Talk v0.8.0" requests room list with 426 (v4)
+ Then last response body contains "0.16.0"
+ When client "Mozilla/5.0 (Windows) Nextcloud-Talk v0.16.0" requests room list with 200 (v4)