@@ -529,23 +529,20 @@ Feature: chat-4/scheduling
529529
530530 Scenario : Schedule a message mentioning a group
531531 Given group "group" exists
532- Given team "team" exists
533- Given user "participant3" exists
534- Given user "participant4" exists
535- And user "participant3" is member of group "group"
536- And user "participant4" is member of team "team"
532+ And set display name of group "group" to "group-displayname"
533+ Given User "participant1" creates team "team"
537534 And user "participant1" adds group "group" to room "room" with 200 (v4)
538535 And user "participant1" adds team "team" to room "room" with 200 (v4)
539536 When user "participant1" schedules a message to room "room" with 201
540- | message | Message 1 @group |
541- | sendAt | {NOW } |
537+ | message | Message 1 @" group / group " |
538+ | sendAt | {NOW } |
542539 And user "participant1" schedules a message to room "room" with 201
543- | message | Message 2 @team |
544- | sendAt | {NOW } |
540+ | message | Message 2 @" TEAM_ID ( team )" |
541+ | sendAt | {NOW } |
545542 Then user "participant1" sees the following scheduled messages in room "room" with 200
546- | id | actorType | actorId | threadId | parent | message | messageType | sendAt | silent |
547- | Message 1 @group | users | participant1 | 0 | null | Message 1 @group | comment | {NOW } | false |
548- | Message 2 @team | users | participant1 | 0 | null | Message 2 @team | comment | {NOW } | false |
543+ | id | actorType | actorId | threadId | parent | message | messageType | sendAt | silent |
544+ | Message 1 @" group / group " | users | participant1 | 0 | null | Message 1 @" group / group " | comment | {NOW } | false |
545+ | Message 2 @" TEAM_ID ( team )" | users | participant1 | 0 | null | Message 2 @" TEAM_ID ( team )" | comment | {NOW } | false |
549546 And user "participant1" is participant of the following rooms (v4)
550547 | id | type | hasScheduledMessages |
551548 | room | 2 | 2 |
@@ -556,7 +553,7 @@ Feature: chat-4/scheduling
556553 | id | type | hasScheduledMessages |
557554 | room | 2 | 0 |
558555 Then user "participant2" sees the following messages in room "room" with 200
559- | room | actorType | actorId | actorDisplayName | messageType | message | messageParameters |
560- | room | users | participant1 | participant1 -displayname | comment | Message 2 {mention -team } | {"mention -team ":{"type ":"team ","id ":"team ","name ":"team - displayname ","mention -id ":"team "}} |
561- | room | users | participant1 | participant1 -displayname | comment | Message 1 {mention -group } | {"mention -group ":{"type ":"group ","id ":"group ","name ":"group -displayname ","mention -id ":"group "}} |
562- | room | users | participant2 | participant2 -displayname | comment | Message | [] |
556+ | room | actorType | actorId | actorDisplayName | messageType | message | messageParameters |
557+ | room | users | participant1 | participant1 -displayname | comment | Message 2 {mention -team1 } | {"mention -team1 ":{"type ":"circle ","id ":"TEAM_ID ( team ) ","name ":"team ","link ":""," mention -id ":"team \/ TEAM_ID ( team ) "}} |
558+ | room | users | participant1 | participant1 -displayname | comment | Message 1 {mention -group1 } | {"mention -group1 ":{"type ":"user - group ","id ":"group ","name ":"group -displayname ","mention -id ":"group \/ group "}} |
559+ | room | users | participant2 | participant2 -displayname | comment | Message | [] |
0 commit comments