Skip to content

Commit

Permalink
fixup! feat(mentions): allow teams to be mentioned
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Jan 29, 2025
1 parent 8b96218 commit a13ef7b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/integration/features/chat-2/mentions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ Feature: chat/mentions
| roomName | room |
And user "participant1" adds user "participant2" to room "group room" with 200 (v4)
And user "participant1" adds user "participant3" to room "group room" with 200 (v4)
And user "participant1" adds circle "1234" to the room "group room" with 200 (v4)
And user "participant1" adds circle "1234" to room "group room" with 200 (v4)
# And user "participant1" sees the following attendees in room "group room" with 200 (v4)
# | actorType | actorId |
# | users | participant2 |
# | federated_users | participant2@{$REMOTE_URL} |
Then user "participant1" gets the following candidate mentions in room "group room" for "part" with 200
| id | label | source | mentionId |
| participant2 | participant2-displayname | users | participant2 |
Expand All @@ -92,6 +96,12 @@ Feature: chat/mentions
| id | label | source | mentionId |
| participant1 | participant1-displayname | users | participant1 |
| 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 |
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 |
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 |
Expand Down

0 comments on commit a13ef7b

Please sign in to comment.