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

70 lines
5.1 KiB
Gherkin

Feature: chat-2/public-read-only
Background:
Given user "participant1" exists
Given user "participant2" exists
Given user "participant3" exists
And group "attendees1" exists
And user "participant2" is member of group "attendees1"
Scenario: owner can send and receive chat messages to and from group room
Given user "participant1" creates room "public room" (v4)
| roomType | 3 |
| roomName | room |
When user "participant1" sends message "Message 1" to room "public room" with 201
Then user "participant1" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant1 | participant1-displayname | Message 1 | [] |
When user "participant1" locks room "public room" with 200 (v4)
When user "participant1" sends message "Message 2" to room "public room" with 403
Then user "participant1" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant1 | participant1-displayname | Message 1 | [] |
When user "participant1" unlocks room "public room" with 200 (v4)
When user "participant1" sends message "Message 3" to room "public room" with 201
Then user "participant1" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant1 | participant1-displayname | Message 3 | [] |
| public room | users | participant1 | participant1-displayname | Message 1 | [] |
Scenario: invited user can send and receive chat messages to and from group room
Given user "participant1" creates room "public room" (v4)
| roomType | 3 |
| roomName | room |
And user "participant1" adds user "participant2" to room "public room" with 200 (v4)
When user "participant2" sends message "Message 1" to room "public room" with 201
Then user "participant2" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant2 | participant2-displayname | Message 1 | [] |
When user "participant1" locks room "public room" with 200 (v4)
When user "participant2" sends message "Message 2" to room "public room" with 403
Then user "participant2" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant2 | participant2-displayname | Message 1 | [] |
When user "participant1" unlocks room "public room" with 200 (v4)
When user "participant2" sends message "Message 3" to room "public room" with 201
Then user "participant2" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant2 | participant2-displayname | Message 3 | [] |
| public room | users | participant2 | participant2-displayname | Message 1 | [] |
Scenario: not invited but joined user can send and receive chat messages to and from public room
Given user "participant1" creates room "public room" (v4)
| roomType | 3 |
| roomName | room |
And user "participant3" joins room "public room" with 200 (v4)
When user "participant3" sends message "Message 1" to room "public room" with 201
Then user "participant3" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant3 | participant3-displayname | Message 1 | [] |
When user "participant1" locks room "public room" with 200 (v4)
When user "participant3" sends message "Message 2" to room "public room" with 403
Then user "participant3" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant3 | participant3-displayname | Message 1 | [] |
When user "participant1" unlocks room "public room" with 200 (v4)
When user "participant3" sends message "Message 3" to room "public room" with 201
Then user "participant3" sees the following messages in room "public room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| public room | users | participant3 | participant3-displayname | Message 3 | [] |
| public room | users | participant3 | participant3-displayname | Message 1 | [] |