You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
1.4 KiB

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 |