Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: Make room list not matter
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Dec 19, 2025
commit 080b0fc1d964f476b90bec24aba78232c4e3f18f
24 changes: 12 additions & 12 deletions tests/integration/features/chat-4/scheduled-messages.feature
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@ Feature: chat-4/scheduling
| message | Message 1 |
| sendAt | {NOW} |
Then user "participant2" sees the following scheduled messages in room "public" with 404
Then user "participant2" is participant of the following rooms (v4)
| id | type | hasScheduledMessages |
Then user "participant2" is participant of the following unordered rooms (v4)
| name | type | hasScheduledMessages |
| room | 2 | 0 |
| public | 3 | 0 |

Expand Down Expand Up @@ -456,8 +456,8 @@ Feature: chat-4/scheduling
Then user "participant1" sees the following scheduled messages in room "public" with 200
| id | actorType | actorId | threadId | parent | message | messageType | sendAt | silent |
| Message 1 | users | participant1 | 0 | null | Message 1 | comment | {NOW} | false |
Then user "participant1" is participant of the following rooms (v4)
| id | type | hasScheduledMessages |
Then user "participant1" is participant of the following unordered rooms (v4)
| name | type | hasScheduledMessages |
| room | 2 | 0 |
| public | 3 | 1 |
When wait for 4 seconds
Expand All @@ -480,10 +480,10 @@ Feature: chat-4/scheduling
Then user "participant1" sees the following scheduled messages in room "one-to-one room" with 200
| id | actorType | actorId | threadId | parent | message | messageType | sendAt | silent |
| Message 1 | users | participant1 | 0 | null | Message 1 | comment | {NOW} | false |
Then user "participant1" is participant of the following rooms (v4)
| id | type | hasScheduledMessages |
| room | 2 | 0 |
| one-to-one room | 1 | 1 |
Then user "participant1" is participant of the following unordered rooms (v4)
| name | type | hasScheduledMessages |
| room | 2 | 0 |
| participant2 | 1 | 1 |
When wait for 4 seconds
And force run "OCA\Talk\BackgroundJob\SendScheduledMessages" background jobs
Then user "participant1" sees the following scheduled messages in room "room" with 200
Expand All @@ -504,10 +504,10 @@ Feature: chat-4/scheduling
Then user "participant1" sees the following scheduled messages in room "one-to-one room" with 200
| id | actorType | actorId | threadId | parent | message | messageType | sendAt | silent |
| Message 1 | users | participant1 | 0 | null | Message 1 | comment | {NOW} | false |
Then user "participant1" is participant of the following rooms (v4)
| id | type | hasScheduledMessages |
| room | 2 | 0 |
| one-to-one room | 1 | 1 |
Then user "participant1" is participant of the following unordered rooms (v4)
| name | type | hasScheduledMessages |
| room | 2 | 0 |
| participant2 | 1 | 1 |
When user "participant2" is deleted
When wait for 4 seconds
And force run "OCA\Talk\BackgroundJob\SendScheduledMessages" background jobs
Expand Down
Loading