Files
glb_adm 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
UPSTREAM BASELINE: nextcloud/spreed v22.0.12 (без изменений)
Источник: https://github.com/nextcloud/spreed/archive/refs/tags/v22.0.12.tar.gz
С этого коммита ветка официального Nextcloud Talk отрезана (решение владельца 2026-07-06).
Все дальнейшие изменения — только наши; версии релизов: 22.0.12-f7.N.
2026-07-06 14:07:50 +00:00

122 lines
7.4 KiB
Gherkin

Feature: callapi/public
Background:
Given user "participant1" exists
And user "participant2" exists
And user "participant3" exists
Scenario: User has no rooms
Then user "participant1" is participant of the following rooms (v4)
Then user "participant2" is participant of the following rooms (v4)
Then user "participant3" is participant of the following rooms (v4)
Scenario: User1 invites user2 to a public room and they can do everything
When user "participant1" creates room "room" (v4)
| roomType | 3 |
| roomName | room |
And user "participant1" adds user "participant2" to room "room" with 200 (v4)
Then user "participant1" is participant of room "room" (v4)
And user "participant2" is participant of room "room" (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "participant2" sees 0 peers in call "room" with 200 (v4)
Then user "participant1" joins room "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "participant2" sees 0 peers in call "room" with 200 (v4)
Then user "participant1" joins call "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "participant2" sees 1 peers in call "room" with 200 (v4)
Then user "participant2" joins room "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "participant2" sees 1 peers in call "room" with 200 (v4)
And user "participant2" joins call "room" with 200 (v4)
Then user "participant1" sees 2 peers in call "room" with 200 (v4)
And user "participant2" sees 2 peers in call "room" with 200 (v4)
Then user "participant1" leaves call "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "participant2" sees 1 peers in call "room" with 200 (v4)
Then user "participant1" leaves room "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "participant2" sees 1 peers in call "room" with 200 (v4)
Then user "participant2" leaves call "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "participant2" sees 0 peers in call "room" with 200 (v4)
Then user "participant2" leaves room "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "participant2" sees 0 peers in call "room" with 200 (v4)
Scenario: User1 invites user2 to a public room and user3 can do everything
When user "participant1" creates room "room" (v4)
| roomType | 3 |
| roomName | room |
And user "participant1" adds user "participant2" to room "room" with 200 (v4)
Then user "participant1" is participant of room "room" (v4)
Then user "participant3" is not participant of room "room" (v4)
And user "participant3" sees 0 peers in call "room" with 404 (v4)
Then user "participant1" joins room "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "participant2" sees 0 peers in call "room" with 200 (v4)
Then user "participant1" joins call "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "participant3" sees 0 peers in call "room" with 404 (v4)
Then user "participant3" joins room "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "participant3" sees 1 peers in call "room" with 200 (v4)
And user "participant3" joins call "room" with 200 (v4)
Then user "participant1" sees 2 peers in call "room" with 200 (v4)
And user "participant3" sees 2 peers in call "room" with 200 (v4)
Then user "participant3" leaves call "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "participant3" sees 1 peers in call "room" with 200 (v4)
Then user "participant3" leaves room "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "participant3" sees 0 peers in call "room" with 404 (v4)
Then user "participant1" leaves call "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "participant3" sees 0 peers in call "room" with 404 (v4)
Then user "participant1" leaves room "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "participant3" sees 0 peers in call "room" with 404 (v4)
Scenario: User1 invites user2 to a public room and guest can do everything
When user "participant1" creates room "room" (v4)
| roomType | 3 |
| roomName | room |
And user "participant1" adds user "participant2" to room "room" with 200 (v4)
Then user "participant1" is participant of room "room" (v4)
And user "guest" sees 0 peers in call "room" with 404 (v4)
Then user "participant1" joins room "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "participant2" sees 0 peers in call "room" with 200 (v4)
Then user "participant1" joins call "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "guest" sees 0 peers in call "room" with 404 (v4)
Then user "guest" joins room "room" with 200 (v4) session name "guest1"
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "guest" sees 1 peers in call "room" with 200 (v4)
And user "guest" joins call "room" with 200 (v4)
Then user "participant1" sees 2 peers in call "room" with 200 (v4)
And user "guest" sees 2 peers in call "room" with 200 (v4)
And guest "guest" sets name to "=1+1" in room "room" with 200 (v1)
And invoking occ with "user:setting participant1 settings email participant1@example.tld"
And user "participant2" downloads call participants from "room" as "csv" with 403 (v4)
And user "participant1" downloads call participants from "room" as "csv" with 200 (v4)
| name | email | type | identifier |
| participant1-displayname | participant1@example.tld | users | participant1 |
| '=1+1 | | guests | guest1 |
Then user "guest" leaves call "room" with 200 (v4)
And user "participant1" downloads call participants from "room" as "csv" with 200 (v4)
| name | email | type | identifier |
| participant1-displayname | participant1@example.tld | users | participant1 |
| '=1+1 | | guests | guest1 |
And invoking occ with "user:setting participant1 settings email --delete"
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "guest" sees 1 peers in call "room" with 200 (v4)
Then user "guest" leaves room "room" with 200 (v4)
Then user "participant1" sees 1 peers in call "room" with 200 (v4)
And user "guest" sees 0 peers in call "room" with 404 (v4)
Then user "participant1" leaves call "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "guest" sees 0 peers in call "room" with 404 (v4)
Then user "participant1" leaves room "room" with 200 (v4)
Then user "participant1" sees 0 peers in call "room" with 200 (v4)
And user "guest" sees 0 peers in call "room" with 404 (v4)