From 21bde6de66aceb75b903d91c8e0d274dcfcbd660 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Wed, 29 Jan 2025 10:47:16 +0100 Subject: [PATCH] fixup! feat(mentions): allow teams to be mentioned --- tests/integration/features/chat-2/mentions.feature | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/integration/features/chat-2/mentions.feature b/tests/integration/features/chat-2/mentions.feature index 66fd09b141c..ab91a6b8bbe 100644 --- a/tests/integration/features/chat-2/mentions.feature +++ b/tests/integration/features/chat-2/mentions.feature @@ -74,6 +74,8 @@ Feature: chat/mentions | participant2 | participant2-displayname | users | participant2 | Scenario: get matched mentions in a group room + Given team "1234" exists + Given add user "participant3" to team "1234" When user "participant1" creates room "group room" (v4) | roomType | 2 | | roomName | room | @@ -98,13 +100,13 @@ Feature: chat/mentions | participant2 | participant2-displayname | users | participant2 | And user "participant1" gets the following candidate mentions in room "group room" for "1234" with 200 | id | label | source | mentionId | - | 1234 | 1234 | teams | teams/1234 | + | 1234 | 1234 | team | team/1234 | And user "participant2" gets the following candidate mentions in room "group room" for "1234" with 200 | id | label | source | mentionId | - | 1234 | 1234 | teams | teams/1234 | + | 1234 | 1234 | team | team/1234 | And user "participant3" gets the following candidate mentions in room "group room" for "1234" with 200 | id | label | source | mentionId | - | 1234 | 1234 | teams | teams/1234 | + | 1234 | 1234 | team | team/1234 | Scenario: get unmatched mentions in a group room When user "participant1" creates room "group room" (v4)