-
Notifications
You must be signed in to change notification settings - Fork 449
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14297 from nextcloud/bugfix/13378/archive-testing
fix(dashboard): Hide archived conversations from dashboard unless mentioned
- Loading branch information
Showing
4 changed files
with
60 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Feature: conversation-1/archive | ||
Background: | ||
Given user "participant1" exists | ||
Given user "participant2" exists | ||
|
||
Scenario: Archiving and unarchiving | ||
Given user "participant1" creates room "group room" (v4) | ||
| roomType | 3 | | ||
| roomName | room | | ||
When user "participant1" creates room "one-to-one room" (v4) | ||
| roomType | 1 | | ||
| invite | participant2 | | ||
And user "participant1" is participant of the following rooms (v4) | ||
| id | type | participantType | isArchived | | ||
| group room | 3 | 1 | 0 | | ||
| one-to-one room | 1 | 1 | 0 | | ||
And user "participant1" archives room "one-to-one room" with 200 (v4) | ||
And user "participant1" archives room "group room" with 200 (v4) | ||
And user "participant1" is participant of the following rooms (v4) | ||
| id | type | participantType | isArchived | | ||
| group room | 3 | 1 | 1 | | ||
| one-to-one room | 1 | 1 | 1 | | ||
And user "participant1" unarchives room "one-to-one room" with 200 (v4) | ||
And user "participant1" unarchives room "group room" with 200 (v4) | ||
And user "participant1" is participant of the following rooms (v4) | ||
| id | type | participantType | isArchived | | ||
| group room | 3 | 1 | 0 | | ||
| one-to-one room | 1 | 1 | 0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters