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 a13ef7b commit 21bde6d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/integration/features/chat-2/mentions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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)
Expand Down

0 comments on commit 21bde6d

Please sign in to comment.