Skip to content

Commit

Permalink
Merge pull request #10215 from nextcloud/bugfix/noid/update-call-summ…
Browse files Browse the repository at this point in the history
…ary-behaviour

fix(bots): Update call_summary_bot behaviour and screenshot
  • Loading branch information
nickvergessen authored Aug 15, 2023
2 parents 780bd69 + 87468e7 commit 9b393aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Binary file modified docs/botscreenshots/call-summary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 13 additions & 13 deletions tests/integration/features/chat/bots.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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) | 👍 |

Expand Down

0 comments on commit 9b393aa

Please sign in to comment.