@@ -18,10 +18,10 @@ Feature: chat/delete
18
18
And user "participant1" deletes message "Message 1" from room "group room" with 200
19
19
Then user "participant1" sees the following messages in room "group room" with 200
20
20
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
21
- | group room | users | participant1 | participant1 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} | |
21
+ | group room | users | participant1 | participant1 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} | |
22
22
Then user "participant2" sees the following messages in room "group room" with 200
23
23
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
24
- | group room | users | participant1 | participant1 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} | |
24
+ | group room | users | participant1 | participant1 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} | |
25
25
Then user "participant1" received a system messages in room "group room" to delete "Message 1"
26
26
Then user "participant2" received a system messages in room "group room" to delete "Message 1"
27
27
@@ -40,10 +40,10 @@ Feature: chat/delete
40
40
And user "participant2" deletes message "Message 1" from room "group room" with 200
41
41
Then user "participant1" sees the following messages in room "group room" with 200
42
42
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
43
- | group room | users | participant2 | participant2 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "}} | |
43
+ | group room | users | participant2 | participant2 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "," mention - id ":" participant2 " }} | |
44
44
Then user "participant2" sees the following messages in room "group room" with 200
45
45
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
46
- | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "}} | |
46
+ | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "," mention - id ":" participant2 " }} | |
47
47
Then user "participant1" received a system messages in room "group room" to delete "Message 1"
48
48
Then user "participant2" received a system messages in room "group room" to delete "Message 1"
49
49
@@ -75,10 +75,10 @@ Feature: chat/delete
75
75
And user "participant1" deletes message "Message 1" from room "group room" with 200
76
76
Then user "participant1" sees the following messages in room "group room" with 200
77
77
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
78
- | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} | |
78
+ | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} | |
79
79
Then user "participant2" sees the following messages in room "group room" with 200
80
80
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
81
- | group room | users | participant2 | participant2 -displayname | Message deleted by {actor } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} | |
81
+ | group room | users | participant2 | participant2 -displayname | Message deleted by {actor } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} | |
82
82
Then user "participant1" received a system messages in room "group room" to delete "Message 1"
83
83
Then user "participant2" received a system messages in room "group room" to delete "Message 1"
84
84
@@ -101,11 +101,11 @@ Feature: chat/delete
101
101
Then user "participant1" sees the following messages in room "group room" with 200
102
102
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
103
103
| group room | users | participant1 | participant1 -displayname | Message 1 -1 | [] | Message deleted by you |
104
- | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} | |
104
+ | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} | |
105
105
Then user "participant2" sees the following messages in room "group room" with 200
106
106
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
107
107
| group room | users | participant1 | participant1 -displayname | Message 1 -1 | [] | Message deleted by {actor } |
108
- | group room | users | participant2 | participant2 -displayname | Message deleted by {actor } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} | |
108
+ | group room | users | participant2 | participant2 -displayname | Message deleted by {actor } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} | |
109
109
Then user "participant1" received a system messages in room "group room" to delete "Message 1"
110
110
Then user "participant2" received a system messages in room "group room" to delete "Message 1"
111
111
@@ -128,11 +128,11 @@ Feature: chat/delete
128
128
Then user "participant1" sees the following messages in room "group room" with 200
129
129
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
130
130
| group room | users | participant1 | participant1 -displayname | Message 1 -1 | [] | Message deleted by author |
131
- | group room | users | participant2 | participant2 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "}} | |
131
+ | group room | users | participant2 | participant2 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "," mention - id ":" participant2 " }} | |
132
132
Then user "participant2" sees the following messages in room "group room" with 200
133
133
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
134
134
| group room | users | participant1 | participant1 -displayname | Message 1 -1 | [] | Message deleted by you |
135
- | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "}} | |
135
+ | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "," mention - id ":" participant2 " }} | |
136
136
Then user "participant1" received a system messages in room "group room" to delete "Message 1"
137
137
Then user "participant2" received a system messages in room "group room" to delete "Message 1"
138
138
@@ -155,11 +155,11 @@ Feature: chat/delete
155
155
Then user "participant1" sees the following messages in room "group room" with 200
156
156
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
157
157
| group room | users | participant1 | participant1 -displayname | Message 1 -1 | [] | Message deleted by you |
158
- | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} | |
158
+ | group room | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} | |
159
159
Then user "participant2" sees the following messages in room "group room" with 200
160
160
| room | actorType | actorId | actorDisplayName | message | messageParameters | parentMessage |
161
161
| group room | users | participant1 | participant1 -displayname | Message 1 -1 | [] | Message deleted by {actor } |
162
- | group room | users | participant2 | participant2 -displayname | Message deleted by {actor } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} | |
162
+ | group room | users | participant2 | participant2 -displayname | Message deleted by {actor } | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} | |
163
163
Then user "participant1" received a system messages in room "group room" to delete "Message 1"
164
164
Then user "participant2" received a system messages in room "group room" to delete "Message 1"
165
165
@@ -187,12 +187,12 @@ Feature: chat/delete
187
187
And user "participant2" deletes message "Message 2" from room "room1" with 200
188
188
Then user "participant1" sees the following messages in room "room1" with 200
189
189
| room | actorType | actorId | actorDisplayName | message | messageParameters |
190
- | room1 | users | participant2 | participant2 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "}} |
191
- | room1 | users | participant1 | participant1 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} |
190
+ | room1 | users | participant2 | participant2 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "," mention - id ":" participant2 " }} |
191
+ | room1 | users | participant1 | participant1 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} |
192
192
Then user "participant2" sees the following messages in room "room1" with 200
193
193
| room | actorType | actorId | actorDisplayName | message | messageParameters |
194
- | room1 | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "}} |
195
- | room1 | users | participant1 | participant1 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "}} |
194
+ | room1 | users | participant2 | participant2 -displayname | Message deleted by you | {"actor ":{"type ":"user ","id ":"participant2 ","name ":"participant2 -displayname "," mention - id ":" participant2 " }} |
195
+ | room1 | users | participant1 | participant1 -displayname | Message deleted by author | {"actor ":{"type ":"user ","id ":"participant1 ","name ":"participant1 -displayname "," mention - id ":" participant1 " }} |
196
196
197
197
Scenario : Clear chat history as a moderator
198
198
Given user "participant1" creates room "room1" (v4)
0 commit comments