summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-08-15 23:51:32 +0200
committerGitHub <noreply@github.com>2023-08-15 23:51:32 +0200
commit01ae5a78eb044dae72df86dc651248d572f8c9f5 (patch)
treed6fc289eb181e70d9c1a02b4661f64f7a4c189a4
parent8d4da2243eb1723ec852a683db5115f726540f89 (diff)
parentfe55afea77b8659c92c0907b15d720210242a3f0 (diff)
Merge pull request #10220 from nextcloud/backport/10215/stable27
[stable27] fix(bots): Update call_summary_bot behaviour and screenshot
-rw-r--r--docs/botscreenshots/call-summary.pngbin65808 -> 52497 bytes
-rw-r--r--tests/integration/features/chat/bots.feature26
2 files changed, 13 insertions, 13 deletions
diff --git a/docs/botscreenshots/call-summary.png b/docs/botscreenshots/call-summary.png
index b0b3cf878..51159400e 100644
--- a/docs/botscreenshots/call-summary.png
+++ b/docs/botscreenshots/call-summary.png
Binary files differ
diff --git a/tests/integration/features/chat/bots.feature b/tests/integration/features/chat/bots.feature
index 89ff60b56..cec841209 100644
--- a/tests/integration/features/chat/bots.feature
+++ b/tests/integration/features/chat/bots.feature
@@ -40,32 +40,32 @@ Feature: chat/bots
# Call summary
Given the following call_summary_bot app config is set
| min-length | -1 |
- And user "participant1" sends message "- Before call" to room "room" with 201
+ And user "participant1" sends message "- [ ] Before call" to room "room" with 201
And wait for 2 seconds
Then user "participant1" joins room "room" with 200 (v4)
Then user "participant1" joins call "room" with 200 (v4)
| flags | 1 |
- And user "participant1" sends message "* Task 1" to room "room" with 201
- And user "participant1" sends message "- Task 2\n-Task 3" to room "room" with 201
+ And user "participant1" sends message "- [ ] Task 1" to room "room" with 201
+ And user "participant1" sends message "- [ ] Task 2\n- [ ] Task 3" to room "room" with 201
Then user "participant1" sees the following messages in room "room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
- | room | users | participant1 | participant1-displayname | - Task 2\n-Task 3 | [] |
- | room | users | participant1 | participant1-displayname | * Task 1 | [] |
- | room | users | participant1 | participant1-displayname | - Before call | [] |
+ | room | users | participant1 | participant1-displayname | - [ ] Task 2\n- [ ] Task 3 | [] |
+ | room | users | participant1 | participant1-displayname | - [ ] Task 1 | [] |
+ | room | users | participant1 | participant1-displayname | - [ ] Before call | [] |
Then user "participant1" leaves call "room" with 200 (v4)
Then user "participant1" leaves room "room" with 200 (v4)
Then user "participant1" sees the following messages in room "room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
- | room | bots | BOT(Call summary) | Call summary (Bot) | # Call summary - room\n\n{DATE}\n\n## Attendees\n- participant1-displayname\n\n## Tasks\n- Task 1\n- Task 2\n- Task 3 | [] |
- | room | users | participant1 | participant1-displayname | - Task 2\n-Task 3 | [] |
- | room | users | participant1 | participant1-displayname | * Task 1 | [] |
- | room | users | participant1 | participant1-displayname | - Before call | [] |
- Then user "participant1" retrieve reactions "👍" of message "- Before call" in room "room" with 200
+ | room | bots | BOT(Call summary) | Call summary (Bot) | # Call summary - room\n\n{DATE}\n\n## Attendees\n- participant1-displayname\n\n## Tasks\n- [ ] Task 1\n- [ ] Task 2\n- [ ] Task 3 | [] |
+ | room | users | participant1 | participant1-displayname | - [ ] Task 2\n- [ ] Task 3 | [] |
+ | room | users | participant1 | participant1-displayname | - [ ] Task 1 | [] |
+ | room | users | participant1 | participant1-displayname | - [ ] Before call | [] |
+ Then user "participant1" retrieve reactions "👍" of message "- [ ] Before call" in room "room" with 200
| actorType | actorId | actorDisplayName | reaction |
- Then user "participant1" retrieve reactions "👍" of message "* Task 1" in room "room" with 200
+ Then user "participant1" retrieve reactions "👍" of message "- [ ] Task 1" in room "room" with 200
| actorType | actorId | actorDisplayName | reaction |
| bots | BOT(Call summary) | Call summary (Bot) | 👍 |
- Then user "participant1" retrieve reactions "👍" of message "- Task 2\n-Task 3" in room "room" with 200
+ Then user "participant1" retrieve reactions "👍" of message "- [ ] Task 2\n- [ ] Task 3" in room "room" with 200
| actorType | actorId | actorDisplayName | reaction |
| bots | BOT(Call summary) | Call summary (Bot) | 👍 |