зеркало из https://github.com/nextcloud/spreed.git
fix(federation): Add an integration test confirming the mark read
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
97e192102c
Коммит
ba4ff4ff15
|
@ -226,6 +226,13 @@ Feature: federation/chat
|
|||
| spreed | chat | room/Hi @all bye | participant1-displayname mentioned everyone in conversation room | Hi room bye |
|
||||
| spreed | chat | room/Hi @"federated_user/participant2@{$REMOTE_URL}" bye | participant1-displayname mentioned you in conversation room | Hi @participant2-displayname bye |
|
||||
| spreed | chat | room/Message 1-1 | participant1-displayname replied to your message in conversation room | Message 1-1 |
|
||||
When next message request has the following parameters set
|
||||
| timeout | 0 |
|
||||
| lookIntoFuture | 1 |
|
||||
| lastKnownMessageId | Hi @all bye |
|
||||
And user "participant2" sees the following messages in room "LOCAL::room" with 304
|
||||
Then user "participant2" has the following notifications
|
||||
| app | object_type | object_id | subject | message |
|
||||
|
||||
Scenario: Mentioning a federated user as a guest also triggers a notification for them
|
||||
Given the following "spreed" app config is set
|
||||
|
|
Загрузка…
Ссылка в новой задаче