summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-08-15 17:57:26 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-08-15 19:34:16 +0000
commitfe55afea77b8659c92c0907b15d720210242a3f0 (patch)
treedbf2b4728175c3df7dfa2ee63fd2d8a2aaa4032a
parenta17633246c5f701c82aff26d665fd923e921249b (diff)
fix(bots): Update call_summary_bot behaviour and screenshot
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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) | 👍 |