Skip to content

Commit

Permalink
Merge branch 'main' into add-DM-list-scroll-test-case
Browse files Browse the repository at this point in the history
  • Loading branch information
mattermost-build authored Jan 25, 2025
2 parents 508a121 + 0eaefb5 commit 65aac2a
Show file tree
Hide file tree
Showing 68 changed files with 958 additions and 94 deletions.
12 changes: 11 additions & 1 deletion data/key-and-path.json
Original file line number Diff line number Diff line change
Expand Up @@ -6326,5 +6326,15 @@
{ "key": "MM-T5655", "path": "channels/edited-post", "id": 217888604 },
{ "key": "MM-T5656", "path": "channels/edited-post", "id": 217888605 },
{ "key": "MM-T5657", "path": "channels/edited-post", "id": 217888606 },
{ "key": "MM-T5658", "path": "channels/edited-post", "id": 217888608 }
{ "key": "MM-T5658", "path": "channels/edited-post", "id": 217888608 },
{ "key": "MM-T5659", "path": "mobile-v2/ipad-specific", "id": 220012686 },
{ "key": "MM-T5660", "path": "mobile-v2/ipad-specific", "id": 220012687 },
{ "key": "MM-T5661", "path": "mobile-v2/ipad-specific", "id": 220012688 },
{ "key": "MM-T5662", "path": "mobile-v2/ipad-specific", "id": 220012689 },
{ "key": "MM-T5663", "path": "mobile-v2/ipad-specific", "id": 220012690 },
{ "key": "MM-T5664", "path": "mobile-v2/ipad-specific", "id": 220012691 },
{ "key": "MM-T5665", "path": "mobile-v2/ipad-specific", "id": 220012692 },
{ "key": "MM-T5666", "path": "mobile-v2/ipad-specific", "id": 220012693 },
{ "key": "MM-T5667", "path": "mobile-v2/ipad-specific", "id": 220012694 },
{ "key": "MM-T5668", "path": "mobile-v2/drafts", "id": 222635631 }
]
17 changes: 16 additions & 1 deletion data/test-by-folder.json
Original file line number Diff line number Diff line change
Expand Up @@ -3223,6 +3223,7 @@
"folder": "mobile-v2/drafts",
"tests": [
"Create drafts on mobile app",
"Create drafts on mobile app with Post Priority",
"Delete drafts on mobile app",
"Edit Drafts on mobile app",
"Send Drafts on mobile app",
Expand All @@ -3240,6 +3241,20 @@
"Should not be able to send user invite to user already in team"
]
},
{
"folder": "mobile-v2/ipad-specific",
"tests": [
"Verify Enter key functionality with hardware keyboard",
"Verify call layout consistency on orientation change",
"Verify content scroll behavior on input focus with hardware keyboard",
"Verify layout behavior in split-screen mode",
"Verify modal closure by tapping outside",
"Verify navigation behavior when resizing the app",
"Verify the functionality of server icon tap",
"Verify the visibility of message priority action buttons",
"Verify visibility of call controls in landscape mode"
]
},
{
"folder": "mobile-v2/messaging",
"tests": [
Expand Down Expand Up @@ -5255,7 +5270,7 @@
"Back and Close buttons are clickable after the user has typed in an email address",
"If guest accounts is not enabled, the option to invite guests is removed from the invitation flow",
"Invite Guest via Email containing upper case letters",
"Invite Guests - Add Public and Private channels",
"Invite Guests - Add Public and Private channels https://app.rainforestqa.com/tests/447816",
"Invite Guests - Custom Message",
"Invite Guests - Existing Guest not on the team",
"Invite Guests - Existing Member not on the team",
Expand Down
49 changes: 47 additions & 2 deletions data/test-cases-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9043,7 +9043,11 @@
"file": "mobile-v2/drafts/MM-T5637.md"
},
{ "name": "Delete drafts on mobile app", "file": "mobile-v2/drafts/MM-T5638.md" },
{ "name": "Send Drafts on mobile app", "file": "mobile-v2/drafts/MM-T5639.md" }
{ "name": "Send Drafts on mobile app", "file": "mobile-v2/drafts/MM-T5639.md" },
{
"name": "Create drafts on mobile app with Post Priority",
"file": "mobile-v2/drafts/MM-T5668.md"
}
]
},
{
Expand Down Expand Up @@ -9075,6 +9079,47 @@
}
]
},
{
"name": "iPad specific",
"routes": [
{
"name": "Verify call layout consistency on orientation change",
"file": "mobile-v2/ipad-specific/MM-T5659.md"
},
{
"name": "Verify modal closure by tapping outside",
"file": "mobile-v2/ipad-specific/MM-T5660.md"
},
{
"name": "Verify visibility of call controls in landscape mode",
"file": "mobile-v2/ipad-specific/MM-T5661.md"
},
{
"name": "Verify layout behavior in split-screen mode",
"file": "mobile-v2/ipad-specific/MM-T5662.md"
},
{
"name": "Verify Enter key functionality with hardware keyboard",
"file": "mobile-v2/ipad-specific/MM-T5663.md"
},
{
"name": "Verify the functionality of server icon tap",
"file": "mobile-v2/ipad-specific/MM-T5664.md"
},
{
"name": "Verify the visibility of message priority action buttons",
"file": "mobile-v2/ipad-specific/MM-T5665.md"
},
{
"name": "Verify content scroll behavior on input focus with hardware keyboard",
"file": "mobile-v2/ipad-specific/MM-T5666.md"
},
{
"name": "Verify navigation behavior when resizing the app",
"file": "mobile-v2/ipad-specific/MM-T5667.md"
}
]
},
{
"name": "Messaging",
"routes": [
Expand Down Expand Up @@ -14825,7 +14870,7 @@
"file": "suite/guest-accounts/guests-invitation-flow/MM-T1334.md"
},
{
"name": "Invite Guests - Add Public and Private channels",
"name": "Invite Guests - Add Public and Private channels https://app.rainforestqa.com/tests/447816",
"file": "suite/guest-accounts/guests-invitation-flow/MM-T1335.md"
},
{
Expand Down
10 changes: 10 additions & 0 deletions data/test-cases-slugs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2558,12 +2558,22 @@
"mobile-v2/drafts/mm-t5637",
"mobile-v2/drafts/mm-t5638",
"mobile-v2/drafts/mm-t5639",
"mobile-v2/drafts/mm-t5668",
"mobile-v2/invite-people/mm-t5360",
"mobile-v2/invite-people/mm-t5361",
"mobile-v2/invite-people/mm-t5362",
"mobile-v2/invite-people/mm-t5363",
"mobile-v2/invite-people/mm-t5364",
"mobile-v2/invite-people/mm-t5365",
"mobile-v2/ipad-specific/mm-t5659",
"mobile-v2/ipad-specific/mm-t5660",
"mobile-v2/ipad-specific/mm-t5661",
"mobile-v2/ipad-specific/mm-t5662",
"mobile-v2/ipad-specific/mm-t5663",
"mobile-v2/ipad-specific/mm-t5664",
"mobile-v2/ipad-specific/mm-t5665",
"mobile-v2/ipad-specific/mm-t5666",
"mobile-v2/ipad-specific/mm-t5667",
"mobile-v2/messaging/mm-t4781",
"mobile-v2/messaging/mm-t4782",
"mobile-v2/messaging/mm-t4783",
Expand Down
42 changes: 41 additions & 1 deletion data/test-cases-toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4945,6 +4945,10 @@
"name": "Mobile V2: Autocomplete - Edit Channel Header",
"slug": "mobile-v2/autocomplete/mm-t4884"
},
"mobile-v2/drafts/mm-t5668": {
"name": "Create drafts on mobile app with Post Priority",
"slug": "mobile-v2/drafts/mm-t5668"
},
"mobile-v2/drafts/mm-t5639": {
"name": "Send Drafts on mobile app",
"slug": "mobile-v2/drafts/mm-t5639"
Expand Down Expand Up @@ -5009,6 +5013,42 @@
"name": "Mobile V2: Search - Search Messages",
"slug": "mobile-v2/search/mm-t5294"
},
"mobile-v2/ipad-specific/mm-t5659": {
"name": "Verify call layout consistency on orientation change",
"slug": "mobile-v2/ipad-specific/mm-t5659"
},
"mobile-v2/ipad-specific/mm-t5666": {
"name": "Verify content scroll behavior on input focus with hardware keyboard",
"slug": "mobile-v2/ipad-specific/mm-t5666"
},
"mobile-v2/ipad-specific/mm-t5662": {
"name": "Verify layout behavior in split-screen mode",
"slug": "mobile-v2/ipad-specific/mm-t5662"
},
"mobile-v2/ipad-specific/mm-t5663": {
"name": "Verify Enter key functionality with hardware keyboard",
"slug": "mobile-v2/ipad-specific/mm-t5663"
},
"mobile-v2/ipad-specific/mm-t5667": {
"name": "Verify navigation behavior when resizing the app",
"slug": "mobile-v2/ipad-specific/mm-t5667"
},
"mobile-v2/ipad-specific/mm-t5660": {
"name": "Verify modal closure by tapping outside",
"slug": "mobile-v2/ipad-specific/mm-t5660"
},
"mobile-v2/ipad-specific/mm-t5664": {
"name": "Verify the functionality of server icon tap",
"slug": "mobile-v2/ipad-specific/mm-t5664"
},
"mobile-v2/ipad-specific/mm-t5665": {
"name": "Verify the visibility of message priority action buttons",
"slug": "mobile-v2/ipad-specific/mm-t5665"
},
"mobile-v2/ipad-specific/mm-t5661": {
"name": "Verify visibility of call controls in landscape mode",
"slug": "mobile-v2/ipad-specific/mm-t5661"
},
"mobile-v2/threads/mm-t4805": {
"name": "Mobile V2: Threads - Global Threads",
"slug": "mobile-v2/threads/mm-t4805"
Expand Down Expand Up @@ -11354,7 +11394,7 @@
"slug": "suite/guest-accounts/guests-invitation-flow/mm-t1350"
},
"suite/guest-accounts/guests-invitation-flow/mm-t1335": {
"name": "Invite Guests - Add Public and Private channels",
"name": "Invite Guests - Add Public and Private channels https://app.rainforestqa.com/tests/447816",
"slug": "suite/guest-accounts/guests-invitation-flow/mm-t1335"
},
"suite/guest-accounts/guests-invitation-flow/mm-t1344": {
Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/archived-channels/MM-T1698.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ manual_test_environments:
id: 5203651
key: MM-T1698
created_on: "2020-04-23T19:45:09Z"
last_updated: "2024-12-13T19:31:02Z"
case_hashed: 7d7a8afb7379d55d6708b5ccb1ec2c2b8d86a16b33fd2a2dc15848e6c395e80d8ddd734a8ee3e7f7457b2220c17990ed
last_updated: "2025-01-16T11:07:07Z"
case_hashed: 445f3030eba86ac0e43919b2164289533b274c702884d94b8d59cc2d85dc39936ae307cc81bb8ab6395704156eb05ca5
steps_hashed: 53d02573177a59a6be021f6908f8bb91758aad523d47e9ef9b4316d1aa8bf6b31bee32027a171ce4d02d88627735aa12
---

Expand Down
31 changes: 30 additions & 1 deletion data/test-cases/channels/edited-post/MM-T5654.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ key: MM-T5654
created_on: "2024-12-13T14:00:56Z"
last_updated: "2024-12-13T19:30:56Z"
case_hashed: 012fbd86609acd02c4111b385eaf74df368849f1a4e792fadea2e92ba7a61b510da957a2852ae8491e3896031e5adeea
steps_hashed: da75d1744a55f6be35e72a266c93e6411d01ad3708cf79984b9b6d5d4cdc94be81c6da13a479fde3e4750c567abb0353
steps_hashed: f46454291855caa6ddf56f6b378e5f57a652b9acf6d1e246d543c53d92b15b4f41fe54af648a3ae1ed2a94f7eadb75eb
---

<!-- (Auto-generated) Based on frontmatter's "key" and "name" -->
Expand All @@ -40,3 +40,32 @@ steps_hashed: da75d1744a55f6be35e72a266c93e6411d01ad3708cf79984b9b6d5d4cdc94be81
---

**Step 1**

### Scenario 1: User should be able to add attachments while editing a post.

Steps:

1. Navigate to a Channel/Gm/DM where current user has a post to edit.
2. Click the "Edit" option in the post actions menu.
3. Use the "Attach" button (paperclip icon) to upload a file.
4. Save the edited post.
5. Verify the attachment is visible.

### Scenario 2: User should be able to drag and drop attachments while editing a post.

Steps:

1. Navigate to a Channel/Gm/DM where current user has a post to edit.
2. Click the "Edit" option in the post actions menu.
3. Drag and drop a file into the editable area.
4. Verify the attachment is visible.

### Scenario 3: User should be able to add attachments while editing a threaded post.

Steps:

1. Navigate to a Channel/Gm/DM where current user has a threaded post to edit.
2. Click the "Edit" option in the post actions menu.
3. Use the "Attach" button (paperclip icon) to upload a file or drag and drop a file into the editable area.
4. Save the edited post.
5. Verify the attachment is visible.
17 changes: 16 additions & 1 deletion data/test-cases/channels/edited-post/MM-T5655.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ key: MM-T5655
created_on: "2024-12-13T14:00:58Z"
last_updated: "2024-12-13T19:30:57Z"
case_hashed: d2dd875de5036cf9b4dbeba6cfa9835b389a7fd2cf9a562f9b8d471a732883e3439d67ebbee1aa3f91c026dd194ecb1b
steps_hashed: da75d1744a55f6be35e72a266c93e6411d01ad3708cf79984b9b6d5d4cdc94be81c6da13a479fde3e4750c567abb0353
steps_hashed: 912ed9968b8229ed068ad69ed1caadf6f9b5bd1674a8712f90746ba2d0a64105fc2194d2deb2ac6eba79a1291f2d01d0
---

<!-- (Auto-generated) Based on frontmatter's "key" and "name" -->
Expand All @@ -40,3 +40,18 @@ steps_hashed: da75d1744a55f6be35e72a266c93e6411d01ad3708cf79984b9b6d5d4cdc94be81
---

**Step 1**

### Scenario 1: User should be able to remove attachments while editing a post.

Preconditions: A post with at least one attachment exists.

Steps:

1. Navigate to a Channel/Gm/DM where current user has a post with attachment to edit.
2. Click "Edit" in the post actions menu.
3. Remove the attachment by clicking the delete icon (X) on the attachment thumbnail.
4. Verify a confirmation modal pops up.
5. Click on the `Delete` button.
6. Save the edited post.
7. Verify the attachment is not visible.
8. Hover on the label, and verify a tooltip with attachment names is displayed.
53 changes: 52 additions & 1 deletion data/test-cases/channels/edited-post/MM-T5656.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ key: MM-T5656
created_on: "2024-12-13T14:00:59Z"
last_updated: "2024-12-13T19:30:58Z"
case_hashed: 36f305665a841b4d1e3b9d739a905c556b81004258f4141b6ee1ac0f490e2361a36cef5f1006067680fa09a2bc2c0d8e
steps_hashed: da75d1744a55f6be35e72a266c93e6411d01ad3708cf79984b9b6d5d4cdc94be81c6da13a479fde3e4750c567abb0353
steps_hashed: 2e49121734322d1089fc6022b460135d20ee041c152b810e257b27255bdaf7a0942efb2c2912f74ecee5e5a8112d0f07
---

<!-- (Auto-generated) Based on frontmatter's "key" and "name" -->
Expand All @@ -40,3 +40,54 @@ steps_hashed: da75d1744a55f6be35e72a266c93e6411d01ad3708cf79984b9b6d5d4cdc94be81
---

**Step 1**

### Scenario 1: User should be able to restore the previous version of an edited post that had no attachments.

Preconditions: A post with at least one attachment exists.

Steps:

1. Navigate to a post that was edited with new attachments.
2. Click on the "Edited" option shown beside the post.
3. Verify an RHS panel is shown to the user with the date and time when the post was edited.
4. Restore the version of the post that does not have the attachment.
5. Verify the post is updated. The files are not visible to other users.

### Scenario 2: Verify public links do not work once the retention policy date is passed.

Preconditions: A post with at least one attachment exists. Enable Public link for the attachment.

Steps:

1. Navigate to a post that was edited with new attachments.
2. Click on the "Edited" option shown beside the post.
3. Verify an RHS panel is shown to the user with the date and time when the post was edited.
4. Restore the version of the post that does not have the attachment.
5. Verify the post is updated. The files are not visible to other users.
6. Verify the file public link shows a file not found error.
- From Admin account, verify the file public link shows a file not found error.

### Scenario 3: Verify the files do not show under Channel files.

Steps:

1. Verify the attachment is visible in Channel files.
2. Navigate to a post that was edited with new attachments.
3. Click on the "Edited" option shown beside the post.
4. Verify an RHS panel is shown to the user with the date and time when the post was edited.
5. Restore the version of the post that does not have the attachment.
6. Verify the post is updated. The files are not visible to other users.
7. Verify the Channel files do not have the attachment anymore.

### Scenario 4: Verify user cannot see the post and file in the edit history if the data retention policy date has past.

Preconditions:

- A post with at least one attachment exists. This post should have been edited.
- Data retention policy is enabled.
- The edited date of the post with attachments should be beyond the file retention and post retention days set.

Steps:

1. Navigate to the post and open the Edit version panel.
2. Verify the user cannot see the post and files of an edit version beyond data retention date.
18 changes: 17 additions & 1 deletion data/test-cases/channels/edited-post/MM-T5657.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ key: MM-T5657
created_on: "2024-12-13T14:01:00Z"
last_updated: "2024-12-13T19:30:59Z"
case_hashed: 89985d9e98341541834036e972926369446c26b0836a8e637f83f96fccd867c3df94904ecc7026c8af18927bea60d01e
steps_hashed: da75d1744a55f6be35e72a266c93e6411d01ad3708cf79984b9b6d5d4cdc94be81c6da13a479fde3e4750c567abb0353
steps_hashed: 4407af0ce82fb96b98683a83f508822846c10bf9c3f04c049389d653ab75da25e0c2c1267af0908788de9482cbb25fb8
---

<!-- (Auto-generated) Based on frontmatter's "key" and "name" -->
Expand All @@ -40,3 +40,19 @@ steps_hashed: da75d1744a55f6be35e72a266c93e6411d01ad3708cf79984b9b6d5d4cdc94be81
---

**Step 1**

### Scenario 1: User should be able to download files after restoring a old version.

Preconditions:

- A post with attachment should have been edited.
- Current edited version of post should not have attachment.

Steps:

1. Navigate to a post.
2. Click on the "Edited" option shown beside the post.
3. Verify an RHS panel is shown to the user with the date and time when the post was edited.
4. Restore the old version of post that has attachment.
5. Download the attachment from the post.
6. Verify the file is successfully downloaded.
Loading

0 comments on commit 65aac2a

Please sign in to comment.