summaryrefslogtreecommitdiffstats
path: root/tests/integration/features/callapi/recording.feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/features/callapi/recording.feature')
-rw-r--r--tests/integration/features/callapi/recording.feature15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/integration/features/callapi/recording.feature b/tests/integration/features/callapi/recording.feature
index 917c00a65..7195a3361 100644
--- a/tests/integration/features/callapi/recording.feature
+++ b/tests/integration/features/callapi/recording.feature
@@ -373,7 +373,7 @@ Feature: callapi/recording
| type | name | callRecording |
| 2 | room1 | 0 |
- Scenario: Store recording
+ Scenario: Store recording with success
Given user "participant1" creates room "room1" (v4)
| roomType | 2 |
| roomName | room1 |
@@ -386,6 +386,19 @@ Feature: callapi/recording
| type | name | callRecording |
| 2 | room1 | 0 |
+ Scenario: Store recording with failure
+ Given user "participant1" creates room "room1" (v4)
+ | roomType | 2 |
+ | roomName | room1 |
+ And user "participant1" joins room "room1" with 200 (v4)
+ When user "participant1" store recording file "big" in room "room1" with 400 (v1)
+ Then user "participant1" has the following notifications
+ | app | object_type | object_id | subject |
+ | spreed | recording_information | room1 | Failed to upload call recording |
+ And user "participant1" is participant of the following unordered rooms (v4)
+ | type | name | callRecording |
+ | 2 | room1 | 0 |
+
Scenario: Stop recording automatically when end the call
Given recording server is started
And user "participant1" creates room "room1" (v4)