diff options
author | Vitor Mattos <vitor@php.rio> | 2022-06-02 00:27:11 +0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-06-02 00:27:11 +0300 |
commit | cfb99731fc8d022b63bce65338f171d270d38b29 (patch) | |
tree | 2c60d33d6356d044e4651c93bf094ab03dcba508 | |
parent | b606ab01ae86e7a13935196f38f80d20db1588a4 (diff) |
Fix conflictfeature/api-silent-call
Signed-off-by: Vitor Mattos <vitor@php.rio>
-rw-r--r-- | tests/integration/features/chat/notifications.feature | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/integration/features/chat/notifications.feature b/tests/integration/features/chat/notifications.feature index 241dfec08..36e75e7ac 100644 --- a/tests/integration/features/chat/notifications.feature +++ b/tests/integration/features/chat/notifications.feature @@ -250,21 +250,6 @@ Feature: chat/notifications Then user "participant2" has the following notifications | app | object_type | object_id | subject | - Scenario: Delete notification when the message is deleted - When user "participant1" creates room "one-to-one room" (v4) - | roomType | 1 | - | invite | participant2 | - # Join and leave to clear the invite notification - Given user "participant2" joins room "one-to-one room" with 200 (v4) - And user "participant2" leaves room "one-to-one room" with 200 (v4) - And user "participant1" sends message "Message 1" to room "one-to-one room" with 201 - Then user "participant2" has the following notifications - | app | object_type | object_id | subject | - | spreed | chat | one-to-one room/Message 1 | participant1-displayname sent you a private message | - When user "participant1" deletes message "Message 1" from room "one-to-one room" with 200 (v1) - Then user "participant2" has the following notifications - | app | object_type | object_id | subject | - Scenario: Join call without notification When user "participant1" creates room "room" (v4) | roomType | 3 | @@ -282,3 +267,18 @@ Feature: chat/notifications | app | object_type | object_id | subject | Then user "participant2" has the following notifications | app | object_type | object_id | subject | + + Scenario: Delete notification when the message is deleted + When user "participant1" creates room "one-to-one room" (v4) + | roomType | 1 | + | invite | participant2 | + # Join and leave to clear the invite notification + Given user "participant2" joins room "one-to-one room" with 200 (v4) + And user "participant2" leaves room "one-to-one room" with 200 (v4) + And user "participant1" sends message "Message 1" to room "one-to-one room" with 201 + Then user "participant2" has the following notifications + | app | object_type | object_id | subject | + | spreed | chat | one-to-one room/Message 1 | participant1-displayname sent you a private message | + When user "participant1" deletes message "Message 1" from room "one-to-one room" with 200 (v1) + Then user "participant2" has the following notifications + | app | object_type | object_id | subject | |