01acfa3b40
Type checking / changes (push) Has been cancelled
Type checking / test (push) Has been cancelled
Type checking / typescript-summary (push) Has been cancelled
Node tests / changes (push) Has been cancelled
Node tests / test (push) Has been cancelled
Node tests / test-summary (push) Has been cancelled
Источник: https://github.com/nextcloud/spreed/archive/refs/tags/v22.0.12.tar.gz С этого коммита ветка официального Nextcloud Talk отрезана (решение владельца 2026-07-06). Все дальнейшие изменения — только наши; версии релизов: 22.0.12-f7.N.
43 lines
1.4 KiB
Gherkin
43 lines
1.4 KiB
Gherkin
Feature: command/active-calls
|
|
|
|
Background:
|
|
Given user "participant1" exists
|
|
|
|
Scenario: No call in progress
|
|
Given invoking occ with "talk:active-calls"
|
|
Then the command was successful
|
|
And the command output contains the text "No calls in progress"
|
|
|
|
Scenario: Users only chatting
|
|
When user "participant1" creates room "room" (v4)
|
|
| roomType | 3 |
|
|
| roomName | room |
|
|
Then user "participant1" joins room "room" with 200 (v4)
|
|
|
|
Given invoking occ with "talk:active-calls"
|
|
Then the command was successful
|
|
And the command output contains the text "No calls in progress"
|
|
|
|
Then user "participant1" leaves room "room" with 200 (v4)
|
|
|
|
|
|
Scenario: Call in progress
|
|
When user "participant1" creates room "room" (v4)
|
|
| roomType | 3 |
|
|
| roomName | room |
|
|
|
|
Then user "participant1" joins room "room" with 200 (v4)
|
|
And user "participant1" joins call "room" with 200 (v4)
|
|
|
|
Given invoking occ with "talk:active-calls"
|
|
# It didn't really fail, it just has an exit code that is not 0
|
|
Then the command failed with exit code 1
|
|
And the command output contains the text "There are currently 1 calls in progress with 1 participants"
|
|
|
|
Then user "participant1" leaves call "room" with 200 (v4)
|
|
And user "participant1" leaves room "room" with 200 (v4)
|
|
|
|
Given invoking occ with "talk:active-calls"
|
|
Then the command was successful
|
|
And the command output contains the text "No calls in progress"
|