From 65246da8beeaad42ad3d259343cee0e1e2235267 Mon Sep 17 00:00:00 2001 From: Saturnino Abril <5334504+saturninoabril@users.noreply.github.com> Date: Wed, 23 Oct 2024 10:44:23 +0800 Subject: [PATCH] upgrade Deno to 2.0 (#191) --- .github/workflows/deno.yml | 12 +-- data/test-cases/channels/MM-T5129.md | 10 +-- data/test-cases/channels/MM-T5188.md | 7 +- .../channels/ada-accessibility/MM-T3869.md | 7 +- .../autocomplete/with-database/MM-T4071.md | 3 +- .../autocomplete/with-database/MM-T4072.md | 3 +- .../autocomplete/with-database/MM-T4073.md | 3 +- .../autocomplete/with-database/MM-T4074.md | 3 +- .../with-elasticsearch/MM-T2506.md | 3 +- .../with-elasticsearch/MM-T3860.md | 3 +- .../with-elasticsearch/MM-T3861.md | 3 +- .../with-elasticsearch/MM-T3862.md | 3 +- .../channels/channel-settings/MM-T3302.md | 6 +- .../channels/channel-settings/MM-T4270.md | 15 +--- .../channels/channel-settings/MM-T887.md | 8 +- data/test-cases/channels/channels/MM-T3989.md | 5 +- data/test-cases/channels/channels/MM-T4056.md | 6 +- data/test-cases/channels/channels/MM-T847.md | 4 +- .../collapsed-reply-threads/MM-T4140.md | 8 +- .../collapsed-reply-threads/MM-T4144.md | 10 +-- .../collapsed-reply-threads/MM-T4417.md | 22 +----- .../collapsed-reply-threads/MM-T4445.md | 6 +- .../collapsed-reply-threads/MM-T4447.md | 11 +-- .../collapsed-reply-threads/MM-T4611.md | 11 +-- .../collapsed-reply-threads/MM-T4646.md | 14 +--- .../collapsed-reply-threads/MM-T4682.md | 6 +- .../collapsed-reply-threads/MM-T4798.md | 22 +----- .../collapsed-reply-threads/MM-T4887.md | 7 +- .../channels/custom-emoji/MM-T4436.md | 7 +- .../custom-statuses/mobile/MM-T4145.md | 5 +- .../channels/edited-post/MM-T4967.md | 4 +- .../channels/emoji-picker/MM-T4261.md | 6 +- .../channels/files-and-attachments/MM-T331.md | 11 +-- .../channels/files-and-attachments/MM-T342.md | 6 +- .../channels/files-and-attachments/MM-T343.md | 4 +- .../channels/files-and-attachments/MM-T347.md | 4 +- .../files-and-attachments/MM-T5179.md | 20 +---- .../channels/keyboard-shortcuts/MM-T4441.md | 6 +- .../channels/keyboard-shortcuts/MM-T5180.md | 9 +-- .../channels/keyboard-shortcuts/MM-T5181.md | 24 +----- .../channels/left-sidebar/MM-T2006.md | 3 +- .../channels/left-sidebar/MM-T3171.md | 14 +--- .../channels/left-sidebar/MM-T3349.md | 22 +----- .../channels/left-sidebar/MM-T3350.md | 7 +- .../channels/left-sidebar/MM-T3351.md | 3 +- .../channels/left-sidebar/MM-T3488.md | 11 +-- .../channels/left-sidebar/MM-T3834.md | 16 +--- .../channels/left-sidebar/MM-T4057.md | 5 +- .../channels/left-sidebar/MM-T4655.md | 7 +- .../custom-categories/MM-T3803.md | 5 +- .../custom-categories/MM-T3864.md | 8 +- .../left-sidebar/dms-and-gms/MM-T2016.md | 8 +- .../left-sidebar/unread-filter/MM-T3442.md | 7 +- .../left-sidebar/unread-filter/MM-T3444.md | 8 +- .../channels/mark-as-unread/MM-T5223.md | 10 +-- .../channels/mark-as-unread/MM-T5224.md | 10 +-- .../channels/message-forwarding/MM-T4934.md | 78 +------------------ .../channels/message-forwarding/MM-T4935.md | 7 +- .../test-cases/channels/messaging/MM-T3319.md | 2 + .../test-cases/channels/messaging/MM-T4004.md | 4 +- .../test-cases/channels/messaging/MM-T4083.md | 3 +- .../test-cases/channels/messaging/MM-T4639.md | 5 +- .../test-cases/channels/messaging/MM-T4641.md | 7 +- .../test-cases/channels/messaging/MM-T4688.md | 10 +-- .../test-cases/channels/messaging/MM-T4901.md | 3 +- .../test-cases/channels/messaging/MM-T4926.md | 16 +--- .../test-cases/channels/messaging/MM-T4948.md | 11 +-- .../channels/permalink-preview/MM-T4315.md | 3 +- .../channels/permalink-preview/MM-T4317.md | 6 +- .../channels/permalink-preview/MM-T4771.md | 4 +- .../channels/permalink-preview/MM-T5089.md | 3 +- .../channels/profile-settings/MM-T4070.md | 31 +------- .../channels/profile-settings/MM-T4420.md | 3 +- .../channels/profile-settings/MM-T4914.md | 7 +- data/test-cases/channels/search/MM-T354.md | 4 +- data/test-cases/channels/search/MM-T4084.md | 8 +- data/test-cases/channels/search/MM-T4927.md | 6 +- data/test-cases/channels/search/MM-T4945.md | 13 +--- data/test-cases/channels/settings/MM-T4379.md | 11 +-- .../desktop-app--native-specific-/MM-T4022.md | 5 +- .../desktop-app--native-specific-/MM-T4031.md | 8 +- .../desktop-app--native-specific-/MM-T4050.md | 4 +- .../desktop-app--native-specific-/MM-T4054.md | 9 +-- .../desktop-app--native-specific-/MM-T4055.md | 5 +- .../server-tab-header/MM-T2636.md | 5 +- .../settings/MM-T4638.md | 5 +- .../integrations/outgoing-webhook/MM-T2038.md | 4 +- .../mobile-app--native-specific-/MM-T3232.md | 5 +- .../mobile-app--native-specific-/MM-T43.md | 5 +- .../plugins/plugin-marketplace/MM-T2026.md | 4 +- data/test-cases/rolling-upgrade/MM-T5392.md | 10 +-- data/test-cases/suite/auth-sso/MM-T3402.md | 3 +- .../suite/custom-groups/MM-T4658.md | 10 ++- .../enterprise/group-mentions/MM-T2464.md | 40 +--------- .../guest-identification/MM-T1381.md | 3 +- .../test-cases/suite/notifications/MM-T560.md | 10 +-- .../suite/notifications/toast/MM-T4423.md | 9 +-- .../custom-terms-of-service/MM-T1190.md | 9 +-- .../site-configuration/posts/MM-T4086.md | 10 +-- .../suite/work-templates/MM-T5380.md | 3 +- deno.jsonc | 25 ++++-- src/deps.ts | 28 ------- src/get_custom_fields.ts | 3 +- src/get_folders.ts | 2 +- src/get_manifests.ts | 4 +- src/get_test_cases.ts | 2 +- src/index_test_cases.ts | 17 ++-- src/save.ts | 3 +- src/util/file.ts | 2 +- src/util/helper.ts | 4 +- src/util/jira.ts | 2 +- src/util/markdown.ts | 21 +++-- src/util/test_case.ts | 5 +- src/util/validate.ts | 3 +- src/util/zephyr.ts | 4 +- www/islands/GoToTestCase.tsx | 2 +- 116 files changed, 215 insertions(+), 794 deletions(-) delete mode 100644 src/deps.ts diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index ad6192c3d..cf05fc725 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -14,16 +14,16 @@ env: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: contents: write steps: - name: Setup repo - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: denoland/setup-deno@v1 + - uses: denoland/setup-deno@4606d5cc6fb3f673efd4f594850e3f4b3e9d29cd # v2.0.0 with: - deno-version: v1.x + deno-version: v2.x - name: Verify formatting run: deno task check @@ -31,11 +31,11 @@ jobs: - name: Validate changes run: deno task validate - - name: Validate All + - name: Validate all run: deno task validate-all - name: Check spellings - uses: codespell-project/actions-codespell@master + uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1 with: ignore_words_file: .codespellignore path: data diff --git a/data/test-cases/channels/MM-T5129.md b/data/test-cases/channels/MM-T5129.md index d1a75c20a..6a39c5123 100644 --- a/data/test-cases/channels/MM-T5129.md +++ b/data/test-cases/channels/MM-T5129.md @@ -31,7 +31,7 @@ key: MM-T5129 created_on: "2022-09-06T16:48:44Z" last_updated: "2022-12-01T21:05:10Z" case_hashed: bd33b7ef99a872d6f294696c1d12441c8bab3ff17f100ed1641340168d642c2a9f7b6e30864c75899497362e6572a5d7 -steps_hashed: 6cfa8947fa2d85c9b61a29da75651e2ab100457e72f22e6d43fc271d6b01a61742694827d6baea4ad2e83595df23437d +steps_hashed: 27a76821dca25c97f99a26a7b9105aa996f071a3e73fc524bfa0b1f1516ae1ecfb5798395df6950ccd2dcf93ec251339 --- @@ -43,21 +43,13 @@ steps_hashed: 6cfa8947fa2d85c9b61a29da75651e2ab100457e72f22e6d43fc271d6b01a61742 **Step 1** 1. Enable group Unreads separately  - 2. Have one unread channel, e.g. Channel A - 3. Join and Mute channel B (Pre-requisite:  muted channel must have a mention, and there must be < 5 unread channels on the team) - 4. Receive a mention in the muted channel B  - 1. Verify muted channel is listed on the bottom of the Unreads section on the LHS - 5. Open Find Channel modal (channel switcher) - 1. Verify unread muted channel in not listed in the unread section  - 6. Search for the muted channel on the find channel modal - 1. Verify Channel B can still be found **Expected** diff --git a/data/test-cases/channels/MM-T5188.md b/data/test-cases/channels/MM-T5188.md index 110553e43..f0b047c8b 100644 --- a/data/test-cases/channels/MM-T5188.md +++ b/data/test-cases/channels/MM-T5188.md @@ -30,7 +30,7 @@ key: MM-T5188 created_on: "2022-10-03T23:42:17Z" last_updated: "2022-12-01T21:05:11Z" case_hashed: 1765acdf67ad18a5121b9c66f64f659c6afed281747cbaefbe292a26b2302feb117c7167cfb02ec113c775468b891639 -steps_hashed: cb4e64b1ec4936f476dd8e59a8c6902a8f612597a5e404d2a9593c07df318bb2df15d0fad27c9cf67af08ec9e99e7ffb +steps_hashed: 750d55f3d85962ba1899cad29b8d10c3c1b65150b1e28e3c758d1d267a5071bda03c10fe8927748ede1339410015bc84 --- @@ -44,13 +44,8 @@ steps_hashed: cb4e64b1ec4936f476dd8e59a8c6902a8f612597a5e404d2a9593c07df318bb2df _Muted channel mentions should not be counted on the Team icon badge_ 1. Join and Mute channel C while viewing team A - 2. Switch to a different team, e.g team B - 3. Receive a mention in the muted channel C while viewing team B  - 1. Verify muted channel mention is not counted on Team A icon on the team sidebar - 4. Open team A - 1. Verify unread muted channel is listed on the bottom of the unread section on the channel sidebar, shows mention badge, and reduced opacity diff --git a/data/test-cases/channels/ada-accessibility/MM-T3869.md b/data/test-cases/channels/ada-accessibility/MM-T3869.md index 76cef9d10..5f2d5d541 100644 --- a/data/test-cases/channels/ada-accessibility/MM-T3869.md +++ b/data/test-cases/channels/ada-accessibility/MM-T3869.md @@ -32,7 +32,7 @@ key: MM-T3869 created_on: "2021-03-04T19:27:06Z" last_updated: "" case_hashed: 52bc19e29af1b0a5762b648b242b29db36b1592d6f4e6c3aa1702bfed25e60df5f65788a4b9dade0aa59ec79e88f4b22 -steps_hashed: 7138d0a58eef529d4e1a463c92b1ca1d93e2490f89f18da561fb185b5d51e21b3eb2be04eecf20486d22090f897725c2 +steps_hashed: dbd829e97d707aa6a2b39cdd0243a9998e8487b718570d65072d4fd6685ddcad5b9c994a288ed32bb52806eb47f80b06 --- @@ -46,10 +46,15 @@ steps_hashed: 7138d0a58eef529d4e1a463c92b1ca1d93e2490f89f18da561fb185b5d51e21b3e _Channel Sidebar TAB navigation - move/re-arrange channels within the category_ 1. Open Mattermost (with the new sidebar active). + 2. Using F6 (or Ctrl/Cmd + F6) navigate to the sidebar + 3. Tab until one of the channels is highlighted with a gray border. Make sure you're in a category with multiple channels (category can be set to manual sorting, if not channel will snap back to it's original sorted position, tabbing, selecting and dropping should still work) + 4. Press SPACE and then use the arrow keys to move the channel down. + 5. Press SPACE again to release the channel. The channel should be in its new position. + 6. Continue to tab through channels on the LHS **Expected** diff --git a/data/test-cases/channels/autocomplete/with-database/MM-T4071.md b/data/test-cases/channels/autocomplete/with-database/MM-T4071.md index 526aaf5c2..378b65665 100644 --- a/data/test-cases/channels/autocomplete/with-database/MM-T4071.md +++ b/data/test-cases/channels/autocomplete/with-database/MM-T4071.md @@ -33,7 +33,7 @@ key: MM-T4071 created_on: "2021-05-19T00:24:00Z" last_updated: "2022-09-09T20:29:09Z" case_hashed: 22ebc60be4835d09c6109a43e969c99da7177746b7e2b8437b950696a7e0c1be49ce7ce8fe0c28d99d1b9027352c836c -steps_hashed: c45b5f9397426e0ed6bcdd2064118b9d4172e5ad81b5de951b10fe07274c3e9ba478b4884f9b1cba9f14823fabe0a8d0 +steps_hashed: e5b7fb3e9eb1e1ae743c1727d9974f31a6d19257bc40416739577c4cded3404de57420e06d5765e13fd928c34460a1b1 --- @@ -64,7 +64,6 @@ The user you're autocompleting should be returned 1. Unique but partial username returns single user\ ––––––––––––––––––––––––– - 1. In a message input box, type "@" followed by unique but partial text of a username you want to mention **Expected** diff --git a/data/test-cases/channels/autocomplete/with-database/MM-T4072.md b/data/test-cases/channels/autocomplete/with-database/MM-T4072.md index b15fa6cc4..1b0c83353 100644 --- a/data/test-cases/channels/autocomplete/with-database/MM-T4072.md +++ b/data/test-cases/channels/autocomplete/with-database/MM-T4072.md @@ -33,7 +33,7 @@ key: MM-T4072 created_on: "2021-05-19T00:28:58Z" last_updated: "2022-09-09T20:29:07Z" case_hashed: 2da96e339191807dadd88dcbd90bb7bf2c81304a0a894a4b0dfc622d8bff86c5b6daa4355592e1d06671237a8b8c5c89 -steps_hashed: 2e4ee80a6c464f43b365a4886f4f6952e4e61edb6ef582a34763c54980b723649b666daac1fe51f03eb97020bfd29eb6 +steps_hashed: 7d96c705441a012f146e3170df14eeacf75fb710177a13b724cd7d456b055e2cf27bd83a5ed8cf4e9a0e50f971f0dde5 --- @@ -64,7 +64,6 @@ The user you're autocompleting should be returned 1. Unique but partial first name returns single user\ ––––––––––––––––––––––––– - 1. In a message input box, type "@" followed by unique but partial text of a first name you want to mention **Expected** diff --git a/data/test-cases/channels/autocomplete/with-database/MM-T4073.md b/data/test-cases/channels/autocomplete/with-database/MM-T4073.md index de1c6a534..dbca867ba 100644 --- a/data/test-cases/channels/autocomplete/with-database/MM-T4073.md +++ b/data/test-cases/channels/autocomplete/with-database/MM-T4073.md @@ -33,7 +33,7 @@ key: MM-T4073 created_on: "2021-05-19T00:31:36Z" last_updated: "2022-09-09T20:29:07Z" case_hashed: 2d8f591791254bce2f44ca82631be1658ac7919674874f0fcb999a822f456dcff82172d3d438edb691b6fb694968334b -steps_hashed: ca4ad8f1472037457c441767de85ff9845f32acc7f523b973208219778785318f7c64578a3f3d82819b018b92a94e4f7 +steps_hashed: 6ef63b53d25982df5ab407e464f9c39f1720fd75c65e090094a8b454baf0e6184feae26da6ed275d355ae715ef670ab5 --- @@ -64,7 +64,6 @@ The user you're autocompleting should be returned 1. Unique but partial last name returns single user\ ––––––––––––––––––––––––– - 1. In a message input box, type "@" followed by unique but partial text of a last name you want to mention **Expected** diff --git a/data/test-cases/channels/autocomplete/with-database/MM-T4074.md b/data/test-cases/channels/autocomplete/with-database/MM-T4074.md index 4d8cafebb..b9ded4260 100644 --- a/data/test-cases/channels/autocomplete/with-database/MM-T4074.md +++ b/data/test-cases/channels/autocomplete/with-database/MM-T4074.md @@ -33,7 +33,7 @@ key: MM-T4074 created_on: "2021-05-19T00:33:47Z" last_updated: "2022-09-09T20:29:08Z" case_hashed: 8b9a061d3bcc0c8ee7472f6d224233fbff89b0ed386cda636b2dd0af90a2c58410bb4d8cd3514533598d0d3e7a656f00 -steps_hashed: a9299afb4b7ef976ace5ee6d6d8116f66a94dec5474cfa79dc4325e9af9693940595ac1615794bf3f03494685c923ef7 +steps_hashed: bbe0021fe05f26378105acc896147f514e64b0bb2b491fcb1b71aae4a7cd5afbca3500edafb955208ba43ed88678c62d --- @@ -64,7 +64,6 @@ The user you're autocompleting should be returned 1. Unique but partial nickname returns single user\ ––––––––––––––––––––––––– - 1. In a message input box, type "@" followed by unique but partial text of a nickname you want to mention **Expected** diff --git a/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T2506.md b/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T2506.md index f690c7d9e..fc3508e93 100644 --- a/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T2506.md +++ b/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T2506.md @@ -34,7 +34,7 @@ key: MM-T2506 created_on: "2020-05-26T20:27:36Z" last_updated: "2022-09-09T20:29:04Z" case_hashed: 394fc866761790094b6ee34d0c45cd236c2a16a855e38fb63d0f3bb2b964063b388d3462c60f1846b8f3727cb246d769 -steps_hashed: 85ca5edc644793e8c85c456069389c6ed6228e1b88501ce95c32323911eddb54568fff0006375fef5df4b3982f092eba +steps_hashed: e6ad95a0f358405d20f89d0d2f8ba9e577d89b1ef4d0c762773fb3f9fdcf267a16359d8823c3334ad8c17a69c0df4d4b --- @@ -65,7 +65,6 @@ The user you're autocompleting should be returned 1. Unique but partial username returns single user\ ––––––––––––––––––––––––– - 1. In a message input box, type "@" followed by unique but partial text of a username you want to mention **Expected** diff --git a/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3860.md b/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3860.md index 45dd0575c..7794e0bfb 100644 --- a/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3860.md +++ b/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3860.md @@ -33,7 +33,7 @@ key: MM-T3860 created_on: "2021-02-24T17:35:09Z" last_updated: "2022-09-09T20:29:00Z" case_hashed: 55c75a9173769a3f110d1cd8248eb00e775f58f6f59e6a01c95562d053cde31a99f667164fd8f15d4baa427246479ca6 -steps_hashed: 74b8ff06676191990ec935b5ffa445e9fb162eed679b8e4573892f6926ace6eeb84d7161bb668f127657d7d43bc65f61 +steps_hashed: 29df509af89fd1f760367334b02d6fc333fd739fec604d97f391cd19f66b25e78d221111aad26d288645314f3970ba04 --- @@ -64,7 +64,6 @@ The user you're autocompleting should be returned 1. Unique but partial first name returns single user\ ––––––––––––––––––––––––– - 1. In a message input box, type "@" followed by unique but partial text of a first name you want to mention **Expected** diff --git a/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3861.md b/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3861.md index 7d6b1a9f7..73dd2bad8 100644 --- a/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3861.md +++ b/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3861.md @@ -33,7 +33,7 @@ key: MM-T3861 created_on: "2021-02-24T17:42:35Z" last_updated: "2022-09-09T20:28:59Z" case_hashed: 38679195d0b0fe77f7ed14a2298031c0e9a48b920b5935a2350414403641f1c45fb2cedd2b01c1a8188eb19f59e6b25b -steps_hashed: a64bb1208f98cbe943c60dda3187610059c4515a7e0d1c3d844df9155165821df7bdcd00c2a912ec62abd8ebf045ec9f +steps_hashed: d8e302bbad0ebbc9f01ead2b3b26c1838ee4fb98ce8f7aafc69a165884bf7773224a48fc53163b130e49013d09bd62e9 --- @@ -64,7 +64,6 @@ The user you're autocompleting should be returned 1. Unique but partial last name returns single user\ ––––––––––––––––––––––––– - 1. In a message input box, type "@" followed by unique but partial text of a last name you want to mention **Expected** diff --git a/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3862.md b/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3862.md index 974704172..e854a5afc 100644 --- a/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3862.md +++ b/data/test-cases/channels/autocomplete/with-elasticsearch/MM-T3862.md @@ -33,7 +33,7 @@ key: MM-T3862 created_on: "2021-02-24T17:45:38Z" last_updated: "2022-09-09T20:29:02Z" case_hashed: c08492a97f8d3343dd3d1f96efefebeb12d59ac0f9a46b14290314e85700badaa3aecea0f4959a8aea2e12d45c173cbf -steps_hashed: 4d6f92252130119c28fe255f04a6b5a97a67deda6a918290abee07b868fa5859dedcbcbb47739b790c504f899d961865 +steps_hashed: 227954356198ba8bb1299e021c1c52c454146049ef64ade1cea68457dc3e8fd7ab39465c5e931e27aa47c7e6b470e093 --- @@ -64,7 +64,6 @@ The user you're autocompleting should be returned 1. Unique but partial nickname returns single user\ ––––––––––––––––––––––––– - 1. In a message input box, type "@" followed by unique but partial text of a nickname you want to mention **Expected** diff --git a/data/test-cases/channels/channel-settings/MM-T3302.md b/data/test-cases/channels/channel-settings/MM-T3302.md index 233a12597..5a0ec5a66 100644 --- a/data/test-cases/channels/channel-settings/MM-T3302.md +++ b/data/test-cases/channels/channel-settings/MM-T3302.md @@ -36,7 +36,7 @@ key: MM-T3302 created_on: "2020-08-11T10:28:42Z" last_updated: "" case_hashed: f0ae1e302d3c3433c9bf7aede6b5093f2d098fa582cf2bb164af9e02dcf4d011c5a0dc448064331f9ddc1c75d479f011 -steps_hashed: 0db618d5dbf51ac2a08b8670203812d18b76b26369a70a594dcc8235b26e1abafdab17ffd40c008f200ff16ffa9150f7 +steps_hashed: a71ece7f2f99c09e3183517e863450d9b9339964f73d18e9fed015eeb901696104b91502d9f7b33b961a6cebf1f7953a --- @@ -48,9 +48,13 @@ steps_hashed: 0db618d5dbf51ac2a08b8670203812d18b76b26369a70a594dcc8235b26e1abafd **Step 1** 1. Log in to the mobile app as a member and leave it open + 2. Have another user add you to a new team from the web app + 3. Swipe left 2x on the mobile app to open Team sidebar + 4. Tap on the new team + 5. Open Channel sidebar on the new team **Expected** diff --git a/data/test-cases/channels/channel-settings/MM-T4270.md b/data/test-cases/channels/channel-settings/MM-T4270.md index c6c169578..ee7cba473 100644 --- a/data/test-cases/channels/channel-settings/MM-T4270.md +++ b/data/test-cases/channels/channel-settings/MM-T4270.md @@ -34,7 +34,7 @@ key: MM-T4270 created_on: "2021-10-08T13:21:57Z" last_updated: "" case_hashed: 1fffbe43919f036cc8140b08358cf55d314a2de4abb4d703b01861a2be68b64e9dc19be7342f36f66ffd716f8cf1bde9 -steps_hashed: 9e41cfcd03c7cbe3e05dfd470a53a4de961d208f703c692f8464ea0d0ebfdb9cc6560518ababa428cae463bc4196f99a +steps_hashed: 6cc412edb4e74dad693c901587fde77b2fb601ec047486ac7e86db50b74645b2857ce17447386e89c3ffeb11a681b8c6 --- @@ -48,31 +48,18 @@ steps_hashed: 9e41cfcd03c7cbe3e05dfd470a53a4de961d208f703c692f8464ea0d0ebfdb9cc6 \_Use "Move to" option on channel header menu to move channels into categories \_ 1. Open the channel or DM you'd like to move. - 2. Click the channel/DM’s menu in the conversation header.  - 1. Verify menu opens and "Move to" option is available - 3. Select "Move to..." - 4. Select a custom category from the list  - 1. Verify channel/DM has been moved to selected category and can be found on the LHS - 5. Remain on the same channel and click on channel name to open the channel header menu - 1. Verify that the category this channel is already in has a check mark next to it - 6. Select\*\* New category\*\* - 1. Verify Create New Category modal opens - 7. Add Category name and click Create - 1. Verify new category is created and added to the top of the left sidebar; channel can be found in the new category - 8. Open channel header menu again - 1. Verify Categories are in the same order in the menu as they appear in the sidebar. **Expected** diff --git a/data/test-cases/channels/channel-settings/MM-T887.md b/data/test-cases/channels/channel-settings/MM-T887.md index fd5f194d4..56bcb2648 100644 --- a/data/test-cases/channels/channel-settings/MM-T887.md +++ b/data/test-cases/channels/channel-settings/MM-T887.md @@ -37,7 +37,7 @@ key: MM-T887 created_on: "2020-01-18T01:00:17Z" last_updated: "2022-09-09T17:58:48Z" case_hashed: c92ee2137a2b173cbb9b78b8f6a44f94179e48dbbe0021b8180f79b8094c9da3356a7f0fd3d4701cc36668690caa1b3d -steps_hashed: ebeda53d1eeb55b3a9e19d2f09e0db12509fc472e863e5030cfd438a6dae918dee3b9f08e54a5f29e374140cf8dee746 +steps_hashed: 44c5f163313c4dbf96770d4d2e8cb0413afb4eebed9cc8adb344cf9e64cbcd8e509d141639c8d6cc86f565332e527a88 --- @@ -49,17 +49,11 @@ steps_hashed: ebeda53d1eeb55b3a9e19d2f09e0db12509fc472e863e5030cfd438a6dae918dee **Step 1** 1. Go to a channel that is NOT muted - 2. In the center panel, to the right of a channel name, click on the dropdown arrow - 3. Click on "Mute Channel" - 1. Verify channels is muted - 4. Stay/Go to a MUTED channel - 5. Click on the dropdown arrow to the right of the channel name or the 'Unmute Channel' icon (Bell with a slash) - 6. Click on "Unmute Channel" **Expected** diff --git a/data/test-cases/channels/channels/MM-T3989.md b/data/test-cases/channels/channels/MM-T3989.md index d02509f10..6bd2effc7 100644 --- a/data/test-cases/channels/channels/MM-T3989.md +++ b/data/test-cases/channels/channels/MM-T3989.md @@ -33,7 +33,7 @@ key: MM-T3989 created_on: "2021-04-12T21:03:40Z" last_updated: "" case_hashed: 8d62bb8b201674b8cff496d2c12b08e451f7bfd525922e7fc11d648efdeea6985270456ad85303033a39023fb51a8126 -steps_hashed: 205fdb147fc61016445e7981de9c379d197ab62e7b44d4b26adebafd419fee57c3cb61089820408f781d6904ac3ff6cd +steps_hashed: a34510ef8b5ff05b45f9662d2ac1a7b188f9c93cd740df19a0b60457ef9810b8d5af5a793a65822b65cbc2aa3bcbe57e --- @@ -47,11 +47,8 @@ steps_hashed: 205fdb147fc61016445e7981de9c379d197ab62e7b44d4b26adebafd419fee57c3 Slow Typing investigation 1. Setup an environment with a steady state of background activity triggering websocket updates (i.e. other users posting on a semi-regular cadence to channels in which the user is a member) - 2. Open 20+ DMs or GMs (the more, the easier this is to reproduce) - 3. Test typing while this background activity is occurring - 1. Verify there is no delay between user typing and text rendering on the screen **Expected** diff --git a/data/test-cases/channels/channels/MM-T4056.md b/data/test-cases/channels/channels/MM-T4056.md index 6426531a9..f037c94c9 100644 --- a/data/test-cases/channels/channels/MM-T4056.md +++ b/data/test-cases/channels/channels/MM-T4056.md @@ -32,7 +32,7 @@ key: MM-T4056 created_on: "2021-05-11T20:10:12Z" last_updated: "" case_hashed: aa6952ff44af3827c259aa52c1a5350b977f55d2b2a88badf3eb7b402d224600ea4ab04ea9e4ff4d762e1c790cdd1855 -steps_hashed: 0619921bfb121ff285d010cd755ab4fc9bf478882b901ce1918715a9235d96f2193b3e284b3d2dca177786f67abcb253 +steps_hashed: 30ca644d4bb5941b79f3efaa4a5a12bba486864ea803252ca9a4bc56788b8fab409df39c18f0222f2d0122db83316998 --- @@ -46,13 +46,9 @@ steps_hashed: 0619921bfb121ff285d010cd755ab4fc9bf478882b901ce1918715a9235d96f219 _Show URL slug information in Find Channels modal_ 1. Open Find Channels modal using cmd+K - 2. Search for some channels - 1. Verify URL slug information is displayed after channel name - 3. Search for a GM - 1. Verify URL slug information is **_not displayed_** after GM participants user names **Test Data** diff --git a/data/test-cases/channels/channels/MM-T847.md b/data/test-cases/channels/channels/MM-T847.md index a92d7d44c..265e55eb9 100644 --- a/data/test-cases/channels/channels/MM-T847.md +++ b/data/test-cases/channels/channels/MM-T847.md @@ -38,7 +38,7 @@ key: MM-T847 created_on: "2020-01-18T01:00:08Z" last_updated: "" case_hashed: 471613b0618f5a88c927d4d332507c3e90c27f25d0a640e0a6818a968b136b3ad26bc500775399c494ac32d952459949 -steps_hashed: 15965aeb9f374d4ece65081c257cfe68fac02803090508320e7cb6bbadb8e39d67ab3f4440069e8a251aacdb3ecf0c85 +steps_hashed: 4649947f44da221b149fd8a27c4c7cea5db5810e4688c66a00827f17274210616de1a592ca765118e79fa3139396ad22 --- @@ -50,7 +50,9 @@ steps_hashed: 15965aeb9f374d4ece65081c257cfe68fac02803090508320e7cb6bbadb8e39d67 **Step 1** 1. Open channel drawer + 2. Type the beginning of a channel name in the `Jump to...` search box + 3. Tap on the name of a channel from the filtered list _Related ticket(s):_ diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4140.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4140.md index 0d2f90c96..d9eebafd9 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4140.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4140.md @@ -32,7 +32,7 @@ key: MM-T4140 created_on: "2021-08-12T17:19:27Z" last_updated: "2022-12-01T21:05:15Z" case_hashed: 21056b4e3df64c8b2bb1c42df0aeb3957c00899045f8632d8193a7b03f6afc25b1bd1399564ed6cb1add6dcaa8c30236 -steps_hashed: 3c2f89ed60a25ede9c8323eff76fe64e779c8250c55a502cfbabfe1c595ad96ccff951df28f1e54bda2449b5e0aaf7ed +steps_hashed: dafb35031ce9d2b4587f1490c68ec1d4047b52f3dca372c2a39eb67de16fe2d82d3ba46924eeaaa9d8b92801f94aa68c --- @@ -46,17 +46,11 @@ steps_hashed: 3c2f89ed60a25ede9c8323eff76fe64e779c8250c55a502cfbabfe1c595ad96ccf _CRT - toggle on/off_ 1. Open Settings >Display> Collapsed Reply Threads and toggle setting OFF - 1. Verify Threads item is not available on the sidebar - 2. Open Settings >Display> Collapsed Reply threads and toggle setting ON - 3. Dismiss CRT warning modal - 1. Verify Threads menu item is visible on the sidebar - 4. Click on Global Threads item - 1. Verify Followed Threads title is displayed in H2 font **Expected** diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4144.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4144.md index 187514ed6..ebe0e4522 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4144.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4144.md @@ -31,7 +31,7 @@ key: MM-T4144 created_on: "2021-08-12T19:04:09Z" last_updated: "2022-12-01T21:05:17Z" case_hashed: 17fb996ae94ca8d706da97e125506795f155444ee75b39e5ab40d962ba345bb7702b32a2481bae159e39bd72e45cc4b8 -steps_hashed: cceff644b8560f87abd5499b2ae53cee9c9dd2e09e407f84351b135fb2dcaddd0d6c6f19441eb77e04038cae386ad620 +steps_hashed: 34d0c4e997eaba7878f7967c414acf59a4003e1aab893bf089f91151f1a7fb15e24241cd4aa567d30fd4fe4e6ec7cede --- @@ -45,15 +45,10 @@ steps_hashed: cceff644b8560f87abd5499b2ae53cee9c9dd2e09e407f84351b135fb2dcaddd0d _CRT - Show new message line for the unread thread_ 1. Go to channel with 2 members (user1, user2) - 2. Post a message as user1  - 3. Post a reply as the other user, user2 - 4. As user1, click on the root post to open the thread in the RHS - 1. Verify new line is visible on the RHS above the post from user2 - 5. Close RHS **Expected** @@ -67,11 +62,8 @@ _CRT - Show new message line for the unread thread_ _CRT - Do not show new message line after viewing the thread_ 1. Get the last message  in the channel (from the previous step) - 2. Click on the message to open on the RHS - 1. Verify RHS opens and new message line is **not** visible  - 3. Close RHS **Expected** diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4417.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4417.md index 29ef4a629..ad63da944 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4417.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4417.md @@ -31,7 +31,7 @@ key: MM-T4417 created_on: "2021-11-22T17:19:51Z" last_updated: "2022-12-01T21:05:17Z" case_hashed: 8b2e8f2e96d519f15465fe4894e291452f207e332c95732dc78971bdb73e4b2bfc07d0a77d5b8c2d51fef0ff5da3c334 -steps_hashed: e958d46a08fb8a0586999ddc466ec7eff258ea01f18ac620898012723265fad5aedb3b3029c413a6958dd0a66ee503ae +steps_hashed: fe5a885eb296c48ede46c884fc031d4e27c53d104e5097e41d1b19c1b691c3c369d7d5459835683e582c24993f85b72c --- @@ -45,23 +45,14 @@ steps_hashed: e958d46a08fb8a0586999ddc466ec7eff258ea01f18ac620898012723265fad5ae _Trigger notifications for all when channel setting is checked_ 1. As User1 visit a test channel and set up a channel specific notification to receive ALL notifications  - 2. As User1 switch to different channel e.g. Town Square - 3. Post a root message in the test channel as User2 - 1. Verify that User1 receives notification for the root post, unfollowed - 4. As another user reply to the same root post - 1. Verify User1 is did not receive notification for the reply in a message thread they are not participating in - 5. As User1 visit test channel and post a message - 6. As User1 Switch to Town Square - 7. As User2 post a reply to User1's message  - 1. Verify a notification is received for a reply on a thread User1 is participating in/following **Expected** @@ -75,27 +66,16 @@ _Trigger notifications for all when channel setting is checked_ _Trigger notifications for Mentions in threads when channel setting is checked_ 1. As User1 visit a test channel and set up a channel specific notification to receive notifications for Mentions in a thread  - 2. As User1 switch to different channel e.g. Town Square - 3. Post a root message in the test channel as User2 - 1. Verify that User1 does not receives notification for the root post, unfollowed - 4. As another user reply to the same root post - 1. Verify User1 is did not receive notification for the reply in a message thread they are not participating in - 5. As User1 Switch to Town Square - 6. As User2 visit test channel and post a message - 7. As another user post a reply - 1. Verified User1 does not receive notification for a thread they are not following - 8. As another user post a reply to User2's message mentioning User1  - 1. Verify User1 receives a notification for a mention on a thread **Expected** diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4445.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4445.md index c72bf7b4f..440d78bdc 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4445.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4445.md @@ -31,7 +31,7 @@ key: MM-T4445 created_on: "2021-12-23T20:16:58Z" last_updated: "2022-12-01T21:05:18Z" case_hashed: eb4ad31808a73ccb1e5ac4914a23d7b2c413c258f81d6b791d76f68293bca5d94ce76a5c27d6ccf542102074d458bb05 -steps_hashed: 3a52cd0d407fdbefc7276edd80a055a4eebf2cd784f722b7905358be6e2c2379b94ee7e3031fab8d91f2d6a640e17c74 +steps_hashed: 1c35f4eec263db8beea23b1f368e7e517f8610b9bb0448f631fc0cd31d97e8324b023aa5907e91a2ecc0a43e1d002dee --- @@ -45,11 +45,7 @@ steps_hashed: 3a52cd0d407fdbefc7276edd80a055a4eebf2cd784f722b7905358be6e2c2379b9 _Delete root post_\\ 1. Create new post as user1 - 2. Reply to post as user2 - 3. Open global threads as user1 - 4. Delete a root post from step 1 - 1. Verify thread is removed from the global threads diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4447.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4447.md index 14ef5d369..be90be142 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4447.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4447.md @@ -31,7 +31,7 @@ key: MM-T4447 created_on: "2021-12-23T20:23:18Z" last_updated: "2022-12-01T21:05:19Z" case_hashed: cc3d7a8f4442183498ac8e24fe99aeeb567b6f03ee3151323f328c1653904a4d090c0756011b0dfd2bcb0a254ad2263b -steps_hashed: 2fd3aeb434829bd0dff59bb0dd57d75a35006c130ef921c0bb19e7bdc8b36c25461e76a30ff0d84c0148127b723ba6f4 +steps_hashed: 4ab463c00b8e5209503ddb8e480d1f261f9a7e9df82066fd44881f877111a42bc36a1b2c1a67abd2cffad5f082d9fa2a --- @@ -45,23 +45,14 @@ steps_hashed: 2fd3aeb434829bd0dff59bb0dd57d75a35006c130ef921c0bb19e7bdc8b36c2546 _Delete single reply post on a multi-reply thread_\\ 1. Create new post as user1 on Town Square - 2. Reply to post as user2 - 3. Reply to post as user3  - 4. Open global threads as user2 - 1. Verify thread footer shows all participants and correct reply count  - 5. Open this thread on thread view - 6. As user2 delete reply from step 2 - 1. Verify thread is still present on global threads, shows updated avatars and reply count, user2 avatar is removed - 7. Open Town Square - 1. Verify root post shows updated participant list and reply count **Expected** diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4611.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4611.md index f59869819..2089b6d10 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4611.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4611.md @@ -29,7 +29,7 @@ key: MM-T4611 created_on: "2022-01-30T04:56:46Z" last_updated: "2022-12-01T21:05:19Z" case_hashed: 8c1bbae50d5f407334efbcbeb1b5a2138a6f1edca76598f0a5069e7015ad05c2cb9547f6c231780771069525b3bb795e -steps_hashed: dacc6586603581585834f58cdf6e1f782d0ca023a2c13fbb92fce33e20b13a7ee4901104127901390371ae22f117c585 +steps_hashed: e1246069babb15aa3eeaf0670cf881d77c4af8e550b3c3b8827da7efd6747f05932a387ac8042097b7834afb38a3b326 --- @@ -43,23 +43,14 @@ steps_hashed: dacc6586603581585834f58cdf6e1f782d0ca023a2c13fbb92fce33e20b13a7ee4 Disregard  Reply notification settings if CRT is on 1. Go to Settings>Notifications> Reply notifications select 1st option: Trigger notifications on messages in reply threads that I start or participate in - 2. Save - 3. Receive a reply on a thread you started in  - 1. Verify notification is received  - 4. Go to Settings> Display>Collapsed Reply Threads and set to ON - 5. Save - 6. Go to Settings>Notifications>Desktop Notification>Thread reply notifications and uncheck Notify me about threads I'm following  - 7. Save - 8. Receive a reply on a thread you started  - 1. Verify you are not notified **Expected** diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4646.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4646.md index 7b4eb794c..50f76cc31 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4646.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4646.md @@ -31,7 +31,7 @@ key: MM-T4646 created_on: "2022-02-16T02:09:53Z" last_updated: "2022-12-01T21:05:20Z" case_hashed: 89ede486374f4ecce3122775405ae395248f2f883a3d9ef4e140c7a11315b35c0288eea410f5c6fe810de729b5ffcff1 -steps_hashed: cfafca0c55cbbfa3f182e90ffa5ed882b83ddd26b7d807ddcf2211327fd75b64a27b7719f8672bf5a31d75bf7b427a72 +steps_hashed: 436ee2e780c1cb7a870d69942b2cbaf4136088662bedbbe3809ce407d125e5031a80285d6df88a44569c5f4130fcfd87 --- @@ -45,29 +45,17 @@ steps_hashed: cfafca0c55cbbfa3f182e90ffa5ed882b83ddd26b7d807ddcf2211327fd75b64a2 _Clicking on thread item avatar opens profile popover_ 1. Create a post - 2. Reply to post as current user - 3. Reply to same post as a different user - 4. Get thread footer of last post and find avatars - 5. Click on Avatar - 1. Verify profile popover should be visible - 6. Click on 'esc' - 1. Verify profile popover closes on esc - 7. Go to Global Thread - 8. Click on Avatar on the thread footer - 1. Verify profile popover should be visible - 9. Click on esc - 1. Verify profile popover closes on esc **Expected** diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4682.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4682.md index 9aace22c8..7b543cccc 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4682.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4682.md @@ -31,7 +31,7 @@ key: MM-T4682 created_on: "2022-03-09T21:36:50Z" last_updated: "2022-12-01T21:05:24Z" case_hashed: a2d9bf25a5138c9695819f01f8dfe2b683b2c2114f18f8fb759827d06ff1479800a1453a445e057e89343c1a2ce13835 -steps_hashed: 2b1e7527498148a3d2772da855dfb31adacf962b2de07dd14779e38e3996f8ea875a43f1819e83b7348f07e22970adef +steps_hashed: 673c089ecb6a80912b46a48c943fe317af600846e5feab5573fb8d837dfaaba07f1bb4e1ea1785d9ff65e79bb18a38ac --- @@ -45,13 +45,9 @@ steps_hashed: 2b1e7527498148a3d2772da855dfb31adacf962b2de07dd14779e38e3996f8ea87 Show guidance at the end of the global threads list 1. Create more than 25 threads so we can use scroll loading in the Threads list - 2. Scroll load the threads list to reach the end - 3. Search guidance item should be shown at the end of the threads list - 4. Title, subtitle and shortcut keys should be shown - 1. Verify "That's the end of the list" text within guidance graphic at the bottom of the list **Expected** diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4798.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4798.md index c8e995493..940b32bda 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4798.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4798.md @@ -30,7 +30,7 @@ key: MM-T4798 created_on: "2022-05-03T15:20:01Z" last_updated: "2022-12-01T21:05:31Z" case_hashed: a568cab367ae1aa7b4310df3ccb8a2806c74847723cce38be3d22616b71d0547af7d1134858ae0d75d9a2cee4dd93fc9 -steps_hashed: c32e08af5e64f77c8481b60fc66b418937557e6ebcfae64672ca47aff277c8ad0c8be15c2ffcc27e80936e5327176232 +steps_hashed: e1cac010932ac9176b423c0e63bbe7c089db830133d773540a5726e44101579ec122913801b4b86c38577a5a19c0f3fe --- @@ -44,13 +44,9 @@ steps_hashed: c32e08af5e64f77c8481b60fc66b418937557e6ebcfae64672ca47aff277c8ad0c System console settings for CRT - Disabled 1. Open System Console>Site Configuration>Posts>Collapsed Reply Threads - 2. Ensure "Disabled" option is selected on the dropdown and Save - 3. Return to channels - 4. Open Account Settings>Display - 1. Verify Collapsed Reply option is not available --- @@ -60,13 +56,9 @@ System console settings for CRT - Disabled System console settings for CRT - Enabled (Default Off) 1. Open System Console>Site Configuration>Posts>Collapsed Reply Threads - 2. Ensure "Enabled (Default Off)" option is selected on the dropdown and Save - 3. Return to channels - 4. Open Account Settings>Display - 1. Verify Collapsed Reply Threads option is available - defaulted to Off --- @@ -76,19 +68,12 @@ System console settings for CRT - Enabled (Default Off) System console settings for CRT - Enabled (Default On) 1. Open System Console>Site Configuration>Posts>Collapsed Reply Threads - 2. Ensure "Enabled (Default On)" option is selected on the dropdown and Save - 3. Return to channels - 1. Verify global Threads item is present on the left sidebar - 4. Open Account Settings>Display - 1. Verify Collapsed Reply Threads option is available - defaulted to On - 5. Toggle CRT setting off and save - 1. Verify users can disable the setting, global threads item no longer present on the channel sidebar --- @@ -98,13 +83,8 @@ System console settings for CRT - Enabled (Default On) System console settings for CRT - Always On 1. Open System Console>Site Configuration>Posts>Collapsed Reply Threads - 2. Select "Always On" option on the dropdown and Save - 3. Return to channels - 1. Verify global Threads item is present on the left sidebar - 4. Open Account Settings>Display - 1. Verify Collapsed Reply Threads option is not available, users can't disable the setting diff --git a/data/test-cases/channels/collapsed-reply-threads/MM-T4887.md b/data/test-cases/channels/collapsed-reply-threads/MM-T4887.md index b6533b129..1eca95df9 100644 --- a/data/test-cases/channels/collapsed-reply-threads/MM-T4887.md +++ b/data/test-cases/channels/collapsed-reply-threads/MM-T4887.md @@ -32,7 +32,7 @@ key: MM-T4887 created_on: "2022-06-24T20:01:20Z" last_updated: "2022-12-01T21:05:32Z" case_hashed: 27ea58a9562d5672a6832bb742de3d406f56638c2b6ccfc64b08935faa95669766b2b8ac34c1c8be7269e13ae7de24c9 -steps_hashed: fe4031c03f053e8ec80942baa16de7ccb56f604bd704ecf1cb16cfb99b9702220e0b5afddf73ea0291b0eb2c155ed397 +steps_hashed: cb6481b172d9343eae6b7214d340cafaeb5ad886201562dc2da53e71b4036234f084c2ccc537d8cd087915c16437692b --- @@ -46,15 +46,10 @@ steps_hashed: fe4031c03f053e8ec80942baa16de7ccb56f604bd704ecf1cb16cfb99b9702220e _should stay on threads view when switching teams_ 1. Navigate to the new teams town square - 2. Switch to team B - 1. Verify team display name charges correctly - 3. Go to the ‘Threads’ view on Team B - 4. Switch back to Team A - 1. Verify url is set up for threads view **Expected** diff --git a/data/test-cases/channels/custom-emoji/MM-T4436.md b/data/test-cases/channels/custom-emoji/MM-T4436.md index 334efa468..5b3e20ae4 100644 --- a/data/test-cases/channels/custom-emoji/MM-T4436.md +++ b/data/test-cases/channels/custom-emoji/MM-T4436.md @@ -31,7 +31,7 @@ key: MM-T4436 created_on: "2021-12-13T20:57:57Z" last_updated: "2022-12-01T21:05:38Z" case_hashed: 7c40c443d629708f6fec76d0152a5417fb9fc4e02ea17d39a2e48a9c9f719bcc6dc0e01d8cda3d1a6a2903dce3176900 -steps_hashed: d5212cebeaa077e8c98cf9c6958503dd421279cbaa75f20dfa8d9be0f42db7233383cc374375a4a20c651548c0a115a4 +steps_hashed: 2c991c27102f2be1e30c9d01a5fd4d6772226a10a30fd96149741150b85d2ea50739ee8f6e274a7fa11c85dc2b71ba0c --- @@ -45,13 +45,8 @@ steps_hashed: d5212cebeaa077e8c98cf9c6958503dd421279cbaa75f20dfa8d9be0f42db72333 _Emoji picker should show all custom emojis without overlaps_ 1. Click on Custom Emoji link on emoji picker - 2. Add one custom emoji and save - 3. Add another custom emoji and save - 4. Go to Town Square  - 5. Open Emoji picker and tap on custom category tab - 1. Verify all custom emoji display, no overlap diff --git a/data/test-cases/channels/custom-statuses/mobile/MM-T4145.md b/data/test-cases/channels/custom-statuses/mobile/MM-T4145.md index 922800528..91d44f58a 100644 --- a/data/test-cases/channels/custom-statuses/mobile/MM-T4145.md +++ b/data/test-cases/channels/custom-statuses/mobile/MM-T4145.md @@ -34,7 +34,7 @@ key: MM-T4145 created_on: "2021-08-13T03:02:13Z" last_updated: "" case_hashed: 7a7c15989a6d0084e7346d900c038448b53f1854bceff11f98d462fb84ba95c6056c96c502de63a63eb3f0bb9d4adc6d -steps_hashed: ad7faf89def3fca039041cd89b0eed353f1fe3c7d8bde9dd994f94442b284bb46b614b8a6872b9dc6bc51dc85d291dd2 +steps_hashed: 3aafbe926a3a935dfb3f39a7b2f45fbd8183f1c562e3b743b3efae73fae4ff8ca33c94cb3a4b7996b42f59345f96c2db --- @@ -48,11 +48,8 @@ steps_hashed: ad7faf89def3fca039041cd89b0eed353f1fe3c7d8bde9dd994f94442b284bb46b RN apps: Custom status on mention autocomplete 1. Set custom status for user1 - 2. Log in as user2 - 3. Type @ in the text box and first few letters of the user2 name - 1. Verify user2 custom status is displayed on the at mention autocomplete **Expected** diff --git a/data/test-cases/channels/edited-post/MM-T4967.md b/data/test-cases/channels/edited-post/MM-T4967.md index 54fd6bf3b..e1169c32d 100644 --- a/data/test-cases/channels/edited-post/MM-T4967.md +++ b/data/test-cases/channels/edited-post/MM-T4967.md @@ -31,7 +31,7 @@ key: MM-T4967 created_on: "2022-08-09T03:04:00Z" last_updated: "" case_hashed: 132d23a44246209afd6ad73cd15e7daa93e1c405d1918222756dedf111077c02d37ea650e363d8f11be080bd60068786 -steps_hashed: 87282867e2e25da03d75515998cfde345aad42afab5a999f4e121473c3315db23886dad14e0e82e9946c58d5a994eaa0 +steps_hashed: 9ce94f0a249c0acf4154a64505df51833150bcfa988777abd4f704061cceefe4669d346a153bf1565e25df012243d442 --- @@ -43,7 +43,9 @@ steps_hashed: 87282867e2e25da03d75515998cfde345aad42afab5a999f4e121473c3315db238 **Step 1** 1. Open the RHS + 2. Start editing a post in the centre channel and make some changes to it + 3. Close the RHS **Expected** diff --git a/data/test-cases/channels/emoji-picker/MM-T4261.md b/data/test-cases/channels/emoji-picker/MM-T4261.md index 390860ee7..bd327a1fb 100644 --- a/data/test-cases/channels/emoji-picker/MM-T4261.md +++ b/data/test-cases/channels/emoji-picker/MM-T4261.md @@ -32,7 +32,7 @@ key: MM-T4261 created_on: "2021-10-04T14:16:31Z" last_updated: "" case_hashed: 30f6ed284891772d14b459142f34b2b080f1711aef8d1510609f837774f2f2349e41818ecde40cf3b8390a2eea7effc1 -steps_hashed: 4080bdef3f85856cac792c4989ef0a8003987f332ba5ea05b432637e3688561b28668c444f956dab2102c6ce3f173e62 +steps_hashed: 2d4dbc3298e1d8e6cb27576474b039c7766d21d8f91d2cfd6b25577011b3d83be7e050f277cf0d88b6e85d8c3927e249 --- @@ -97,13 +97,9 @@ _One-Click Reactions_ _One-Click Reactions setting with Emoji Picker OFF_ 1. Navigate to System Console>Site Configuration>Emoji>Enable Emoji Picker, set it to FALSE and save - 2. Open Account Settings > Display - 1. Verify One-click reactions on messages option is not available  - 3. Create a post and hover to reveal post menu  - 1. Verify one click reactions are not shown on the post menu **Expected** diff --git a/data/test-cases/channels/files-and-attachments/MM-T331.md b/data/test-cases/channels/files-and-attachments/MM-T331.md index 6e995cabf..3bd37afcb 100644 --- a/data/test-cases/channels/files-and-attachments/MM-T331.md +++ b/data/test-cases/channels/files-and-attachments/MM-T331.md @@ -33,7 +33,7 @@ key: MM-T331 created_on: "2020-01-02T22:06:16Z" last_updated: "2022-09-09T20:28:51Z" case_hashed: ed9fdc8b96f5e53e047ca98205490cf880e57ecbeec70f568fb30dd8ec4a01e7ac9ad0b0788267329e4f11c49cc10bd8 -steps_hashed: 735a86a4ab7aa41a0be67ad1fec4a7b2fe09eb314ade24c6a47744628a3178ddd7e1cf007bda071b41aaab3a80b12eca +steps_hashed: ea010a9d8295f29d3bc79ff1d64ad373032ea3e2028a54947cb35268cf76abc4de832c871e3a13f37d2d492b463db7b6 --- @@ -49,25 +49,16 @@ Image link preview - Collapse and expand\ Ensure Account Settings ➜ Display ➜ Default appearance of image previews is set to Expanded 1. Post a link to an externally hosted image, such as: - ``` http://www.traveller.com.au/content/dam/images/g/u/n/q/h/0/image.related.articleLeadwide.620x349.gunpvd.png/1488330286332.png ``` - 2. Click to reply to that post, and post that same link again (so you can see it twice in both center and RHS) - 3. In center, on one of the posts, click the collapse arrows to collapse the image preview - 4. Observe it collapses in both center and RHS view - 5. In RHS, click the expand arrows to expand the image preview again - 6. Observe it expand in center and RHS - 7. In center message box, post slash command /collapse - 8. Observe all image previews collapse - 9. In RHS reply box, post slash command /expand _Important notes about this step:_ diff --git a/data/test-cases/channels/files-and-attachments/MM-T342.md b/data/test-cases/channels/files-and-attachments/MM-T342.md index 778d2c3ef..27ccc425c 100644 --- a/data/test-cases/channels/files-and-attachments/MM-T342.md +++ b/data/test-cases/channels/files-and-attachments/MM-T342.md @@ -35,7 +35,7 @@ key: MM-T342 created_on: "2020-01-02T22:06:19Z" last_updated: "2022-09-09T20:28:34Z" case_hashed: 64022e6b8f2066f762f24b746aad0cf2aee36036615f5e87e88213d698dd9e9fd840a7360116174b1f6e129baf8a10a3 -steps_hashed: 72110de3044925b3df7a7f61074f98c83fdbfee0abfcb5c1df98884a73e3e3ad00d9bb6423625cc2fdd305c60c2b65ca +steps_hashed: 952809076b90d43d9abbfe248b0e93784155a3d0ac7f9d7bb0626fe726d59fe1d6ff0aa811f7f17ee52515d6cc6568c9 --- @@ -55,17 +55,13 @@ RN apps: Animated gif (file extension not specified, on server with image proxy) **Note**: Test on [community-release.mattermost.com](https://community-release.mattermost.com) (it has image proxy set up) 1. Post the following (ensure link previews are enabled in your Account Settings): - ``` https://mltshp.com/p/1E5YH ``` - 2. In a separate message, post the following: - ``` ![img](https://mltshp-cdn.com/r/1E5YH) ``` - 3. View the posts _Related ticket(s):_ diff --git a/data/test-cases/channels/files-and-attachments/MM-T343.md b/data/test-cases/channels/files-and-attachments/MM-T343.md index b5b2eea9d..cd189a3bf 100644 --- a/data/test-cases/channels/files-and-attachments/MM-T343.md +++ b/data/test-cases/channels/files-and-attachments/MM-T343.md @@ -37,7 +37,7 @@ key: MM-T343 created_on: "2020-01-02T22:06:19Z" last_updated: "2022-09-09T20:28:41Z" case_hashed: 3c134eb244adf12c136921b6d2c84f326a8978870eea84c80ca2cdfbd47d80ad62690222ec5601195f6087654c2341a0 -steps_hashed: 4b969fcf8d43675bc49e871ef51457bea10cf33ba408b0edc55fa7978b16c461d9e1115221cf304167ee12bc37d355de +steps_hashed: e147f62feb03a5954c4e9ac546f64e45dc5fbac4c4bfb9b0f137d62f965c394392e0563ce989b9e91d951ac225356269 --- @@ -53,11 +53,9 @@ RN apps: Large GIFs are not rendered\ 1. Post the following on the web app\ (ensure links previews are enabled in Account Settings) - ``` https://i.redd.it/ut25p64zbte21.gif ``` - 2. View the channel where the URL was posted on RN _Important notes about this step:_ diff --git a/data/test-cases/channels/files-and-attachments/MM-T347.md b/data/test-cases/channels/files-and-attachments/MM-T347.md index 86473d03f..dec64626a 100644 --- a/data/test-cases/channels/files-and-attachments/MM-T347.md +++ b/data/test-cases/channels/files-and-attachments/MM-T347.md @@ -35,7 +35,7 @@ key: MM-T347 created_on: "2020-01-02T22:06:20Z" last_updated: "2022-09-09T20:28:39Z" case_hashed: 64e43922223b61a1fc167d6d550966af9fe4000e8f3193be11ea141bbf8990e8023db18b541b8b845d207dfafc93b074 -steps_hashed: ac91a636a21628ef75a963cbc115e28f3480e856c3850a132a7eb9ef72139e103fe6cdeeb8cc7650f173f144a04946ec +steps_hashed: e4504d8736bf4914280a6beda0494dec8b1e111bd3828a9e15eb450bc8595cc2915d4266192be70310ed031d194ed106 --- @@ -50,11 +50,9 @@ Check for jittery behavior\ ––––––––––––––––––––––––– 1. Share a Youtube link to a Channel and ensure that Link Preview is turned on - ``` https://www.youtube.com/watch?v=FuDvrkrqRzg ``` - 2. Switch to a different channel and back _Related ticket(s):_ diff --git a/data/test-cases/channels/files-and-attachments/MM-T5179.md b/data/test-cases/channels/files-and-attachments/MM-T5179.md index 0f2180c91..1fceb175d 100644 --- a/data/test-cases/channels/files-and-attachments/MM-T5179.md +++ b/data/test-cases/channels/files-and-attachments/MM-T5179.md @@ -30,7 +30,7 @@ key: MM-T5179 created_on: "2022-09-28T17:36:18Z" last_updated: "2022-12-01T21:05:47Z" case_hashed: df26781f3877bef8dc5209e148766b513829659e843f9b7a8fec978cec51099006899a210551e9500b5e58936858ba60 -steps_hashed: 9efd7f7057da484c5d977228f3aff6c0c13050f00c7e5bf8a5386006c44a3be23facde4404bbe02cfb5fcefd83bac691 +steps_hashed: b103c97657dc3cc2e4b150227f98748d384ae4f0ff60db2674967e49dfbab75b205437124ed5d84e3080d7e5be1d5a30 --- @@ -44,19 +44,12 @@ steps_hashed: 9efd7f7057da484c5d977228f3aff6c0c13050f00c7e5bf8a5386006c44a3be23f _Use “copy to clipboard” button in the text file preview modal to copy content_ 1. Post a text file attachment - 2. Open file preview - 3. Mouse hover over copy button - 1. Verify "copy text" tooltip - 4. Click on copy button - 1. Verify copy button changes briefly to check mark - 5. Paste the content in the textbox - 1. Verify pasted content matches the one from the file preview --- @@ -66,19 +59,12 @@ _Use “copy to clipboard” button in the text file preview modal to copy conte _Use “copy to clipboard” button in the code file preview modal to copy content_ 1. Post a json or any other code file attachment - 2. Open file preview - 3. Mouse hover over copy button - 1. Verify "copy code" tooltip - 4. Click on copy button - 1. Verify copy button changes briefly to check mark - 5. Paste the content in the textbox - 1. Verify pasted content matches the one from the file preview --- @@ -88,11 +74,7 @@ _Use “copy to clipboard” button in the code file preview modal to copy conte \_No “copy to clipboard” button for other file previews \_ 1. Post a pdf and image file attachments - 2. Open preview of pdf file - 1. Verify no copy button, only download and close - 3. Open preview of image file - 1. Verify no copy button, only download and close diff --git a/data/test-cases/channels/keyboard-shortcuts/MM-T4441.md b/data/test-cases/channels/keyboard-shortcuts/MM-T4441.md index 918b5df6c..b1a98e03d 100644 --- a/data/test-cases/channels/keyboard-shortcuts/MM-T4441.md +++ b/data/test-cases/channels/keyboard-shortcuts/MM-T4441.md @@ -30,7 +30,7 @@ key: MM-T4441 created_on: "2021-12-16T15:07:26Z" last_updated: "2022-12-01T21:06:39Z" case_hashed: 5353bfd6403ffc94bf7951875beb9f5ee0166738f620898f25aa15891e652416ee7a46605a5a79464e2a0f1b2a253878 -steps_hashed: fcb90c57cd0722ce8164f3888565247e53e50e4bf4f796ea9c81bcb2ce2745a2951284718ce780cfc9fd4e8c6c2ff522 +steps_hashed: a6687936bd97baaf810ee488c29937009a71e59bf60dbfe8304837ce078a4f3d54e010500f59c2425a7c7beffd85b871 --- @@ -44,9 +44,7 @@ steps_hashed: fcb90c57cd0722ce8164f3888565247e53e50e4bf4f796ea9c81bcb2ce2745a295 CTRL/CMD+A - open settings in desktop view\\ 1. Type CTRL/CMD+A to open Settings - 1. Verify Settings modal is open - 2. Close Settings --- @@ -56,7 +54,5 @@ CTRL/CMD+A - open settings in desktop view\\ CTRL/CMD+A - open settings in mobile view\\ 1. Type CTRL/CMD+A to open Settings - 1. Verify Settings modal is open - 2. Close modal diff --git a/data/test-cases/channels/keyboard-shortcuts/MM-T5180.md b/data/test-cases/channels/keyboard-shortcuts/MM-T5180.md index bba48fdea..550647fff 100644 --- a/data/test-cases/channels/keyboard-shortcuts/MM-T5180.md +++ b/data/test-cases/channels/keyboard-shortcuts/MM-T5180.md @@ -30,7 +30,7 @@ key: MM-T5180 created_on: "2022-09-28T20:04:22Z" last_updated: "2022-12-01T21:06:41Z" case_hashed: b9a04d74cf1e8c79a6da079b649f0430902330caf4955dc772f3072b61491d10acf2ce6fb9e6e32063e57af905135acf -steps_hashed: c2c120ab8d0993cc2464363256b9d2b9d8e4b9aa18b271b758910599a00917c96be43bb7f11407ff3289f038c33a3db9 +steps_hashed: bede00fc5da4f55017d9f125d6ce3349c02d689fdbc395ba0318315dc1889d8fc302b5e65d628aa0f0f9b3c36bb86483 --- @@ -44,17 +44,10 @@ steps_hashed: c2c120ab8d0993cc2464363256b9d2b9d8e4b9aa18b271b758910599a00917c96b _Show/hide formatting ctrl/cmd+alt+T_ 1. Place focus on main channel textbox - 1. Verify formatting options are visible, "Aa" icon shows selected state - 2. Press CTRL/CMD + ALT + T - 1. Verify formatting options are hidden, only paperclip and emoji should remain,  "Aa" icon shows deselected state - 3. Open RHS - 1. Verify formatting options are visible, "Aa" icon shows selected state - 4. Place focus on RHS textbox and press CTRL/CMD + ALT + T - 1. Verify formatting options are hidden, only paperclip and emoji should remain visible, "Aa" icon shows deselected state diff --git a/data/test-cases/channels/keyboard-shortcuts/MM-T5181.md b/data/test-cases/channels/keyboard-shortcuts/MM-T5181.md index f68da6706..4d3db0a2a 100644 --- a/data/test-cases/channels/keyboard-shortcuts/MM-T5181.md +++ b/data/test-cases/channels/keyboard-shortcuts/MM-T5181.md @@ -30,7 +30,7 @@ key: MM-T5181 created_on: "2022-09-28T20:04:41Z" last_updated: "2022-12-01T21:06:42Z" case_hashed: 5ab1312b3a4783ba41c7904891cd60ba7df30abe59ffdaad90dccea4f9792a932d9be58c510757df417b950de7ed74a1 -steps_hashed: f77e9be926d15ed1b68bd0cf07888dcab060dc03b334d7ca62e1cc5747a1d17bf4f5598478953819554a99aa51e5b205 +steps_hashed: 3f63374541b7399cd156b510d77f24330e5b5af5188b640537376788e5957ed1ac5eb9b61af8923cf0da5ef343b97b33 --- @@ -44,27 +44,16 @@ steps_hashed: f77e9be926d15ed1b68bd0cf07888dcab060dc03b334d7ca62e1cc5747a1d17bf4 _Adding bold formatting using ctrl/cmd+B_ 1. Place focus on main channel textbox - 1. Verify formatting options are visible - 2. Without adding any text, press CTRL/CMD + B - 1. Verify \*\*|\*\* is added to the text box, cursor between asterisks  - 3. Type some text and press enter  - 1. Verify bold text posts - 4. Open RHS - 1. Verify formatting options are visible - 5. Place focus on RHS textbox and press CTRL/CMD + B - 1. Verify \*\*|\*\* is added to the text box, cursor between asterisks  - 6. Type some text and press enter  - 1. Verify bold text posts on the RHS --- @@ -74,25 +63,14 @@ _Adding bold formatting using ctrl/cmd+B_ _Adding bold formatting to existing draft text using ctrl/cmd+B_ 1. Place focus on main channel textbox - 1. Verify formatting options are visible - 2. Add some text, select it and press CTRL/CMD + B - 1. Verify \*\*\*\* is added to the text box around the existing text - 3. Press enter  - 1. Verify bold text posts - 4. Open RHS - 1. Verify formatting options are visible - 5. Add some text, select it and press CTRL/CMD + B - 1. Verify \*\*\*\* is added to the text box around the existing text - 6. Press enter  - 1. Verify bold text posts on the RHS diff --git a/data/test-cases/channels/left-sidebar/MM-T2006.md b/data/test-cases/channels/left-sidebar/MM-T2006.md index c0789ac9e..7e58d4836 100644 --- a/data/test-cases/channels/left-sidebar/MM-T2006.md +++ b/data/test-cases/channels/left-sidebar/MM-T2006.md @@ -35,7 +35,7 @@ key: MM-T2006 created_on: "2020-05-06T05:05:41Z" last_updated: "" case_hashed: 7d9943ba90c05b93f4321499107c883567c9940b8c8d60b8178d8d7db3b4a5441e911faa20575dab283f5c65b464d4ae -steps_hashed: 5279e05a031812c0a96b26994c0fcff369b1b06671850cdf04b5b3fb830ea003a785fd6a9aed32188763b8c76fed4a9b +steps_hashed: 9e7f87a23257fca6b94ef85d1f8e2e118501575f2267bbbacfa35c1139f64e2116522bd178d6f36e1a3298f03e0a2d4c --- @@ -53,4 +53,5 @@ steps_hashed: 5279e05a031812c0a96b26994c0fcff369b1b06671850cdf04b5b3fb830ea003a7 **Expected** - Collapsed/expanded state is applied to other sessions in real time + - Category state is not cleared by logging out, persists. diff --git a/data/test-cases/channels/left-sidebar/MM-T3171.md b/data/test-cases/channels/left-sidebar/MM-T3171.md index 0d4fd3f93..f995237c3 100644 --- a/data/test-cases/channels/left-sidebar/MM-T3171.md +++ b/data/test-cases/channels/left-sidebar/MM-T3171.md @@ -34,7 +34,7 @@ key: MM-T3171 created_on: "2020-07-29T19:36:05Z" last_updated: "" case_hashed: e414fed2b25189a1ad4f5aebc052c79873c55a41f5a0d15b6d72657036939ff1d503af79a5a2c8147031a174be6faefe -steps_hashed: a77f375703e2a2256f14f58f02ae29e01f5530819e4de8f0ee4e5cb5ed57ace9393b6f45c84bcf4a5dabc8e586db95e6 +steps_hashed: 4c7faa8ce711280d5366669b72d12742f72b56c8e6a26143601a4b5ffc6c820346814d4721ed234f37ed28415d388b64 --- @@ -49,15 +49,10 @@ Category 3 dot menu on Channels and Favorites categories\ ––––––––––––––––––––––––– 1. Hover over Channels category - 1. 3 dot menu is shown - 2. Hover over 3 dot icon - 1. Category options tooltip on hover - 3. Click on 3 dot menu - 1. "Create New Category" option available --- @@ -65,17 +60,10 @@ Category 3 dot menu on Channels and Favorites categories\ **Step 2** 1. Hover over Favorites category - 1. 3 dot menu is present - 2. Hover over 3 dot icon - 1. Category options tooltip on hover - 3. Click on 3 dot menu - 1. Create Category option available - 4. Click on Create New Category option - 1. Opens Create New Category modal opens diff --git a/data/test-cases/channels/left-sidebar/MM-T3349.md b/data/test-cases/channels/left-sidebar/MM-T3349.md index 95e4858e7..f3a98c9d4 100644 --- a/data/test-cases/channels/left-sidebar/MM-T3349.md +++ b/data/test-cases/channels/left-sidebar/MM-T3349.md @@ -34,7 +34,7 @@ key: MM-T3349 created_on: "2020-09-02T19:48:04Z" last_updated: "" case_hashed: 4b6d4cd315b26206c065d841d0f0a02528a9f33a09bade68097c6e03373b1ad6c76a394ce3c86510df09fad3702c2dce -steps_hashed: 3dca73acd446d895a6def382364dbec0bfc3653582fc771f848d486b32dedc4eab8d1eadc32eb34cdf6ea4027c342403 +steps_hashed: a559ec4df6430e12cc4150f5931966f4a878dba0a6fe4d5ed38b7483fa03485f5940b0af3238da549e19951aa389199d --- @@ -49,17 +49,11 @@ Use channel menu option to mark channel as Read\ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\\ - Start in Town Square - - Save the ID of the Town Square channel for later - - Switch to the Off Topic channel - - Have another user send a message in the Town Square - - Verify that the Town Square channel is now unread - - Open the channel menu and select the Mark as Read option - - Verify that the Town Square channel is now read **Expected** @@ -74,13 +68,9 @@ Use channel menu option to Favorite/Unfavorite a channel\ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ - Verify that the channel starts in the CHANNELS category - - Open the channel menu and select the Favorite option - - Verify that the channel has moved to the FAVORITES category - - Open the channel menu and select the Unfavorite option - - Verify that the channel has moved back to the CHANNELS category **Expected** @@ -96,13 +86,9 @@ Use channel menu option to Mute/Unmute a channel\ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ - Verify that the channel starts unmuted - - Open the channel menu and select the Mute Channel option - - Verify that the channel is now muted - - Open the channel menu and select the Unmute Channel option - - Verify that the channel is no longer muted **Expected** @@ -117,13 +103,9 @@ Use channel menu option to Move channels between categories\ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ - Verify that the Town Square channel starts in the CHANNELS category - - Move the channel into a new category - - Verify that Town Square has moved into the new category - - Move the channel back to Channels - - Verify that Town Square has moved back to Channels **Expected** @@ -138,7 +120,6 @@ Use channel menu option to copy channel link using Copy Link\ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ - Open the channel menu and select the Copy Link option - - Ensure that the clipboard contents are correct **Expected** @@ -153,7 +134,6 @@ Use channel menu option to add users to the channel\ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ - pen the channel menu and select the Add Members option - - Verify that the modal appears and then close it **Expected** diff --git a/data/test-cases/channels/left-sidebar/MM-T3350.md b/data/test-cases/channels/left-sidebar/MM-T3350.md index 5a9167762..86799a09d 100644 --- a/data/test-cases/channels/left-sidebar/MM-T3350.md +++ b/data/test-cases/channels/left-sidebar/MM-T3350.md @@ -34,7 +34,7 @@ key: MM-T3350 created_on: "2020-09-04T02:58:21Z" last_updated: "" case_hashed: 3f434f44b8f913acee65a40f86870c54bd5fd3c666a052dc7da5c35195f2946c63f1022a108c71eb4cd906103012aa00 -steps_hashed: c4d41c672ae55b7b7ab18bfd7addedb91e54b943dd111889cf493507ab7fc09d6a8d2f2f7ddae4a115a6e5ec95f06f29 +steps_hashed: 34c3471dd72548e9c1116f34fcd6d12d20c92233cfb2d7416ffae50bfcb9ad7665387fc57389b44029f5940fb6229837 --- @@ -49,15 +49,10 @@ Mention badge should remain hidden as long as the channel/dm/gm menu is open\ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ 1. Start in Town Square ( and save the ID of the Town Square channel for later) - 2. Switch to the Off Topic channel - 3. Have another user mention you in a Town Square so that a mention badge appears - 1. Verify that a mention badge appears - 4. Open the channel menu - 1. Verify that the mention badge disappears **Expected** diff --git a/data/test-cases/channels/left-sidebar/MM-T3351.md b/data/test-cases/channels/left-sidebar/MM-T3351.md index 8463a9ea5..60f1cf955 100644 --- a/data/test-cases/channels/left-sidebar/MM-T3351.md +++ b/data/test-cases/channels/left-sidebar/MM-T3351.md @@ -34,7 +34,7 @@ key: MM-T3351 created_on: "2020-09-04T03:09:36Z" last_updated: "" case_hashed: 154b62bc43a29fd69fdda30331946049bcfd5619e9a1ac25a17086319cb7b276ec1e2237644106309364219d426b5020 -steps_hashed: abdd7fa58628a398a5460534e1dc591dda2a386fa26ecfa3c2a3f5a3e6010fba43cf65e996149d5488f0c95ed485853e +steps_hashed: 79a625adf2f93f101b441c3618d06a31c9ef65be9f8b795c4a8d2cc5a444cd4eea5a3efa529b4c20273856ef0cddc4c0 --- @@ -55,4 +55,5 @@ Channels created from another browser tab should immediately appear in the sideb **Expected** - The channel is created and added to the Channels category on the first window. + - The channel immediately appears on the second window. diff --git a/data/test-cases/channels/left-sidebar/MM-T3488.md b/data/test-cases/channels/left-sidebar/MM-T3488.md index a326e13d6..b3c067b01 100644 --- a/data/test-cases/channels/left-sidebar/MM-T3488.md +++ b/data/test-cases/channels/left-sidebar/MM-T3488.md @@ -34,7 +34,7 @@ key: MM-T3488 created_on: "2020-11-13T17:32:54Z" last_updated: "" case_hashed: 62f3156ec0e83cac6c9f7f839a7a4010fa98dc365b56cb6eb152ce848151203c9bc7135f02fb1c79451b4469362174d3 -steps_hashed: 764ec08d1dd4045c7017c827e49e7f2490dc1a47d5ba03d5ead23aba835d6cde6eec631993b9fcd788243f228eedb97a +steps_hashed: 2d103abdd4a952c5837cf68bcacc66d4de123ed6e488e3e3a776a00426ea6655c45a565f84c734a54121addbf9bf0c8c --- @@ -50,14 +50,9 @@ Category headers should be muted and unmuted correctly\ 1. Verify that the Channels category and its channels start unmuted - - -1. Mute Channels category - +1) Mute Channels category 1. Verify that the category has been muted and all the channels within the category - -2. Unmute the category - +2) Unmute the category 1. Verify that the category is no longer muted **Expected** diff --git a/data/test-cases/channels/left-sidebar/MM-T3834.md b/data/test-cases/channels/left-sidebar/MM-T3834.md index 21a7ca12a..6f562ab53 100644 --- a/data/test-cases/channels/left-sidebar/MM-T3834.md +++ b/data/test-cases/channels/left-sidebar/MM-T3834.md @@ -34,7 +34,7 @@ key: MM-T3834 created_on: "2021-02-11T15:02:47Z" last_updated: "" case_hashed: c4c015091e9394b48e8439f57846fecb562cb2b73ebd8f7f4946d9042527b3ed2030e2bfce4faded5e49f4937b7766a3 -steps_hashed: eab3f6b90517c8ef78a289ea8f9641cd9d149a18d3f90b14c6a8f3c13a32ca0b802a218b740e921f6cf251f26cdaf857 +steps_hashed: a75106639e8a61acd355b64ad78cdba97c12c121504366463e732113ea8c83867707ce435fc4ca6b5e722189d5b05179 --- @@ -49,34 +49,22 @@ Category sorting\ –––––––––––––––––––––––––\\ 1. Create 5 channels and add to custom category - 2. Click on the category 3-dot menu dropdown and select Sort >Alphabetically - 1. Verify alphabetical sort order - 3. Create and add another channel into the same category - 1. Verify category outlines on drop and channel is placed within the category in the correct alphabetical order set in the previous step, not where you dropped it - 4. Switch category sorting to Recency (click on a 3-dot menu dropdown and select Sort >Recent Activity) - 1. Verify that the channels are in reverse order that they were created (when sorted per recent activity) - 5. Add another channel to the category - 1. Verify that the channels are still in reverse order that they were created - 6. Remove the oldest channel from the category and put it into Favorites (Click on the channel 3-dot menu dropdown and select Move to Favorites) - 1. Verify the channel is now in Favorites - 7. Switch category sorting to Manual (click on a 3-dot menu dropdown and select Sort > Manual) - 8. Drop another channel into the manually sorted category by scrolling and dropping to the bottom of the category - 1. Verify category does not outline and that the channel has been placed at the bottom of the category **Expected** - The channel is placed in its correct position in alphabetical or recency order, and the category sorting method persists after drop + - When manual sorting is selected, channel is placed into the exact position that it was dropped in diff --git a/data/test-cases/channels/left-sidebar/MM-T4057.md b/data/test-cases/channels/left-sidebar/MM-T4057.md index 0ae5fc0f0..a8927743a 100644 --- a/data/test-cases/channels/left-sidebar/MM-T4057.md +++ b/data/test-cases/channels/left-sidebar/MM-T4057.md @@ -33,7 +33,7 @@ key: MM-T4057 created_on: "2021-05-12T03:29:07Z" last_updated: "2022-12-01T21:06:44Z" case_hashed: 4ff92c9503693c9bd3de3fd4022b7885423c3a58ccae1c1ad8394153a4fd2f9c18b437299876d740554bfefb7f920b93 -steps_hashed: 3e275084cd5ca0e7d2b73a87be2072d0ed3645e9c8abf50fcaea5308f654131f95d7659b56721955d767edf11feab25f +steps_hashed: b25970379bc8a3cededeada031c1160e3f172410a02f4b3c5464bccfa56e8775b0c5ff600b4f35f28decd9ca1d7d0b18 --- @@ -47,11 +47,8 @@ steps_hashed: 3e275084cd5ca0e7d2b73a87be2072d0ed3645e9c8abf50fcaea5308f654131f95 _DMs on Left Sidebar use avatars with status icon_ 1. Open few DMs - 1. Verify DMs display user avatar with status - 2. Add few Plugins that add Bot to DM section e.g. TODO or Github - 1. Verify plugin bots are not displaying status **Test Data** diff --git a/data/test-cases/channels/left-sidebar/MM-T4655.md b/data/test-cases/channels/left-sidebar/MM-T4655.md index b882c459b..2e1920184 100644 --- a/data/test-cases/channels/left-sidebar/MM-T4655.md +++ b/data/test-cases/channels/left-sidebar/MM-T4655.md @@ -30,7 +30,7 @@ key: MM-T4655 created_on: "2022-02-22T20:14:05Z" last_updated: "2022-12-01T21:06:46Z" case_hashed: 5b46faa203640d7ec68b9e4a1d679b18b16f86c1ffce5ddb4c807d7fa10a38f8dac5985b4b50bccf06f515618222aaa3 -steps_hashed: 24b9edd80afc4c0f2d785b90375bf89b997c427ed73740ec973d4ed1ad5c857d45b4f200485b2ff5827e4c20b998c396 +steps_hashed: 7fded7d574587301746ed3854b35e5646d21227f12bee079c0720208491e09b764bacc0b50fa71f934828652fdc7959a --- @@ -44,15 +44,10 @@ steps_hashed: 24b9edd80afc4c0f2d785b90375bf89b997c427ed73740ec973d4ed1ad5c857d45 _Leaving an unread channel when unread category is ON_ 1. Set Group Unreads separately in Settings>Sidebar - 2. Click on an unread channel - 3. Mark the last message as unread - 1. Verify that the channel appears in the Unreads section - 4. Leave the channel - 1. User should be redirected to Town Square **Expected** diff --git a/data/test-cases/channels/left-sidebar/custom-categories/MM-T3803.md b/data/test-cases/channels/left-sidebar/custom-categories/MM-T3803.md index 9b3ae3881..d56b40d95 100644 --- a/data/test-cases/channels/left-sidebar/custom-categories/MM-T3803.md +++ b/data/test-cases/channels/left-sidebar/custom-categories/MM-T3803.md @@ -36,7 +36,7 @@ key: MM-T3803 created_on: "2021-01-25T23:16:36Z" last_updated: "" case_hashed: c6424dca53f968fa0b9214668c3ebfee0cde5ed7329d79d4587565dee83eb0dde5e56997fd80f2447b9691ff07806a85 -steps_hashed: cc41e5443cfeff70930a37a1dea9bbcf3ac6f8b990a88963228e21afbf381cbd10acab370496da031e5bf491eb51f205 +steps_hashed: ebeae3777f0890f737fe947ea510f94c9bdcb16f07c5ece5906bd5d10160b8a3c2f43e87c95e5b86b5580c4e41ef7736 --- @@ -51,8 +51,11 @@ Custom categories should not become empty when user is removed/leaves the team\ ––––––––––––––––––––––––– 1. Be a member of at least 2 teams + 2. Create a few custom categories on each team with a DM/GM in at least one of them + 3. Leave the team with a DM in a custom category or have another user remove you from that team + 4. Refresh the page **Expected** diff --git a/data/test-cases/channels/left-sidebar/custom-categories/MM-T3864.md b/data/test-cases/channels/left-sidebar/custom-categories/MM-T3864.md index 4a15a6b7e..14f176367 100644 --- a/data/test-cases/channels/left-sidebar/custom-categories/MM-T3864.md +++ b/data/test-cases/channels/left-sidebar/custom-categories/MM-T3864.md @@ -33,7 +33,7 @@ key: MM-T3864 created_on: "2021-02-24T22:27:45Z" last_updated: "" case_hashed: ec97947eff44d47f95852d063151bb976d7d16bd2471f1e534839bdb79557e032722314246b7dc0df3b55d20ceb94d8a -steps_hashed: ba34a5acecfd992566434b5f247831ae1729637302e2594f0827953d9aaf83cad8c092f693364e9a21aab2099a0f0761 +steps_hashed: 8a01ce46eac90b096a3daca6289a7acfb439c0fcd012f09dd7ef9a3837b94f212c6bcf152dabaceef0a2da255ff14d90 --- @@ -48,17 +48,11 @@ Sticky Categories\ \------------------- 1. Create a custom category and 15 channels, do not collapse - 2. Create 10 channels and add to Favorites category - 3. Receive a message from another user in the first channel in your sidebar - 4. Scroll to the center of the channel list - 1. Verify, when present, "More unreads" banner is not obstructing the category header and they are both visible - 5. Scroll to the bottom of the list - 1. Verify that the 'More Unreads' label is still visible, but the Favorites category is no longer visible (other categories will still be visible) NOTE: Known issue - Sticky Headers are not implemented/working on Safari and Firefox. diff --git a/data/test-cases/channels/left-sidebar/dms-and-gms/MM-T2016.md b/data/test-cases/channels/left-sidebar/dms-and-gms/MM-T2016.md index 7246e03fe..78d05c674 100644 --- a/data/test-cases/channels/left-sidebar/dms-and-gms/MM-T2016.md +++ b/data/test-cases/channels/left-sidebar/dms-and-gms/MM-T2016.md @@ -34,7 +34,7 @@ key: MM-T2016 created_on: "2020-05-06T05:05:42Z" last_updated: "" case_hashed: 4304d7646b1c50a1dbed38186be21f4732a344c65eff98b43b03fa9a1321b8885d80bc185109519a0d740e26e97d90bc -steps_hashed: 04dda64ce080637857f3abae220b86e31ce978c322b9df6c5cc3ba76666d0d0629736f8435de276d5689918bd7ada9e5 +steps_hashed: 293f604477d069715754c2a5160ce3b02a30ce7f8e14bf3d5a57608a1bd9f916dcf3a4a5d81a5a4ed6631df3755951ac --- @@ -46,17 +46,11 @@ steps_hashed: 04dda64ce080637857f3abae220b86e31ce978c322b9df6c5cc3ba76666d0d0629 **Step 1** 1. Create a new user to start a DM with - 1. Verify that we can see the sidebar - 2. Click the + button next to the DM category - 3. Search for the new user's username - 4. Select the user you searched for - 5. Click Go - 1. Verify that a DM channel shows up in the sidebar **Expected** diff --git a/data/test-cases/channels/left-sidebar/unread-filter/MM-T3442.md b/data/test-cases/channels/left-sidebar/unread-filter/MM-T3442.md index 748fed739..a088a90ac 100644 --- a/data/test-cases/channels/left-sidebar/unread-filter/MM-T3442.md +++ b/data/test-cases/channels/left-sidebar/unread-filter/MM-T3442.md @@ -35,7 +35,7 @@ key: MM-T3442 created_on: "2020-10-22T19:14:43Z" last_updated: "" case_hashed: 8f368858a59b05d188527896493beb039ab7ddcafcca2359c0ecf15facd774f9fd8ebd3c068308467918d5765e0fac23 -steps_hashed: 2b0447db2a2eee59b9aaf0ec1f0be940b9aa490e6f9b82eafb69c07af6b18b7578ead733087e617b87da5e038597849c +steps_hashed: 6c870b85ff6530c0c076ca9c86912f0d2e75a03af20caf1ba0feb499d14d7363664e3a264a5a1168f33ca505a2c59bc2 --- @@ -47,15 +47,10 @@ steps_hashed: 2b0447db2a2eee59b9aaf0ec1f0be940b9aa490e6f9b82eafb69c07af6b18b7578 **Step 1** 1. Login as normal user  - 1. Verify that unread filter is in all channels state with all categories visible - 2. Enable Unread filter - 1. Verify that the unread filter is in filter by unread state - 3. Reload the page  - 1. Verify that the unread filter is back in all channels state **Expected** diff --git a/data/test-cases/channels/left-sidebar/unread-filter/MM-T3444.md b/data/test-cases/channels/left-sidebar/unread-filter/MM-T3444.md index 4187e784a..a709499dc 100644 --- a/data/test-cases/channels/left-sidebar/unread-filter/MM-T3444.md +++ b/data/test-cases/channels/left-sidebar/unread-filter/MM-T3444.md @@ -35,7 +35,7 @@ key: MM-T3444 created_on: "2020-10-22T19:23:07Z" last_updated: "" case_hashed: 07ffef2db877a77b3834438a7a6ca2bba4172526fe7366b84da20fdd7cb475a2919ed87fe66dc1c88c197b02e2d0159d -steps_hashed: 5d6f3a312cb24836975504f8973ec736e2538916c6b91a0c4241f4a864adb3eadfa48a3c82b8ca4734a65518f012e6b2 +steps_hashed: d752b8376fc17428dedcf1b08bbad20dd6b2c29d800324da25f365c1cdbcf1c9fdac6e1523fa11cedbccc9940698c92c --- @@ -47,17 +47,11 @@ steps_hashed: 5d6f3a312cb24836975504f8973ec736e2538916c6b91a0c4241f4a864adb3eadf **Step 1** 1. Login as normal user - 1. Verify that unread filter is in all channels state, not enabled - 2. Switch to Town Square - 1. Verify that the Town Square is not unread - 3. Enable the unread filter - 1. Verify that the Town Square is still visible - 4. Disable the unread filter **Expected** diff --git a/data/test-cases/channels/mark-as-unread/MM-T5223.md b/data/test-cases/channels/mark-as-unread/MM-T5223.md index f7e945827..c374664d1 100644 --- a/data/test-cases/channels/mark-as-unread/MM-T5223.md +++ b/data/test-cases/channels/mark-as-unread/MM-T5223.md @@ -30,7 +30,7 @@ key: MM-T5223 created_on: "2022-11-07T21:36:14Z" last_updated: "2022-11-08T05:36:13Z" case_hashed: 2cd15100759de294b749c77f0a5e237d102898a135877cdaf764e7ef6b718eb4177614341a015cd38d5173fd237a7b79 -steps_hashed: 25f97a066df5355a9b0be66b91fce98d98031a113dc86a936f5e624ecbf319b9e2968456e77db7140069fbe5afcd6c13 +steps_hashed: 836ea5e663de6c64bed355e8fc35b1f62ea25063532e7cf368fc2cf1751f44909fd4204369cee46e59b2551dedf2dafe --- @@ -42,21 +42,13 @@ steps_hashed: 25f97a066df5355a9b0be66b91fce98d98031a113dc86a936f5e624ecbf319b9e2 **Step 1** 1. Channel A starts as unread - 2. Visit Channel A - - Verify channel A becomes read after you viewed it - 3. Switch to channel B - - Verify Channel A remains read - 4. Mark channel A with the LHS channel item menu option "mark as unread" - - Verify channel A shows as unread on the sidebar - 5. Switch back to channel A - - Verify the New Messages line should appear above the last post (post3) **Expected** diff --git a/data/test-cases/channels/mark-as-unread/MM-T5224.md b/data/test-cases/channels/mark-as-unread/MM-T5224.md index 31ddce8d6..355a38988 100644 --- a/data/test-cases/channels/mark-as-unread/MM-T5224.md +++ b/data/test-cases/channels/mark-as-unread/MM-T5224.md @@ -30,7 +30,7 @@ key: MM-T5224 created_on: "2022-11-07T21:36:15Z" last_updated: "2022-11-08T05:36:14Z" case_hashed: cd9aac1fd0ffb0d4fdf424dca66f982373f4575207ea49c53cd07755bc45d8490fba0f8d2a509bbea4adebe2a900d8a3 -steps_hashed: d793e883c5db076cb4cd0c33b220909445b2a8e5ffe925f695c1e3abc7baf84276c707ac9cfb593fabec4c7babd4fcfa +steps_hashed: 342f1c56dfa82ba2918e115b85b92bf03c34feafe72137c744fa850c895f15b73ce32ce428ae35c5b7041b93819615a0 --- @@ -42,21 +42,13 @@ steps_hashed: d793e883c5db076cb4cd0c33b220909445b2a8e5ffe925f695c1e3abc7baf84276 **Step 1** 1. Channel A starts as unread - 2. Visit Channel A - - Verify channel A becomes read after you viewed it - 3. Switch to channel B - - Verify Channel A remains read - 4. Mark channel A as unread using alt/option+left-click on the sidebar channel name item - - Verify channel A shows as unread on the sidebar - 5. Switch back to channel A - - Verify the New Messages line above the last post (post3) **Expected** diff --git a/data/test-cases/channels/message-forwarding/MM-T4934.md b/data/test-cases/channels/message-forwarding/MM-T4934.md index 0eff4ec81..e702b60fc 100644 --- a/data/test-cases/channels/message-forwarding/MM-T4934.md +++ b/data/test-cases/channels/message-forwarding/MM-T4934.md @@ -31,7 +31,7 @@ key: MM-T4934 created_on: "2022-07-20T19:34:20Z" last_updated: "2022-12-01T21:06:47Z" case_hashed: cdd976a817c4fa9541e7f2b6caebce04936df21c2c4c315b3fcd351b62dd5f919222335d8a50da4d5587d3f257033cdd -steps_hashed: 7a8466d3ff59eea78a06c0565aaeb4ba029a74d94f946c56f517be06b9c9a9d8a56d2a8beec53332e0f652a8c896e28d +steps_hashed: 1ae5a0a04f0cbfe073cd4badcae02442bb9fafecf79d0f8fe2d700e38ad55372a093e632b949634aea02212b77705d0d --- @@ -45,23 +45,14 @@ steps_hashed: 7a8466d3ff59eea78a06c0565aaeb4ba029a74d94f946c56f517be06b9c9a9d8a5 _Forward root post from public channel to another public channel_ 1. Create a post on public channel e.g. Town Square - 2. Open post menu - 1. Verify post menu option Forward is available - 3. Click on Forward - 1. Verify "Forward message" modal opens - 4. Click on "Select Channel and people" dropdown - 5. Select Off topic - 6. Leave Add comment field blank - 7. Click on Forward - 1. Verify message is forwarded, shows Off Topic with permalink of shared message and no additional comments --- @@ -71,27 +62,16 @@ _Forward root post from public channel to another public channel_ _Forward root post from public channel to another public channel, long comment_ 1. Create a post on public channel e.g. Town Square - 2. Open post menu - 1. Verify post menu option Forward is available - 3. Click on Forward - 1. Verify "Forward message" modal opens - 4. Click on "Select Channel and people" dropdown - 5. Select Off topic - 6. Add long comment over 16383 characters  - 1. Verify "your message is too long" warning is present - 7. Edit message down to at or below 16383 characters - 8. Click on Forward - 1. Verify message is forwarded, shows Off Topic channel post with permalink of shared message and comment with "show more" button --- @@ -101,25 +81,15 @@ _Forward root post from public channel to another public channel, long comment_ _Forward reply post from public channel to another public channel_\\ 1. Create a post on public channel e.g. Town Square - 2. Reply to this post - 3. Click on reply's post menu to open - 1. Verify post menu option Forward is available - 4. Click on Forward - 1. Verify "Forward message" modal opens - 5. Click on "Select Channel and people" dropdown - 6. Select Off topic - 7. Leave Add comment field blank - 8. Click on Forward - 1. Verify message is forwarded, shows Off Topic with permalink of shared message and no additional comments --- @@ -129,29 +99,17 @@ _Forward reply post from public channel to another public channel_\\ _Forward public channel post from global threads_\\ 1. Create a post on public channel e.g. Town Square - 2. Reply to this post - 3. Open global Threads - 4. Click on a thread to view - 5. Select any post, root or any reply on the thread to forward - 1. Verify post menu option Forward is available - 6. Click on Forward - 1. Verify "Forward message" modal opens - 7. Click on "Select Channel and people" dropdown - 8. Select Off topic - 9. Leave Add comment field blank - 10. Click on Forward - 1. Verify message is forwarded, shows Off Topic with permalink of shared message and no additional comments --- @@ -161,25 +119,15 @@ _Forward public channel post from global threads_\\ _Forward public channel post while viewing Insights_\\ 1. Create a post on public channel e.g. Town Square - 2. Reply to this post, leave RHS open - 3. Open Insights - 4. Select any post, root or any reply on the thread to forward - 5. Click on Forward - 1. Verify "Forward message" modal opens - 6. Click on "Select Channel and people" dropdown - 7. Select Off topic - 8. Leave Add comment field blank - 9. Click on Forward button - 1. Verify message is forwarded, shows Off Topic with permalink of shared message and no additional comments --- @@ -189,21 +137,13 @@ _Forward public channel post while viewing Insights_\\ _Forward public channel post to Private channel_\\ 1. Create a post on public channel e.g. Town Square - 2. Select the post to forward - 3. Click on Forward - 1. Verify "Forward message" modal opens - 4. Click on "Select Channel and people" dropdown - 5. Select private channel  - 6. Leave Add comment field blank - 7. Click on Forward button - 1. Verify message is forwarded, shows in private channel with permalink of shared message and no additional comments --- @@ -213,21 +153,13 @@ _Forward public channel post to Private channel_\\ _Forward public channel post to GM_\\ 1. Create a post on public channel e.g. Town Square - 2. Select the post to forward - 3. Click on Forward - 1. Verify "Forward message" modal opens - 4. Click on "Select Channel and people" dropdown - 5. Select a GM you previously created - 6. Leave Add comment field blank - 7. Click on Forward button - 1. Verify message is forwarded, shows in GM with permalink of shared message and no additional comments --- @@ -237,19 +169,11 @@ _Forward public channel post to GM_\\ _Forward public channel post to DM_\\ 1. Create a post on public channel e.g. Town Square - 2. Select the post to forward - 3. Click on Forward - 1. Verify "Forward message" modal opens - 4. Click on "Select Channel and people" dropdown - 5. Select a DM you previously created with another user - 6. Leave Add comment field blank - 7. Click on Forward button - 1. Verify message is forwarded, shows in DM with permalink of shared message and no additional comments diff --git a/data/test-cases/channels/message-forwarding/MM-T4935.md b/data/test-cases/channels/message-forwarding/MM-T4935.md index bb0c348c5..3ae551f21 100644 --- a/data/test-cases/channels/message-forwarding/MM-T4935.md +++ b/data/test-cases/channels/message-forwarding/MM-T4935.md @@ -31,7 +31,7 @@ key: MM-T4935 created_on: "2022-07-20T19:58:04Z" last_updated: "2022-12-01T21:06:47Z" case_hashed: be4a452fd90b96e5873c1d9baf08a9794778b19efa68a9f987b9d13ba4421768a1e651f21d75a65ecaa8960a24d7deb9 -steps_hashed: 55026940a7e8e21471c8208f6a3705f75d51f86ac987300cfeee2075eae0a5d78e5c5cc9e366115256e4f7272ac68bbc +steps_hashed: 2e494842365f8827e0f2258e59f9f0e1fe98db24f935650a7c6a74b4d2869b244ba57688983e67cfc810a5441db2df62 --- @@ -95,13 +95,8 @@ _Forward reply post from private channel_ _Forward post from private channel - Cancel_ 1. Create a post in private channel - 2. Open post 3 dot menu - 3. Use Shift+F to select Forward option - 4. Add "test message" to add comment field  - 5. Click on Cancel - 1. Verify modal closes and message is not forwarded diff --git a/data/test-cases/channels/messaging/MM-T3319.md b/data/test-cases/channels/messaging/MM-T3319.md index da0a46fd7..c70911e7f 100644 --- a/data/test-cases/channels/messaging/MM-T3319.md +++ b/data/test-cases/channels/messaging/MM-T3319.md @@ -61,7 +61,9 @@ steps_hashed: a8a944c457ccda0b1139f8d6680092f1ad2c456c2f158bc20faa2ec77323a84fce _Related ticket(s):_ - [Previous GMs do not show in DM search correctly — MM-13500](https://mattermost.atlassian.net/browse/MM-13500) + - [Existing GM channels in the Direct Messages modal don't have a hover effect — MM-31213](https://mattermost.atlassian.net/browse/MM-31213) + - | | | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | [Webapp, mobile view: Can barely see/click sidebar item menu button if it has a long name — MM-33594](https://mattermost.atlassian.net/browse/MM-33594) | diff --git a/data/test-cases/channels/messaging/MM-T4004.md b/data/test-cases/channels/messaging/MM-T4004.md index 66f0617a1..e797793c0 100644 --- a/data/test-cases/channels/messaging/MM-T4004.md +++ b/data/test-cases/channels/messaging/MM-T4004.md @@ -29,7 +29,7 @@ key: MM-T4004 created_on: "2021-04-15T04:44:57Z" last_updated: "" case_hashed: a1c68d005a360697ca407e1707661908ec8c8c71dfe832d77d36508c8595b0fd3e1d4844af58bfaec18981227b79a734 -steps_hashed: 1f0b68955899111a2baf47c34120eae70965c5195c7421c051d0c94ec130940a9a21745083ec0232d7a3a58f7aa6a57b +steps_hashed: 700e0c4fb5307c57346c46279d0a8937be9475cc0e6e917ad89edbdd44120b8e1c3b40810a4ddff165201c64bc50c57d --- @@ -41,7 +41,9 @@ steps_hashed: 1f0b68955899111a2baf47c34120eae70965c5195c7421c051d0c94ec130940a9a **Step 1** 1. Set "ExperimentalEnableAutomaticReplies" to true in System Console + 2. Go to Account Settings > Notifications and set "Automatic Direct Message Replies" to "on" with some text + 3. Use another account to send you three direct messages **Expected** diff --git a/data/test-cases/channels/messaging/MM-T4083.md b/data/test-cases/channels/messaging/MM-T4083.md index 0e657fcea..ad0c9f23d 100644 --- a/data/test-cases/channels/messaging/MM-T4083.md +++ b/data/test-cases/channels/messaging/MM-T4083.md @@ -31,7 +31,7 @@ key: MM-T4083 created_on: "2021-05-19T15:03:01Z" last_updated: "2022-12-01T21:06:57Z" case_hashed: 08744725af247475344d22ebfaafc357fa1a64631fd4d80e7f090bbc4b5cfa67ddf584c4bc4aedb43248e4417cb4d58f -steps_hashed: 0fd51b0b66484b87c7e67b42e8fe5b2f02b1696850f31d3be935436336e74437aeedf3c3a86f52ca66c048f6482a5bde +steps_hashed: 6eaba30e78634b6da027b456edbdfc9b7cb85594e60b26f13678308ea233027aead2a94ab18c64722e2841244b64d0ed --- @@ -45,7 +45,6 @@ steps_hashed: 0fd51b0b66484b87c7e67b42e8fe5b2f02b1696850f31d3be935436336e74437ae _RHS correctly scrolls to the bottom when a thread is opened_ 1. Click on Comment icon on the post - 1. Verify add comment button is visible --- diff --git a/data/test-cases/channels/messaging/MM-T4639.md b/data/test-cases/channels/messaging/MM-T4639.md index 89745a525..5d6730c9d 100644 --- a/data/test-cases/channels/messaging/MM-T4639.md +++ b/data/test-cases/channels/messaging/MM-T4639.md @@ -29,7 +29,7 @@ key: MM-T4639 created_on: "2022-02-04T21:48:17Z" last_updated: "2022-12-01T21:06:58Z" case_hashed: b7971ea14a1d8b76228f44d2094921c3bd36d2cd67789c21bbb13474362e15e4e582c563a7fc2e1e367d7178aa4fbe38 -steps_hashed: 7d994d7c6f49e2cd692b0a99773b9d60bf2471b9a9c277a074d1eb4f8365a75646bac9a0dd87f973d9a69b2b35d20c8c +steps_hashed: 5d158c7e4870ddf2a1af9f3e0a78018984b21e625f24a23dbf55005a0a3cd76a0194287ec049ac79b566c8775299e61f --- @@ -43,11 +43,8 @@ steps_hashed: 7d994d7c6f49e2cd692b0a99773b9d60bf2471b9a9c277a074d1eb4f8365a75646 _Persisting a draft in the current channel_ 1. Go to Off Topic - 2. Type some text into the post  textbox - 3. Reload the page - 1. Verify post draft persists in the textbox **Expected** diff --git a/data/test-cases/channels/messaging/MM-T4641.md b/data/test-cases/channels/messaging/MM-T4641.md index 7da9bdfe3..3b8ba4666 100644 --- a/data/test-cases/channels/messaging/MM-T4641.md +++ b/data/test-cases/channels/messaging/MM-T4641.md @@ -29,7 +29,7 @@ key: MM-T4641 created_on: "2022-02-04T22:08:46Z" last_updated: "2022-12-01T21:06:59Z" case_hashed: 5d9e916e2a8c2d5a677ef581b6e0aa4df55f75da4615a266e53822d368bdd297ee59d33156092417d44965d6b7b9cd5a -steps_hashed: 0d0d98a89de837ede1fdfddeecba8a36b61c1d5f998ba24a70b0073fba107f60f5eb942a17e48151fe12ab3f1bb4cf32 +steps_hashed: 1a85e4a5c6e65fcd68f21fe545a63401775b7bdd6bfc75916b82816161df632f2cc9fb80d10b0e166b3821a202498950 --- @@ -43,15 +43,10 @@ steps_hashed: 0d0d98a89de837ede1fdfddeecba8a36b61c1d5f998ba24a70b0073fba107f60f5 _Migration of drafts from redux_ 1. Go to Off Topic - 2. Add a fake old draft to storage - 3. Refresh the app to trigger migration - 1. Ensure the other channel has the draft icon - 4. Switch to that channel - 1. Ensure the draft is in the post textbox **Expected** diff --git a/data/test-cases/channels/messaging/MM-T4688.md b/data/test-cases/channels/messaging/MM-T4688.md index cdd0d448a..d591edbde 100644 --- a/data/test-cases/channels/messaging/MM-T4688.md +++ b/data/test-cases/channels/messaging/MM-T4688.md @@ -31,7 +31,7 @@ key: MM-T4688 created_on: "2022-03-18T14:44:31Z" last_updated: "2022-12-01T21:06:59Z" case_hashed: b83238b16507236e4d07c5557e12c05cb8229568aa0aca3b03f412f5a35d5338149eb545767a93f84b29d2227c67debf -steps_hashed: 768f333a368e7b0e03b1d019ea17182d76a1037f5fc4ff37d05c410d6b79e8f8da75e2c0b68a69a40dc5d86c3aa4d41c +steps_hashed: ff631ee3e0a5726303bde38f77467b9f38e80d1cbf0d202b3e0a09bcbf0e39be68d178212cc4834146c6b90a3e1a436c --- @@ -45,21 +45,13 @@ steps_hashed: 768f333a368e7b0e03b1d019ea17182d76a1037f5fc4ff37d05c410d6b79e8f8da _Copy Text menu item should copy post message to clipboard_ 1. Join a test channel - 2. Post a message - 3. Click on 3dot icon to open post menu - 4. Click on "Copy Text" to copy the message  - 1. Verify clipboard content are correct - 5. Post a different message or use the same as above - 6. Click on 3dot icon to open post menu - 7. While menu is open click on "c" keyboard key to copy message text - 1. Verify clipboard content are correct **Expected** diff --git a/data/test-cases/channels/messaging/MM-T4901.md b/data/test-cases/channels/messaging/MM-T4901.md index 52ef39a0e..cee2d26d3 100644 --- a/data/test-cases/channels/messaging/MM-T4901.md +++ b/data/test-cases/channels/messaging/MM-T4901.md @@ -31,7 +31,7 @@ key: MM-T4901 created_on: "2022-07-01T21:18:48Z" last_updated: "2022-12-01T21:07:00Z" case_hashed: 0a175993dc4369c5a2d997e0cc5fd99ad23417e097c3f5b9885c6cec6f51b206176a8948f788cbd581a94acf27967105 -steps_hashed: 9d8f3263212640b565d2d5916cfadb839cfdbf598391f534fced6ca6009982fc208c73c5420f559e698232f616cbd882 +steps_hashed: 9a77749e0fac74c542fd35895f25d1d17eab9ce1a16c2cf19fb60e3ca2f9c8d85f479508dc80cdb8eb306b188e4ef290 --- @@ -52,6 +52,7 @@ _Link preview - whole preview is clickable (updated ui)_\\ 2. Click anywhere on the preview window  1. Verify the whole preview  window is clickable + 2. Link opens in the new tab **Test Data** diff --git a/data/test-cases/channels/messaging/MM-T4926.md b/data/test-cases/channels/messaging/MM-T4926.md index 6d94892bc..8feefdf3f 100644 --- a/data/test-cases/channels/messaging/MM-T4926.md +++ b/data/test-cases/channels/messaging/MM-T4926.md @@ -29,7 +29,7 @@ key: MM-T4926 created_on: "2022-07-18T16:12:52Z" last_updated: "2022-12-01T21:07:00Z" case_hashed: d03ec85c2f2c2c603d960b9c8bcb2dd92dbc113aeeeae874d694a7851c0a65ee4b7a41df922aa477b04f8bdad1b86218 -steps_hashed: 9a1c565f6cd58efbee8e2e326c10b739fba45ad4715d6a7dbf5befb604a1362be1094573cddacc0ebeb17a1e862f86cd +steps_hashed: 2cf19df0fe639577ae8b2f0d734897bb45e8817f0c1d756134af6480b949104d8d68993ee1acb95a56398fcb3e0dc51d --- @@ -43,17 +43,11 @@ steps_hashed: 9a1c565f6cd58efbee8e2e326c10b739fba45ad4715d6a7dbf5befb604a1362be1 _Text editor - Save and Cancel buttons_ 1. Create a post  - 2. Open this post and edit it - 3. Click on Save button - 1. Verify edited post saves - 4. Open the same post and edit again - 5. Click on Cancel button  - 1. Verify changes are not saved **Expected** @@ -68,19 +62,11 @@ Changes on edit modal are not saved when using Cancel button to close inline edi _Text editor - Save and Cancel buttons - mobile webview_ 1. Minimize window size to mobile webview - 2. Create a post  - 3. Open post to edit - 4. Edit the post  - 5. Click on Save button - 1. Verify post saves - 6. Open the same post and edit again - 7. Click on Cancel button  - 1. Verify changes are not saved diff --git a/data/test-cases/channels/messaging/MM-T4948.md b/data/test-cases/channels/messaging/MM-T4948.md index c703ebd00..eb453e3bf 100644 --- a/data/test-cases/channels/messaging/MM-T4948.md +++ b/data/test-cases/channels/messaging/MM-T4948.md @@ -32,7 +32,7 @@ key: MM-T4948 created_on: "2022-07-28T13:47:10Z" last_updated: "2022-12-01T21:07:01Z" case_hashed: 4a47365c03fe4ee10ae3b9461424f9fca572f2d674eccbc891eff57e8fa42750001a4d11e036780ac78bc3bd7b6b3462 -steps_hashed: 332a7da51c9b4fa402a1abd2346f1a9beafb5a3912faea053b5d7589e813aa84435fad2de519d247a8910fdb67a6b0c5 +steps_hashed: 5bfdf3bc2d455f5924bec1310d80b2fdcf2e40bb3fdc4220f76466b73708393a445f93ade1d2c0373b61ad2fb50155d8 --- @@ -46,13 +46,9 @@ steps_hashed: 332a7da51c9b4fa402a1abd2346f1a9beafb5a3912faea053b5d7589e813aa8443 _Save menu item should save post_ 1. Post several messages so that dropdown menu can be seen when rendered at the bottom (Cypress limitation) - 2. Save message by clicking the menu item in the dotmenu - 1. Verify the post pre-header is displayed and works as expected - 3. Remove post from saved by clicking the menu item in the dot menu - 1. Verify the post is removed from the saved list --- @@ -62,13 +58,8 @@ _Save menu item should save post_ _Save hotkey should save post_ 1. Post several messages so that dropdown menu can be seen when rendered at the bottom (Cypress limitation) - 2. Open the post dot menu - 3. Press s to save - 1. Verify the post pre-header is displayed and works as expected - 4. Press s again to un-save - 1. Verify the post is removed from the saved list diff --git a/data/test-cases/channels/permalink-preview/MM-T4315.md b/data/test-cases/channels/permalink-preview/MM-T4315.md index 99595885a..2c2b6596e 100644 --- a/data/test-cases/channels/permalink-preview/MM-T4315.md +++ b/data/test-cases/channels/permalink-preview/MM-T4315.md @@ -33,7 +33,7 @@ key: MM-T4315 created_on: "2021-10-27T19:24:28Z" last_updated: "2022-12-01T21:07:10Z" case_hashed: ba942d3d23a9e7a185f32c7fb7785e8ea82b43bf8d91ce54e3c7e2aa4e4596f1780f1f281fa35b24b0be03edbe561ebd -steps_hashed: c99fbed92794a31d674283e44529b554325b0e7b6c18700043120d269b8f20f6a4d754f73fae42cbe903307414d22d1b +steps_hashed: 87cc3b053a9729f3340ae589a06db5bd38361747d8474b776870d95829f9543249a3786e5e2351a5e268171e8378df1b --- @@ -51,6 +51,7 @@ steps_hashed: c99fbed92794a31d674283e44529b554325b0e7b6c18700043120d269b8f20f6a4 **Expected** 1. (a) Share Message dialog should be displayed. + 2. (b) Select channel and people dropdown list should be displayed 3.(c) Only one channel or people should be selected diff --git a/data/test-cases/channels/permalink-preview/MM-T4317.md b/data/test-cases/channels/permalink-preview/MM-T4317.md index cf2130e5b..d803eb5ca 100644 --- a/data/test-cases/channels/permalink-preview/MM-T4317.md +++ b/data/test-cases/channels/permalink-preview/MM-T4317.md @@ -33,7 +33,7 @@ key: MM-T4317 created_on: "2021-10-27T20:03:32Z" last_updated: "2022-12-01T21:07:10Z" case_hashed: 1a2779d828b2992e6fc81f3358c1e8c8601c070d321021f9e4ee879b48aa53748782f86d2c240d9064f8824eef76f7f6 -steps_hashed: ae806ac6b0ddf80786c0201489138d395acc8658aa6a390d407418f6494a085b8a31361492c2b16f0ff49beddd0df6cc +steps_hashed: d68720a0b036c3dee738f1520adc2b3c5f9cce6b12ce3eb715c4a5f9ec520037753eebf37ab6218fc772c2843cd2aef5 --- @@ -58,7 +58,11 @@ steps_hashed: ae806ac6b0ddf80786c0201489138d395acc8658aa6a390d407418f6494a085b8a 3.(b) Message permalink preview should be displayed properly 1. (a) Channel name should be autocomplete + 2. (b) Channel name should be selected + 3. Comment should be displayed + 4. Message should be shared in **Channel B** and should be navigated + 5. Permalink preview should be displayed properly in **Channel B** diff --git a/data/test-cases/channels/permalink-preview/MM-T4771.md b/data/test-cases/channels/permalink-preview/MM-T4771.md index 2bf6dda23..538054be6 100644 --- a/data/test-cases/channels/permalink-preview/MM-T4771.md +++ b/data/test-cases/channels/permalink-preview/MM-T4771.md @@ -32,7 +32,7 @@ key: MM-T4771 created_on: "2022-04-07T19:45:20Z" last_updated: "2022-12-01T21:07:14Z" case_hashed: df7f8d13b37b765fda9c6ad8e96ffabd30d6d38fe5ad8742c8715f477846a20193f0ed83a594acda7a0e1d2519311e10 -steps_hashed: 8ca69a718acea3e6520eeb52fb3696e22c6425aef5780579e0a04ed262d8e40f4ba1afee8a4e30305f3e7b3c4e69aba8 +steps_hashed: 72fee719184cc60296e4af3ca4e2516db6309afab44146ef055e7b85142e1493951123591daa43cb7aa4f262b5155db2 --- @@ -56,7 +56,9 @@ steps_hashed: 8ca69a718acea3e6520eeb52fb3696e22c6425aef5780579e0a04ed262d8e40f4b **Expected** 1. Permalink preview should be displayed in **User A** + 2. Permalink preview should be displayed in **GM** + 3. Permalink preview should be displayed in **Channel A** 9.Permalink preview should be displayed in **Channel B** diff --git a/data/test-cases/channels/permalink-preview/MM-T5089.md b/data/test-cases/channels/permalink-preview/MM-T5089.md index a14b8ba97..c0f4777af 100644 --- a/data/test-cases/channels/permalink-preview/MM-T5089.md +++ b/data/test-cases/channels/permalink-preview/MM-T5089.md @@ -34,7 +34,7 @@ key: MM-T5089 created_on: "2022-08-20T21:55:55Z" last_updated: "2022-12-01T21:07:16Z" case_hashed: 7f6af9c5e4922690ab14ac96d70797fbc472134d22d803637d9b06316256f4ac12ad1e9b9738d76a78c97b9b348ff868 -steps_hashed: df64cdebfd149294dba96593fb72415998fd5fd1473c60cb76dee1d55c8b39ab4023373d1f2c0d1535b4ec3210c3529f +steps_hashed: d0559340c924ecd504ceed0196c54ef9cbc951d6cc604ffdc76e5a9b54ba65a1147ab00d9d5cace94888ba08e15a14ca --- @@ -57,4 +57,5 @@ steps_hashed: df64cdebfd149294dba96593fb72415998fd5fd1473c60cb76dee1d55c8b39ab40 **Expected** 1. Permalink preview should not be displayed + 2. Permalink preview should be displayed diff --git a/data/test-cases/channels/profile-settings/MM-T4070.md b/data/test-cases/channels/profile-settings/MM-T4070.md index e0940457f..530c074f2 100644 --- a/data/test-cases/channels/profile-settings/MM-T4070.md +++ b/data/test-cases/channels/profile-settings/MM-T4070.md @@ -33,7 +33,7 @@ key: MM-T4070 created_on: "2021-05-18T17:17:34Z" last_updated: "" case_hashed: faba199c6c3b2e44d4ccf59716894186d7da7ce9a9a0e7af47ccc56410cc6a139d14f149677f07c8101c3d0c493a95d5 -steps_hashed: b1bcf728b4a8db440377546f21a3ffc4f2ca5cb876f6cce784d9c8e5eee5d1082d146302141425a4776ea09a842df956 +steps_hashed: 53e11c44f49bbcfeec999a1e8d0eaa9d87dee7fd83eb58abfa7e0abadbd8a8a4effe680b9e2fce27ef6b666843debbcb --- @@ -47,11 +47,8 @@ steps_hashed: b1bcf728b4a8db440377546f21a3ffc4f2ca5cb876f6cce784d9c8e5eee5d1082d _Set status DND with predefined end times_ 1. Open status dropdown menu and hover over Do Not Disturb option - 2. Click on predefined end time - 1. Verify user status icon is set to DND - 3. Reset user status to online to prevent status modal warning **Expected** @@ -65,13 +62,9 @@ _Set status DND with predefined end times_ _Set status DND with custom end time_ 1. Open status dropdown menu and hover over Do Not Disturb option - 2. Click on Custom end time - 3. Click 'Disable Notification' in custom time selection modal to choose pre-filled time - 1. Verify user status icon is set to DND - 4. Reset user status to online to prevent status modal warning **Expected** @@ -85,19 +78,12 @@ Verify user can set custom end time on dnd modal _Select only custom date in dnd time selection modal_ 1. Open status dropdown menu and hover over Do Not Disturb option - 2. Click on Custom end time - 3. Click on DayPicker input field - 1. Verify that DayPicker overlay is visible - 4. Click on tomorrow's day - 5. Click 'Disable Notification' button - 1. Verify user status icon is set to DND - 6. Reset user status to online to prevent status modal **Expected** @@ -111,19 +97,12 @@ Verify user can set only custom time on dnd modal _Select only custom time in dnd time selection modal_ 1. Open status dropdown menu and hover over Do Not Disturb option - 2. Click on Custom end time - 3. Click on time picker input field - 1. Verify that time picker menu is visible - 4. Click on last time available in list - 5. Click 'Disable Notification' button - 1. Verify user status icon is set to DND - 6. Reset user status to online to prevent status modal warning **Expected** @@ -137,21 +116,13 @@ Verify user can set only custom time on dnd modal _Select both custom date and time in dnd time selection modal_ 1. Open status dropdown menu and hover over Do Not Disturb option - 2. Click on DayPicker input field - 1. Verify that DayPicker overlay is visible - 3. Click on tomorrow's day - 4. Click on time picker input field - 1. Verify that time picker menu is visible - 5. Click on last time available in list - 6. Click 'Disable Notification' button - 1. Verify user status icon is set to DND **Expected** diff --git a/data/test-cases/channels/profile-settings/MM-T4420.md b/data/test-cases/channels/profile-settings/MM-T4420.md index 6b657cbdf..a6fb3f63d 100644 --- a/data/test-cases/channels/profile-settings/MM-T4420.md +++ b/data/test-cases/channels/profile-settings/MM-T4420.md @@ -31,7 +31,7 @@ key: MM-T4420 created_on: "2021-11-26T14:29:45Z" last_updated: "" case_hashed: ebf4faa7ea70be86592a28ca1eefc04b8f9ecaba1451691c9d3ee934f208173ade7f22061a847b7eee857dc3bde23b56 -steps_hashed: 50013832ae5a4313cbda327a743a8604fe6c2e4155a3b633747768ebb96dd56974f0966922d8937a6490d04ae1b2f3e0 +steps_hashed: f426584eb703b4cc0178136dcd92c58a100390c35c6195e96928091cd2e28ae68b8a9b437e50eb6c4d6a5d8276e64e04 --- @@ -45,7 +45,6 @@ steps_hashed: 50013832ae5a4313cbda327a743a8604fe6c2e4155a3b633747768ebb96dd56974 Should stay open when dnd sub-menu header is clicked 1. Open Dnd sub menu and click on header - 1. Verify the menu is still visible, does not close **Expected** diff --git a/data/test-cases/channels/profile-settings/MM-T4914.md b/data/test-cases/channels/profile-settings/MM-T4914.md index 257cb82d7..a620cb3a0 100644 --- a/data/test-cases/channels/profile-settings/MM-T4914.md +++ b/data/test-cases/channels/profile-settings/MM-T4914.md @@ -30,7 +30,7 @@ key: MM-T4914 created_on: "2022-07-13T17:30:35Z" last_updated: "2022-12-01T21:07:17Z" case_hashed: d59c60e5103bc89689bfa8ec9f01b7b2d5e73339b13d7655ccafc370e35458fda9842b84d5aedb31e7ec8b134b19a21e -steps_hashed: fb36b313bb56367f3d3c8d71fc5545f51070460d8d24a0cb0981806deadefe73d6928199d4f403708c185db030899492 +steps_hashed: 3c5a713a57216498701aa265d223c2520b82ad383a8a481fd18186ea2c47a20bc48b0d6cff39a7dcc4a4734153c1bb2a --- @@ -44,15 +44,10 @@ steps_hashed: fb36b313bb56367f3d3c8d71fc5545f51070460d8d24a0cb0981806deadefe73d6 _Profile menu header is clickable, opens Profile settings_ 1. Click on user avatar on global header - 1. Verify menu opens - 2. Hover over menu header - 1. Verify mouse pointer changes to hand - 3. Click on the header - 1. Verify click on header opens Profile settings modal **Expected** diff --git a/data/test-cases/channels/search/MM-T354.md b/data/test-cases/channels/search/MM-T354.md index 6b084e821..3d51513b1 100644 --- a/data/test-cases/channels/search/MM-T354.md +++ b/data/test-cases/channels/search/MM-T354.md @@ -34,7 +34,7 @@ key: MM-T354 created_on: "2020-01-02T23:12:25Z" last_updated: "" case_hashed: 216fd2beff8aa9de894c6cd980dccfd04f7191f585686049a6fed1f06b4d8bb6c0fe68d8d0354dd0b89cc36b963d7c28 -steps_hashed: 7c8d5c1b7e5a15cb9877318614e9ea0fb1153221d67df661e77b21ebf7195510539fa1c0adc1daffb85c4649aeb25f73 +steps_hashed: 3e65f6c45342d810b277b4f29734b1c1204783a6a0cb0973c82da35c977b73319f7d00176b077f44a65bb646d5479d7b --- @@ -46,9 +46,7 @@ steps_hashed: 7c8d5c1b7e5a15cb9877318614e9ea0fb1153221d67df661e77b21ebf719551053 **Step 1** 1. In a test channel, post the paragraph to the right: - 2. Search for the following: (that's 2 quotes at the end) - - test tool "" **Test Data** diff --git a/data/test-cases/channels/search/MM-T4084.md b/data/test-cases/channels/search/MM-T4084.md index 07c6ac1ff..171680f08 100644 --- a/data/test-cases/channels/search/MM-T4084.md +++ b/data/test-cases/channels/search/MM-T4084.md @@ -29,7 +29,7 @@ key: MM-T4084 created_on: "2021-05-24T03:13:30Z" last_updated: "2022-12-01T21:07:18Z" case_hashed: 89f93afaf6b1f133867e0a1d30f5e6306980b5fc71c5e760720c9ca529d07bd5852b07678a71bf88816b412542ec290a -steps_hashed: dfefa163c4a64cc37cef0e11eac36bf21b6a7ba3f0264db312166d6472e87f7117fa3c67e6c80fa59bdfd72b56866f19 +steps_hashed: 922333a1b287dfa7a129a08638ba44e7c86041e2929dca87bcf375318ec2132dd92e7dacef6f253c2f165238887c8629 --- @@ -43,17 +43,11 @@ steps_hashed: dfefa163c4a64cc37cef0e11eac36bf21b6a7ba3f0264db312166d6472e87f7117 _Search autocomplete behavior - keyboard scroll using up/down keys_ 1. Click on Search Box - 2. Type "from:" - 1. Verify list of users is visible - 3. Use down arrow key to scroll through the list - 1. Verify new search item is focused - 4. Use up arrow key to scroll back up through the list - 1. Verify new search item is focused **Expected** diff --git a/data/test-cases/channels/search/MM-T4927.md b/data/test-cases/channels/search/MM-T4927.md index f2e08fc53..f47f00ac1 100644 --- a/data/test-cases/channels/search/MM-T4927.md +++ b/data/test-cases/channels/search/MM-T4927.md @@ -30,7 +30,7 @@ key: MM-T4927 created_on: "2022-07-18T19:15:42Z" last_updated: "2022-12-01T21:07:18Z" case_hashed: 2f5a80ca2417962c3d3f119bddd61e6bba4e34dea63fba0f97d7b869494fd56a7047257865501fbdf765efd4a4a28cf4 -steps_hashed: 9367cc768d11a9cfe34cc9ec497e7f2ff778b51ffd9d048db8fdb57eda4e1e5ccdac276b6aefa42d42a472c64dc54760 +steps_hashed: 6f9711dce80798bdf362e9e03ce8f616cf4167bf84222163ff06c6d27abec916b2f5fb1fd79d9f25d5ce9ec2814220d7 --- @@ -44,13 +44,9 @@ steps_hashed: 9367cc768d11a9cfe34cc9ec497e7f2ff778b51ffd9d048db8fdb57eda4e1e5ccd \_Search for channel \_in system console _using channel ID_ 1. Open channel info for Town Square (see image in test data) - 2. Copy channel ID from channel info pane - 3. Open System Console>User Management>Channels - 4. Enter the channel ID string into search field  - 1. Verify Town Square is returned as a result **Test Data** diff --git a/data/test-cases/channels/search/MM-T4945.md b/data/test-cases/channels/search/MM-T4945.md index ab573b0d9..d58cc49c7 100644 --- a/data/test-cases/channels/search/MM-T4945.md +++ b/data/test-cases/channels/search/MM-T4945.md @@ -31,7 +31,7 @@ key: MM-T4945 created_on: "2022-07-26T21:50:02Z" last_updated: "2022-12-01T21:07:19Z" case_hashed: 7bc9aca92080dc6643332dcc37b5cd722b276c6a9c22b42ebcaf2f2f4750930501a7b18d80117a09a2dc849b78e895b2 -steps_hashed: 476d71fafa73e30f2130539aba578421cc0d6d809beb0284b4d379b88bdf68576f41ee86cbcfc500849751eda4a6d0c4 +steps_hashed: 5ab40d340620b5efcf29b2723b5677fe392e525c9d8e5b9368599bb2b6da06e9a1459ce76fe1f5b10630562626ee2032 --- @@ -45,11 +45,8 @@ steps_hashed: 476d71fafa73e30f2130539aba578421cc0d6d809beb0284b4d379b88bdf68576f _Search bar popup should be visible when focus changes to one of its buttons_ 1. Click on the search box - 1. Verify search bar popup should be visible - 2. Moves the focus to the next button (in this case Messages) - 1. Verify search bar popup should be visible --- @@ -59,11 +56,8 @@ _Search bar popup should be visible when focus changes to one of its buttons_ _Search bar popup should be hidden when focus is out of search bar items_ 1. Click on the search box - 1. Verify search bar popup should be visible - 2. Press tab three times to move focus out of the search bar componment - 1. Verify the popup should be closed --- @@ -73,13 +67,8 @@ _Search bar popup should be hidden when focus is out of search bar items_ _Search bar popup should be open when focus back to search box_ 1. Click on the search box - 1. Verify search bar popup should be visible - 2. Moves the focus to the next button (in this case Messages) - 1. Verify the popup should be visible - 3. Move the focus back to the search box - 1. Verify search bar popup should still be visible diff --git a/data/test-cases/channels/settings/MM-T4379.md b/data/test-cases/channels/settings/MM-T4379.md index c176f6bcf..bd35c554a 100644 --- a/data/test-cases/channels/settings/MM-T4379.md +++ b/data/test-cases/channels/settings/MM-T4379.md @@ -31,7 +31,7 @@ key: MM-T4379 created_on: "2021-11-05T15:15:08Z" last_updated: "" case_hashed: 3b1a4e831a20f2673b4b82ac98fcc9f29c4ebf1431e29a821f12735f30b70e58e6d2fd0bbb5379e1f49d010b02547a84 -steps_hashed: 195357b51b71547faaf1fc0067a88c1c8fc829b43b8e6d6796fbb62c7252957c7902c885be44f9ac012b468128aa0dd3 +steps_hashed: 1d4c17d6d141f0ca7e8b75fec97c159878cda059f49e770854c5dc0a158d27c7e372cc9561a919c53c3add0c7b74449d --- @@ -45,21 +45,12 @@ steps_hashed: 195357b51b71547faaf1fc0067a88c1c8fc829b43b8e6d6796fbb62c7252957c79 _Display: Click to open threads setting_ 1. Add new post - 2. Click anywhere on the post while on the main channel view - 1. Verify thread opens on the RHS - 3. Open Settings>Display - 4. Click on "Click to open threads" option - 1. Verify it is set to On by default - 5. Change this setting option to Off and Save - 6. Exit settings - 7. Click anywhere on the post in the main channel - 1. Verify thread does not open on the RHS diff --git a/data/test-cases/desktop-app--native-specific-/MM-T4022.md b/data/test-cases/desktop-app--native-specific-/MM-T4022.md index f4243a084..7ba243ec7 100644 --- a/data/test-cases/desktop-app--native-specific-/MM-T4022.md +++ b/data/test-cases/desktop-app--native-specific-/MM-T4022.md @@ -33,7 +33,7 @@ key: MM-T4022 created_on: "2021-04-23T19:47:44Z" last_updated: "" case_hashed: a64a83962905792ab77c8051f61d46bd1b6fcfe4c67a5322c20e592bc9fdd1828afb8248848f0e313a996634624183cc -steps_hashed: 4bb6b671c59b8fa19112359d3445fb108c4032253e352bd021d47504bd2b258c321b651e00279f7c65febeba5849ea24 +steps_hashed: 666ac38d4264e2b6f2e29614569939d015c95eb5f9f8e7757eb8d461dbb7a11707bffa0b97c7fef67791176e5b657671 --- @@ -45,11 +45,8 @@ steps_hashed: 4bb6b671c59b8fa19112359d3445fb108c4032253e352bd021d47504bd2b258c32 **Step 1** 1. Open Mattermost Desktop v4.7 or later - 2. Open Task Manager/Activity Monitor/any process monitor that shows the number of processes. Note the number of processes - 3. Hover over an external link repeatedly so that the URL view in the bottom left corner is shown and disappears. - 1. Verify the number of processes should not increase with every hover. **Expected** diff --git a/data/test-cases/desktop-app--native-specific-/MM-T4031.md b/data/test-cases/desktop-app--native-specific-/MM-T4031.md index 07b9fd8a6..5b127d883 100644 --- a/data/test-cases/desktop-app--native-specific-/MM-T4031.md +++ b/data/test-cases/desktop-app--native-specific-/MM-T4031.md @@ -34,7 +34,7 @@ key: MM-T4031 created_on: "2021-04-26T14:24:03Z" last_updated: "" case_hashed: de39c2bfe7ab68d89e9c6b710d27b1c515d08295078f054a4e522b8a9f53de9e7930b1eebabf1d7e92c2c282e854e099 -steps_hashed: fe464020cf8c3c0466e2eac372dd42f7d02ff2d5c543e7f1dd86f51898d53e12d2d1d0b4a5c75992ad0eaa42674fc69a +steps_hashed: 0fa4b15690521d400d18048693505ccd07c46447fe21d294335856390c0d9cab09d5b1798852f168a1f8e8c2d5e34f66 --- @@ -48,17 +48,11 @@ steps_hashed: fe464020cf8c3c0466e2eac372dd42f7d02ff2d5c543e7f1dd86f51898d53e12d2 _Specify default downloads location_ 1. Open Settings - 2. Scroll to the bottom and click on Change button - 3. Select Desktop as location to download files, do not use Downloads folder and close settings modal - 4. Right click on a user profile image and select "Save" - 1. Downloads complete popup is triggered - 5. Click on Downloads complete popup - 1. Desktop folder opens with the exact downloaded file selected **Expected** diff --git a/data/test-cases/desktop-app--native-specific-/MM-T4050.md b/data/test-cases/desktop-app--native-specific-/MM-T4050.md index a3a7da374..0120982e1 100644 --- a/data/test-cases/desktop-app--native-specific-/MM-T4050.md +++ b/data/test-cases/desktop-app--native-specific-/MM-T4050.md @@ -33,7 +33,7 @@ key: MM-T4050 created_on: "2021-05-10T13:57:37Z" last_updated: "" case_hashed: d1441269aff8839f72bdf3b255369b614941105622d123316a3f4339ed3dae71dbf6ee4be9d490c5acc8e67c2e9e92bd -steps_hashed: 9066236b4e6c85c2207f71c4b19c60f7494637924fdd908cc02eacb7c9332fa2ec08c980df5c8a299e84ea870f749a5b +steps_hashed: 7b01385cd2e225077841ee7b7c16b43439c66c4654957cf76e9c3eb696efac7e937b308672a101f5a6f97ce2067c7143 --- @@ -54,5 +54,7 @@ Long server name **Expected** - New server tab is added + - Server name is truncated + - The max-width for the tab should be 224px diff --git a/data/test-cases/desktop-app--native-specific-/MM-T4054.md b/data/test-cases/desktop-app--native-specific-/MM-T4054.md index a5d201add..2b685e73d 100644 --- a/data/test-cases/desktop-app--native-specific-/MM-T4054.md +++ b/data/test-cases/desktop-app--native-specific-/MM-T4054.md @@ -32,7 +32,7 @@ key: MM-T4054 created_on: "2021-05-11T14:14:12Z" last_updated: "" case_hashed: 7468c6a631c415bb2b523f0b6d4792ec235576adae696c68a5eef7c425d19f2c5f4e07eeb7edda596efb909128da213d -steps_hashed: cfa017cf72411c5883e5fa27d5100ee30f95542db0f4df8e58ae827670714ae22948cd45ee267dd1a288c1f2c530cf64 +steps_hashed: dd58aabfb12944e409eaa6b9249114661b86ddb4bb4dd08b66646a3a6b6980c0979a795e48e76f96ff91358e3b77d695 --- @@ -44,19 +44,12 @@ steps_hashed: cfa017cf72411c5883e5fa27d5100ee30f95542db0f4df8e58ae827670714ae229 **Step 1** 1.  Share photo in chat - 2.  Click photo to preview -> X for closing appears in upper right corner - 3. Click "get public link" - 4. Post link in chat - 5. Click public link ->  - 1. Image preview opens - 6. Close image preview - 1. Verify image Preview can be closed by clicking on "X" **Expected** diff --git a/data/test-cases/desktop-app--native-specific-/MM-T4055.md b/data/test-cases/desktop-app--native-specific-/MM-T4055.md index df80d0b81..f42aa9c57 100644 --- a/data/test-cases/desktop-app--native-specific-/MM-T4055.md +++ b/data/test-cases/desktop-app--native-specific-/MM-T4055.md @@ -32,7 +32,7 @@ key: MM-T4055 created_on: "2021-05-11T14:50:39Z" last_updated: "" case_hashed: 5a044103c45ceb1dad5ad8204d955da73407678384596a63fe4298c8506d6661f9a27e8a73b0b15121f34a23328fb522 -steps_hashed: c414fad967f535cb0bceea80f360c10a2e3e40e84c91c9f1354fabe33d2523518bfa3bd85f68c123ea353d6f11fa2159 +steps_hashed: 261736ef1673ebf0b52f325082c7284a9aa4221af2e6afd3f68feff65153ec3f363e8a3e03b6647107d1647c6a2fdc4e --- @@ -44,12 +44,9 @@ steps_hashed: c414fad967f535cb0bceea80f360c10a2e3e40e84c91c9f1354fabe33d2523518b **Step 1** 1. Connect the desktop app to a server that has Image Proxying disabled. - 2. Post the following message to a chat:\ **\[evil-link]\(hello,world:,/../../..//api/v4/image?url=https\://google.com)** - 3. Click on the link - 1. The link opens in the default browser window **Expected** diff --git a/data/test-cases/desktop-app--native-specific-/server-management/server-tab-header/MM-T2636.md b/data/test-cases/desktop-app--native-specific-/server-management/server-tab-header/MM-T2636.md index 3f9ddc56a..a51333aab 100644 --- a/data/test-cases/desktop-app--native-specific-/server-management/server-tab-header/MM-T2636.md +++ b/data/test-cases/desktop-app--native-specific-/server-management/server-tab-header/MM-T2636.md @@ -36,7 +36,7 @@ key: MM-T2636 created_on: "2020-05-29T18:13:38Z" last_updated: "2022-12-01T21:09:05Z" case_hashed: 58abac163a8337814696b9c3c439441b525adf48beddcf38e4eb39966bd8aea78413552364b2474c79e28a6355310037 -steps_hashed: 0eb39fe107212d01a1874f5337a5994b47ba34723500e8a0eac7bf5c053b6fbc1e1a98828f781f34fa61f760bb0bac31 +steps_hashed: 0a8c38c5ae594a2c1430c970f20b348255580376dc7febab0dddc12e235ec3ad2d50c975febacf951ccc8fcb17f624c5 --- @@ -52,11 +52,8 @@ macOS only **Step 1** - Open the Desktop app - - Click anywhere within the Header area and reposition the app on the screen - - Additionally on macOS: - - Click & hold on the area of the header near close, maximize and minimize buttons and drag/move the app's window to reposition on the screen **Test Data** diff --git a/data/test-cases/desktop-app--native-specific-/settings/MM-T4638.md b/data/test-cases/desktop-app--native-specific-/settings/MM-T4638.md index cf604aa2a..2bb8f4d58 100644 --- a/data/test-cases/desktop-app--native-specific-/settings/MM-T4638.md +++ b/data/test-cases/desktop-app--native-specific-/settings/MM-T4638.md @@ -33,7 +33,7 @@ key: MM-T4638 created_on: "2022-02-04T18:28:01Z" last_updated: "2022-12-01T21:09:10Z" case_hashed: 53592dc4034de23642ede58994b10992908ac51ffc8803d6d39a46d75b56614d78a22dd222504ab694230337a20d77db -steps_hashed: c3bd94a83634a4b2737bb1223dec34970bbd931f363a47cc800ba5b7820678696149552289bb06670f719504ec1218c3 +steps_hashed: fe15f6c35fce34ad822ada14977b84f1d9327ff6233e3748af162dc8a337c170c28aa3aa0eedf526c94e33113214be4d --- @@ -45,11 +45,8 @@ steps_hashed: c3bd94a83634a4b2737bb1223dec34970bbd931f363a47cc800ba5b78206786961 **Step 1** 1. Open app settings - 2. Change app icon theme form system default to dark or light - 3. Observe app tray icon - 1. Verify icon displays in user selected theme **Expected** diff --git a/data/test-cases/integrations/outgoing-webhook/MM-T2038.md b/data/test-cases/integrations/outgoing-webhook/MM-T2038.md index ba2ddbf20..271bc58b9 100644 --- a/data/test-cases/integrations/outgoing-webhook/MM-T2038.md +++ b/data/test-cases/integrations/outgoing-webhook/MM-T2038.md @@ -33,7 +33,7 @@ key: MM-T2038 created_on: "2020-05-19T12:37:19Z" last_updated: "" case_hashed: d40a3b745f0ddb90d6c9fc4f64ab3ade5be35c2c1ae7a6a151bcd71c0602d36d2c21837c8308a5f5bf7c7c0559850150 -steps_hashed: fa9ce8dc4500421d6f9913e48b3395a753b8152c83c3e8f64c91a255050557c3f67cdd8030fdf908afc7462d7aa7bd3d +steps_hashed: c7f8e1818602be14aed600d6ba855a685dac53beea0a1f09171abba68fd937dfb6a87ba23b8bd7190008283f00c8d6ab --- @@ -58,7 +58,5 @@ With outgoing webhook set up as above (can keep using the one set up above):\\ **Expected** - The webhook replied on the posted message - - Observe the posted webhook message, importantly verifying: - - response\_type: 'comment', diff --git a/data/test-cases/mobile-app--native-specific-/MM-T3232.md b/data/test-cases/mobile-app--native-specific-/MM-T3232.md index 1fefae642..f4e6825ae 100644 --- a/data/test-cases/mobile-app--native-specific-/MM-T3232.md +++ b/data/test-cases/mobile-app--native-specific-/MM-T3232.md @@ -38,7 +38,7 @@ key: MM-T3232 created_on: "2020-07-30T21:05:00Z" last_updated: "" case_hashed: 94615adb41850e623354dd20f7638544dc277589611598d7c58f076a680f983ac2e305ae284016e640ad63ff8475f7bc -steps_hashed: ad831ff88b14c68c1f7046a607927d547bd588976644fdbb62b0fc876cbb2e18f963be631490c98a2ab89790617a639b +steps_hashed: 53972ebe2a6eccb18f66f7b79a3a16e92bd62cdd921e3d290c71593d354d4f4e5ba1e43ee78fa68e14e4590b51803286 --- @@ -59,9 +59,6 @@ Should remove message from channel when deleted\ **Expected** - After #2, - - The Delete Post modal with **Cancel** and **Delete** buttons is shown - - After #3, - - The message disappears from the channel diff --git a/data/test-cases/mobile-app--native-specific-/MM-T43.md b/data/test-cases/mobile-app--native-specific-/MM-T43.md index 47886ae7d..7336a46d6 100644 --- a/data/test-cases/mobile-app--native-specific-/MM-T43.md +++ b/data/test-cases/mobile-app--native-specific-/MM-T43.md @@ -36,7 +36,7 @@ key: MM-T43 created_on: "2019-09-04T21:03:12Z" last_updated: "2022-09-10T11:55:02Z" case_hashed: 89face77f171af4c163e5f2330405087132790209ba3643b8453acd12fbeeb52128f04dcfce56f6e16fef822dc6d71b2 -steps_hashed: 218a38d9d819fdcb85b919805cac9336690eacc6a6f146e43bde504f95535513c8387c9663a038ba6801361423417fc0 +steps_hashed: b3709c1392681dc0b815e30241977d11eea812dbaa4e8309ddc3472408c0ee3887097446bc9d74664fecd28832bdb2e3 --- @@ -459,13 +459,10 @@ Edit Header screen appears **Step 28** 1. Type text in field - 2. Include a properly formatted link - ``` [Link example](https://mattermost.com) ``` - 3. Tap Save in lower right corner **Expected** diff --git a/data/test-cases/plugins/plugin-marketplace/MM-T2026.md b/data/test-cases/plugins/plugin-marketplace/MM-T2026.md index 9b42ab9b5..58f1df678 100644 --- a/data/test-cases/plugins/plugin-marketplace/MM-T2026.md +++ b/data/test-cases/plugins/plugin-marketplace/MM-T2026.md @@ -31,7 +31,7 @@ key: MM-T2026 created_on: "2020-05-08T00:08:59Z" last_updated: "2022-09-09T19:37:03Z" case_hashed: 23c7dfce69de3750a7f104a7100f84135fefa1a92806a32bde48919b5164303685935814be71f2e177687b7d65e0efad -steps_hashed: 1908df11c3164c37785fb1052d590d3edc1e0d3389d1a24e3193fafefa67ef2a1d1ef475648a31c6ff837038b5ccdc85 +steps_hashed: 19bca46b91992074e685bb006129841c6772b7bfb0010f96962a51023f8f98c1c7000cecba55a1a50b31acfb5d19fcce --- @@ -47,7 +47,9 @@ Verify that plugin update is confirmed by the user **Step 1** 1. Manually upload and install an older version of github plugin (older than 0.11.0). + 2. Launch Marketplace. + 3. Click “Update” for GitHub plugin. **Expected** diff --git a/data/test-cases/rolling-upgrade/MM-T5392.md b/data/test-cases/rolling-upgrade/MM-T5392.md index 70d66af5c..70f548800 100644 --- a/data/test-cases/rolling-upgrade/MM-T5392.md +++ b/data/test-cases/rolling-upgrade/MM-T5392.md @@ -30,7 +30,7 @@ key: MM-T5392 created_on: "2023-02-15T05:41:36Z" last_updated: "2023-02-15T13:41:35Z" case_hashed: 12bd048cb55c31a997ec03c475998608c79becbef79cd153fe5f8ced36bdaeb25a60ec21c393e4239e8f78f15934177c -steps_hashed: 040bd7d6e701cb0b1e9b5f1e0688c214ed7e1e2ab2554b4ce2a90148733a5fb4d049e01094457ab8a536b7322060fe72 +steps_hashed: 5535ee0bd86906f3565735d7f3d13eb64dc6823fab3373010aecb6df72150b79f875b86f94f152599d218c9b1731d2bd --- @@ -44,21 +44,13 @@ steps_hashed: 040bd7d6e701cb0b1e9b5f1e0688c214ed7e1e2ab2554b4ce2a90148733a5fb4d0 1. Set up a new HA server using the latest stable version with S3 as the file storage. - Confirm that the server has the correct version/hash, successful database migration, properly installed plugins with the correct versions, and the correct activation/deactivation of products. - - Conduct a brief smoke test by creating users, channels, and teams, and testing log-in and log-out functionality. - - Ensure that everything operates as expected. - - Test the enablement, disablement, installation, and reinstallation of plugins. - - Ensure that everything operates as expected. - - Test the activation and deactivation of products. - - Ensure that everything operates as expected. - - Test the enablement and disablement of feature flags. - - Ensure that everything operates as expected. 2. Upgrade the server to a new release version, then conduct a smoke test for each product and its core features, including: diff --git a/data/test-cases/suite/auth-sso/MM-T3402.md b/data/test-cases/suite/auth-sso/MM-T3402.md index bf7dd7238..6267afa39 100644 --- a/data/test-cases/suite/auth-sso/MM-T3402.md +++ b/data/test-cases/suite/auth-sso/MM-T3402.md @@ -34,7 +34,7 @@ key: MM-T3402 created_on: "2020-10-12T13:34:49Z" last_updated: "" case_hashed: ec7a6fa84ef40fcfc29d186f79a8c45e4cb340b0e038556a40f4cb5d35b36b761d0656e98f46a7651b76b5f8dd376a83 -steps_hashed: 0210bb85ac11f1e22ffca081a8d5eff813885ea137220b12b2831fe6b62a5d87abe6d37f20a99fc9452c31c7e386aa06 +steps_hashed: cd5da3507a2dbf223f5d3f7963a3362edfee5afe349390de7107ae8fe3afbea0c70cccbba29685da1b03abb15d172b9d --- @@ -55,4 +55,5 @@ Login - multiple tabs\ **Expected** - Login is signaled to other tabs + - Login on other tabs completes when focus is placed on those tabs and not immediately at the time of initial login at step 2. diff --git a/data/test-cases/suite/custom-groups/MM-T4658.md b/data/test-cases/suite/custom-groups/MM-T4658.md index 959a2a438..3028c337b 100644 --- a/data/test-cases/suite/custom-groups/MM-T4658.md +++ b/data/test-cases/suite/custom-groups/MM-T4658.md @@ -31,7 +31,7 @@ key: MM-T4658 created_on: "2022-03-02T14:43:13Z" last_updated: "2022-12-01T21:15:53Z" case_hashed: fa3ed90683a72f15be306456b4766c9733fa7148b7a34d35c27dedefb9b7bcf44a5d766d748a88439f255fb9874c38e1 -steps_hashed: d5b0996aabd8a6e999af01420cd5c4d7565f3696eb41b0408eab3655635ee0ae829b8f2e6cbfe8344daf475f16033c28 +steps_hashed: 5f3ab775de76e04bf78d3560560569d2bfe6c528af68949c17d85995ed039bfaa5edb139c7707750b27a273e15077d2c --- @@ -49,11 +49,19 @@ steps_hashed: d5b0996aabd8a6e999af01420cd5c4d7565f3696eb41b0408eab3655635ee0ae82 **Expected** 1. Product Switcher menu should be displayed. + 2. Verify following information in the modal: + 3. User Groups modal should be displayed. + 4. User Groups title should be displayed at top left corner. + 5. Create Group button should be displayed at top right corner + 6. Close button “X” should be displayed at top right corner + 7. Search groups field should be displayed. + 8. “Show:All Groups” filter should be displayed under Search groups field + 9. List of groups should be displayed diff --git a/data/test-cases/suite/enterprise/group-mentions/MM-T2464.md b/data/test-cases/suite/enterprise/group-mentions/MM-T2464.md index e089dd05f..3af0c0d5f 100644 --- a/data/test-cases/suite/enterprise/group-mentions/MM-T2464.md +++ b/data/test-cases/suite/enterprise/group-mentions/MM-T2464.md @@ -37,7 +37,7 @@ key: MM-T2464 created_on: "2020-05-22T12:53:48Z" last_updated: "2022-09-09T17:54:27Z" case_hashed: da2533ed8aa33357c09bc8a0beba286b040b3d671e9ff5192a32f1d66264d95912489df3bbcbbcd7259d0e56c4299eac -steps_hashed: ccb906d9712fe3e567c10d8923cac207b31a7f2298570595a77c9014328d577512c73a21ce8c3c9f68be911959474791 +steps_hashed: 779ed2676e7c32ba60db828eb8f93e2418ab3402cb38bffe68dc02540776a79b5b4a500c3fb3f533518ff82cbdc345d9 --- @@ -56,43 +56,24 @@ NOTE: The testing below repeats all of this but with a user observing on mobile 3\. Perform the following activities on Browser1 as sysadmin and check if the group mention is updated immediately on Browser2 without requiring the user to reload the page. - A group mention is enabled - - User should see the group mention in Autocomplete dropdown list when user types @ - - A group mention is disabled - - User should not see the group mention in Autocomplete dropdown list when user types @ - - A group mention is unlinked - - User should not see the group mention in Autocomplete dropdown list when user types @ - - A group mention name changes - - User should see the updated group mention name in Autocomplete dropdown list when user types @ - - A group is added to a Team which is LDAP Group Synced - - Only the group mentions which are in the team should be shown when user types @ - - A group is removed from a Team which is LDAP Group Synced - - Only the group mentions which are in the team should be shown when user types @ - - A team is set to be group-synced - - Only the group mentions which are in the team should be shown when user types @ - - A team is set to be non group-synced - - All the group mentions which are enabled in the system should be shown when user types @ - - A channel is set to be group-synced - - Only the group mentions which are in the channels should be shown when user types @ - - A channel is set to be non group-synced - - All the group mentions which are enabled in the system should be shown when user types @ **Expected** @@ -111,43 +92,24 @@ NOTE: The testing above repeats all of this but with a user observing on a brows 3\. Perform the following activities on Browser1 as sysadmin and check if the group mention is updated immediately on the mobile app without requiring the user to reload the page. - A group mention is enabled - - User should see the group mention in Autocomplete dropdown list when user types @ - - A group mention is disabled - - User should not see the group mention in Autocomplete dropdown list when user types @ - - A group mention is unlinked - - User should not see the group mention in Autocomplete dropdown list when user types @ - - A group mention name changes - - User should see the updated group mention name in Autocomplete dropdown list when user types @ - - A group is added to a Team which is LDAP Group Synced - - Only the group mentions which are in the team should be shown when user types @ - - A group is removed from a Team which is LDAP Group Synced - - Only the group mentions which are in the team should be shown when user types @ - - A team is set to be group-synced - - Only the group mentions which are in the team should be shown when user types @ - - A team is set to be non group-synced - - All the group mentions which are enabled in the system should be shown when user types @ - - A channel is set to be group-synced - - Only the group mentions which are in the channels should be shown when user types @ - - A channel is set to be non group-synced - - All the group mentions which are enabled in the system should be shown when user types @ **Expected** diff --git a/data/test-cases/suite/guest-accounts/guest-identification/MM-T1381.md b/data/test-cases/suite/guest-accounts/guest-identification/MM-T1381.md index 8dcb2fdb5..0d66a4e5d 100644 --- a/data/test-cases/suite/guest-accounts/guest-identification/MM-T1381.md +++ b/data/test-cases/suite/guest-accounts/guest-identification/MM-T1381.md @@ -35,7 +35,7 @@ key: MM-T1381 created_on: "2020-01-30T23:27:09Z" last_updated: "2022-09-09T17:58:37Z" case_hashed: 1009afdd489d4248d1a3ebe638e32df5168b86b2f2650bdb500403c16ce59392b1fe6474dffe9baa246fb358f1775016 -steps_hashed: 5647c3903ae83f9a479364da4fec36358f93fcf77613542564576e2466eb7594e1f2d5215bf6fa7bc8ddec2f7039b352 +steps_hashed: 595f04685d5cbe0df94033632a9dff51e052c4e6b24045f2c611ecbbfbe70fe9443aeccc182050c099289006861acde8 --- @@ -58,5 +58,4 @@ Members modal - specifies guest users as "Channel Guest" for system admin and me **Expected** - After 3 and 5: - - Guest user should be labelled as "Channel Guest" in Manage Members dialog diff --git a/data/test-cases/suite/notifications/MM-T560.md b/data/test-cases/suite/notifications/MM-T560.md index 8dad3dbf7..87d150c9e 100644 --- a/data/test-cases/suite/notifications/MM-T560.md +++ b/data/test-cases/suite/notifications/MM-T560.md @@ -37,7 +37,7 @@ key: MM-T560 created_on: "2020-01-03T19:25:58Z" last_updated: "" case_hashed: becd8ab7572a558b43e30de25181d69741422f12769baaff18e146de61368ebce9c3bf67679486b8ad54f443c0e24b6c -steps_hashed: 4cc5e50e3fc05ba7f7b0eaa798885aec772e9ec452b9a22a23838fe0dc2ff5b4821d16795857415949ebb623c433bd51 +steps_hashed: 6e9e206e4d1c79d120704d166c5233f82a3247ad16a473b750bbd46eba01162f656837245033959410900196445df424 --- @@ -70,14 +70,10 @@ _Important notes about this step:_ - At step 1: Favicon shows default without dot when there is no mention or unread - - -- At step 3: Favicon shows with blue dot when there are only unreads, without mention -- At step 4: Browser tab displays: (1) \[channel name] - \[team name] Mattermost.\ +* At step 3: Favicon shows with blue dot when there are only unreads, without mention +* At step 4: Browser tab displays: (1) \[channel name] - \[team name] Mattermost.\ Favicon shows red dot when there are mentions. - - - Team sidebar: Small dot left of team B icon in team sidebar, and a mention badge in top right corner of the badge with number "1"\ \ \*Not supported in Safari diff --git a/data/test-cases/suite/notifications/toast/MM-T4423.md b/data/test-cases/suite/notifications/toast/MM-T4423.md index 94d725880..1f00e59a0 100644 --- a/data/test-cases/suite/notifications/toast/MM-T4423.md +++ b/data/test-cases/suite/notifications/toast/MM-T4423.md @@ -31,7 +31,7 @@ key: MM-T4423 created_on: "2021-11-29T17:09:30Z" last_updated: "" case_hashed: 61bbaec469c9c4610695e09bf353fe3fa4d52d53e9b1b9da2f5be482490aa6e1c3d3b87eb43fa6f7858e6eb37b839a7b -steps_hashed: f5394541d837f53497d1c94ea2fa5385e56da05f3bff0416fe255f3d08d0e59c137e45358b10277d49ec55a61860f9af +steps_hashed: 7430354773a9688da720eeef44e3e0bf18674bf477f4acd4eab5687b6d834d71772760285dc212cf79c26dea45776dc3 --- @@ -45,19 +45,12 @@ steps_hashed: f5394541d837f53497d1c94ea2fa5385e56da05f3bff0416fe255f3d08d0e59c13 _New Replies toast_ 1. Start a long thread, add enough posts so it is scrollable - 2. Scroll up to the thread root, first post - 3. As a different user reply to the same thread - 1. As the first user, verify New Replies toast is visible - 4. Click on the New Replies toast - 1. Verify thread scrolls to bottom, new message line should be visible - 5. As a different user post to the same thread again - 1. As first user verify no toast for new replies **Test Data** diff --git a/data/test-cases/suite/system-console/compliance/custom-terms-of-service/MM-T1190.md b/data/test-cases/suite/system-console/compliance/custom-terms-of-service/MM-T1190.md index 5c6c32c84..c456e5c6c 100644 --- a/data/test-cases/suite/system-console/compliance/custom-terms-of-service/MM-T1190.md +++ b/data/test-cases/suite/system-console/compliance/custom-terms-of-service/MM-T1190.md @@ -36,7 +36,7 @@ key: MM-T1190 created_on: "2020-01-22T19:26:32Z" last_updated: "" case_hashed: efca6374020560f9e3a7fd6104a375093c28e92eeb220071c930515c0b75077ba54e5d806495947263367f2ce0d036a6 -steps_hashed: 4db4cbd93c6b0709497801ec2d663795259e1c96aee212b94059ce60e4ff6294254f0ef9e16d91607267d12e3355ca77 +steps_hashed: 70d8c6493c4049cda06adf82fc9b1fed7d3374805f7ceff32b4a757e5c6b0af06ababba3a18557b210bc903eb3b77105 --- @@ -54,19 +54,12 @@ Custom Terms of Service - Appears after creating new account and verifying email - Ensure custom TOS is enabled and has text 1. Have an existing user who has already agreed to TOS copy team invite link, then log out - 2. Paste the team invite into the URL bar of the browser tab and hit "Enter" - 3. Complete sign-up (new account, not existing) - 4. Click the button in the email you receive to verify the email address - 5. Log in as that new user - 1. Verify user is presented with the Terms of Service page - 6. Click "I Agree" - 1. Verify user is directed to the team (probably with tutorial displaying) **Expected** diff --git a/data/test-cases/suite/system-console/site-configuration/posts/MM-T4086.md b/data/test-cases/suite/system-console/site-configuration/posts/MM-T4086.md index c609800a9..3866b0d21 100644 --- a/data/test-cases/suite/system-console/site-configuration/posts/MM-T4086.md +++ b/data/test-cases/suite/system-console/site-configuration/posts/MM-T4086.md @@ -33,7 +33,7 @@ key: MM-T4086 created_on: "2021-06-02T16:52:39Z" last_updated: "" case_hashed: 0d30f05223ec6464596dd29e3ab2b3589aca3bdc149131e1db483c2014f2c01332bd7ec66617ac1be61d4469199671a3 -steps_hashed: 5a710f6b9929188f4fa5347e22774ff843f8ecc9db1f18c253311891cda51d2fa47c79d8c85b62a95764042074934af1 +steps_hashed: d830d1bab30a661b1301374e06e694991ee5759619f1cd956fe1b23fb2b6b51a85f61f567503842ae90faa85f9f2455f --- @@ -48,22 +48,14 @@ Disable Link Previews from certain domains\ \--------------------------------------------\\ 1. Set "Enable Link Previews" to "true" - 2. In the next field "Disable link previews from these domains:" enter a domain you are trying to block\ e.g. youtube.com you can add multiple domains separated by comma - 3. Save - 4. Return to a team - 5. Ensure Account Settings>Display>WebsiteLink Previews is set to ON - 6. In any channel, post a link from youtube or any other domain you added to blocked list in step 2. - 1. Verify link posts, but preview is not available  - 7. Post a link from any other, non-blocked domain e.g. github.com - 1. Verify posted link shows preview as expected. **Expected** diff --git a/data/test-cases/suite/work-templates/MM-T5380.md b/data/test-cases/suite/work-templates/MM-T5380.md index a1e783f74..73c0f547d 100644 --- a/data/test-cases/suite/work-templates/MM-T5380.md +++ b/data/test-cases/suite/work-templates/MM-T5380.md @@ -30,7 +30,7 @@ key: MM-T5380 created_on: "2023-01-31T06:33:32Z" last_updated: "2023-01-31T12:03:31Z" case_hashed: 51bf123b464299c8503c3b8f9a2d22ddc74377b3d0971365fbef0d8b85d250381a1c48bd52bb51f1f370bea28c3a79f7 -steps_hashed: fafd43271408a69071a4c4b92f229d02aa5a9652ec73bef4e0fe899272478d49697529999d8e061cd251791ed6d49cac +steps_hashed: 37b75b50344c4242414f1a0a5a6ed4c51e78a404105ad0c7c3dd98ee3aab4a3b37abf42330d7cb2523f0829c4d1a40ec --- @@ -56,6 +56,7 @@ steps_hashed: fafd43271408a69071a4c4b92f229d02aa5a9652ec73bef4e0fe899272478d4969 6. Observe that in the template, more information is revealed and the cursor changes to a hand to allow you to select it for use - The modal changes to reveal a preview of what is contained in that template + - The Channels section at the top is already expanded and a screenshot example of what it will look like is on the right **Note:** Only Channels are included in every template diff --git a/deno.jsonc b/deno.jsonc index c1c38cb6f..4d548438a 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -13,14 +13,10 @@ "save": "deno run --allow-run --allow-read=. --allow-write=. --allow-env --allow-net src/save.ts", "sync": "deno task get-components && deno task get-environments && deno task get-priorities && deno task get-statuses && deno task get-folders && deno task get-test-cases && deno task validate-all && deno task get-manifests && deno lint", "check": "deno fmt && deno lint", - "index-test-cases": "deno run --allow-net --allow-env --allow-read src/index_test_cases.ts", - "silverbullet": "deno run -A --unstable https://get.silverbullet.md -p 3333 data", - "esm:add": "deno run -A https://esm.sh/v106 add", - "esm:update": "deno run -A https://esm.sh/v106 update", - "esm:remove": "deno run -A https://esm.sh/v106 remove" + "index-test-cases": "deno run --allow-net --allow-sys --allow-env --allow-read src/index_test_cases.ts", + "silverbullet": "deno run -A --unstable https://get.silverbullet.md -p 3333 data" }, "compilerOptions": { - "allowJs": false, "strict": true }, "lint": { @@ -46,5 +42,22 @@ "indentWidth": 2, "singleQuote": true, "proseWrap": "preserve" + }, + "imports": { + "@std/collections": "jsr:@std/collections@1.0.8", + "@std/crypto": "jsr:@std/crypto@1.0.3", + "@std/datetime": "jsr:@std/datetime@0.225.2", + "@std/dotenv": "jsr:@std/dotenv@0.225.2", + "@std/fmt": "jsr:@std/fmt@1.0.2", + "@std/fs": "jsr:@std/fs@1.0.4", + "npm:@elastic/elasticsearch": "npm:@elastic/elasticsearch@8.15.1", + "npm:gray-matter": "npm:gray-matter@4.0.3", + "npm:micromark": "npm:micromark@4.0.0", + "npm:micromark-extension-gfm": "npm:micromark-extension-gfm@3.0.0", + "npm:rehype-parse": "npm:rehype-parse@9.0.1", + "npm:rehype-remark": "npm:rehype-remark@10.0.0", + "npm:remark-gfm": "npm:remark-gfm@4.0.0", + "npm:remark-stringify": "npm:remark-stringify@11.0.0", + "npm:unified": "npm:unified@11.0.5" } } diff --git a/src/deps.ts b/src/deps.ts deleted file mode 100644 index 3d396862d..000000000 --- a/src/deps.ts +++ /dev/null @@ -1,28 +0,0 @@ -// When adding dependency, it is highly recommended to use [Deno standard library](https://deno.land/std). -// Otherwise, use a package available from [ESM](https://esm.sh/). - -export { debounce } from 'https://deno.land/std@0.201.0/async/debounce.ts'; -export { distinct } from 'https://deno.land/std@0.201.0/collections/distinct.ts'; -export { findSingle } from 'https://deno.land/std@0.201.0/collections/find_single.ts'; -export { sortBy } from 'https://deno.land/std@0.201.0/collections/sort_by.ts'; -export { crypto } from 'https://deno.land/std@0.201.0/crypto/mod.ts'; -export { format as formatDate } from 'https://deno.land/std@0.201.0/datetime/mod.ts'; -export { loadSync as dotEnvLoadSync } from 'https://deno.land/std@0.201.0/dotenv/mod.ts'; -export { ensureFileSync, walkSync } from 'https://deno.land/std@0.201.0/fs/mod.ts'; -export { green, red, yellow } from 'https://deno.land/std@0.201.0/fmt/colors.ts'; -export * as path from 'https://deno.land/std@0.201.0/path/mod.ts'; - -export { micromark } from 'https://esm.sh/v132/micromark@3.1.0'; -export { gfm, gfmHtml } from 'https://esm.sh/v132/micromark-extension-gfm@2.0.1'; -export { readSync, writeSync } from 'https://esm.sh/v132/to-vfile@7.2.4'; -export { unified } from 'https://esm.sh/v132/unified@10.1.2'; - -import rehypeParse from 'https://esm.sh/v132/rehype-parse@8.0.4'; -import rehypeRemark from 'https://esm.sh/v132/rehype-remark@9.1.2'; -import remarkGfm from 'https://esm.sh/v132/remark-gfm@3.0.1'; -import remarkStringify from 'https://esm.sh/v132/remark-stringify@10.0.2'; - -import grayMatter from 'https://esm.sh/v132/gray-matter@4.0.3'; -import { Client as esClient } from 'https://deno.land/x/elasticsearch@v7.16.5/mod.ts'; - -export { esClient, grayMatter, rehypeParse, rehypeRemark, remarkGfm, remarkStringify }; diff --git a/src/get_custom_fields.ts b/src/get_custom_fields.ts index 66e002da8..3791039c8 100644 --- a/src/get_custom_fields.ts +++ b/src/get_custom_fields.ts @@ -1,6 +1,7 @@ // deno run --allow-run --allow-read=. --allow-write=. --allow-env --allow-net src/get_custom_fields.ts -import { distinct } from './deps.ts'; +import { distinct } from '@std/collections'; + import { projectKey } from './util/constant.ts'; import { saveTestCaseCustomFieldsToFile } from './util/test_case.ts'; import { TestCaseCustomFields } from './util/types.ts'; diff --git a/src/get_folders.ts b/src/get_folders.ts index bacdc3105..a1096f319 100644 --- a/src/get_folders.ts +++ b/src/get_folders.ts @@ -1,6 +1,6 @@ // deno run --allow-run --allow-read=. --allow-write=. --allow-env --allow-net src/get_folders.ts -import { findSingle, sortBy } from './deps.ts'; +import { findSingle, sortBy } from '@std/collections'; import { dataFolderPath, projectKey } from './util/constant.ts'; import { writeFile } from './util/file.ts'; import { Folder } from './util/types.ts'; diff --git a/src/get_manifests.ts b/src/get_manifests.ts index 4fe88187a..8f4b81eb8 100644 --- a/src/get_manifests.ts +++ b/src/get_manifests.ts @@ -1,7 +1,7 @@ // deno run --allow-run --allow-read=. --allow-write=. --allow-env src/get_manifests.ts -import { sortBy } from 'https://deno.land/std@0.154.0/collections/sort_by.ts'; -import { findSingle, walkSync } from './deps.ts'; +import { findSingle, sortBy } from '@std/collections'; +import { walkSync } from '@std/fs'; import { dataFolderPath, testCasesFolderFullPath } from './util/constant.ts'; import { readFile, writeFile } from './util/file.ts'; diff --git a/src/get_test_cases.ts b/src/get_test_cases.ts index 45d016a44..ee66add92 100644 --- a/src/get_test_cases.ts +++ b/src/get_test_cases.ts @@ -1,6 +1,6 @@ // deno run --allow-run --allow-read=. --allow-write=. --allow-env --allow-net src/get_test_cases.ts +import { findSingle, sortBy } from '@std/collections'; -import { findSingle, sortBy } from './deps.ts'; import { dataFolderPath, projectKey, diff --git a/src/index_test_cases.ts b/src/index_test_cases.ts index 2c44c9327..595d71994 100644 --- a/src/index_test_cases.ts +++ b/src/index_test_cases.ts @@ -1,7 +1,8 @@ -import { esClient } from './deps.ts'; +import { Client as esClient } from 'npm:@elastic/elasticsearch'; +import grayMatter from 'npm:gray-matter'; + import { getFiles } from './util/helper.ts'; import { testCasesFolderFullPath } from './util/constant.ts'; -import { grayMatter } from './deps.ts'; const INDEX_NAME = 'test-cases'; @@ -27,12 +28,14 @@ const testCases = getFiles(testCasesFolderFullPath, 'md'); for (const tc of testCases) { const { content, data } = grayMatter.read(tc); - await client.documents.index({ - target: INDEX_NAME, - _id: data.id, - body: { + delete data.last_updated; + + await client.index({ + index: INDEX_NAME, + id: data.id, + document: { content, - ...data, + ...Object.fromEntries(Object.entries(data).filter(([_, v]) => v != null || v !== '')), }, }); } diff --git a/src/save.ts b/src/save.ts index e87147730..9908e7448 100644 --- a/src/save.ts +++ b/src/save.ts @@ -1,6 +1,7 @@ // deno run --allow-run --allow-read=. --allow-write=. --allow-env --allow-net src/save.ts -import { findSingle, green, red, yellow } from './deps.ts'; +import { findSingle } from '@std/collections'; +import { green, red, yellow } from '@std/fmt/colors'; import { projectKey } from './util/constant.ts'; import { getFolderFullPath } from './util/helper.ts'; diff --git a/src/util/file.ts b/src/util/file.ts index 4f4a0859f..90b24b0e1 100644 --- a/src/util/file.ts +++ b/src/util/file.ts @@ -1,4 +1,4 @@ -import { ensureFileSync } from '../deps.ts'; +import { ensureFileSync } from '@std/fs'; export function writeFile(path: string, data: string): string { try { diff --git a/src/util/helper.ts b/src/util/helper.ts index f23ff8411..1d9aeaf9e 100644 --- a/src/util/helper.ts +++ b/src/util/helper.ts @@ -1,4 +1,6 @@ -import { crypto, findSingle, walkSync } from '../deps.ts'; +import { findSingle } from '@std/collections'; +import { crypto } from '@std/crypto'; +import { walkSync } from '@std/fs'; import { testCasesFolderFullPath } from './constant.ts'; import { Folder, TestCase, TestStep } from './types.ts'; diff --git a/src/util/jira.ts b/src/util/jira.ts index 32ca24855..f1927ae39 100644 --- a/src/util/jira.ts +++ b/src/util/jira.ts @@ -1,4 +1,4 @@ -import { dotEnvLoadSync } from '../deps.ts'; +import { loadSync as dotEnvLoadSync } from '@std/dotenv'; import { Component } from './types.ts'; diff --git a/src/util/markdown.ts b/src/util/markdown.ts index 166c352e9..889d62f3f 100644 --- a/src/util/markdown.ts +++ b/src/util/markdown.ts @@ -1,15 +1,12 @@ -import { - findSingle, - gfm, - gfmHtml, - grayMatter, - micromark, - rehypeParse, - rehypeRemark, - remarkGfm, - remarkStringify, - unified, -} from '../deps.ts'; +import { findSingle } from '@std/collections'; +import grayMatter from 'npm:gray-matter'; +import { micromark } from 'npm:micromark'; +import { gfm, gfmHtml } from 'npm:micromark-extension-gfm'; +import rehypeParse from 'npm:rehype-parse'; +import rehypeRemark from 'npm:rehype-remark'; +import remarkGfm from 'npm:remark-gfm'; +import remarkStringify from 'npm:remark-stringify'; +import { unified } from 'npm:unified'; import { separator, testCasesFolderFullPath, tmpDataFolderPath } from './constant.ts'; import { readFile } from './file.ts'; diff --git a/src/util/test_case.ts b/src/util/test_case.ts index 600e4cc89..6a385d154 100644 --- a/src/util/test_case.ts +++ b/src/util/test_case.ts @@ -1,4 +1,7 @@ -import { findSingle, formatDate, red } from '../deps.ts'; +import { findSingle } from '@std/collections'; +import { format as formatDate } from '@std/datetime'; +import { red } from '@std/fmt/colors'; + import { changeRequired, dataFolderPath, datetimeFormat } from './constant.ts'; import { writeFile } from './file.ts'; import { htmlToMarkdown, markdownToHtml } from './markdown.ts'; diff --git a/src/util/validate.ts b/src/util/validate.ts index 51c110c72..6adbd0acd 100644 --- a/src/util/validate.ts +++ b/src/util/validate.ts @@ -1,4 +1,5 @@ -import { findSingle, green, red, sortBy, yellow } from '../deps.ts'; +import { findSingle, sortBy } from '@std/collections'; +import { green, red, yellow } from '@std/fmt/colors'; import { dataFolderPath, testCasesFolderFullPath } from './constant.ts'; import { readFile, writeFile } from './file.ts'; diff --git a/src/util/zephyr.ts b/src/util/zephyr.ts index aae3c4496..9abf37356 100644 --- a/src/util/zephyr.ts +++ b/src/util/zephyr.ts @@ -1,4 +1,6 @@ -import { dotEnvLoadSync, formatDate, sortBy } from '../deps.ts'; +import { sortBy } from '@std/collections'; +import { format as formatDate } from '@std/datetime'; +import { loadSync as dotEnvLoadSync } from '@std/dotenv'; import { datetimeFormat, projectId, projectKey, waitTime } from './constant.ts'; import { getParentFolderById, sliceIntoChunks, wait } from './helper.ts'; diff --git a/www/islands/GoToTestCase.tsx b/www/islands/GoToTestCase.tsx index 79b6ee6b5..0b1be4521 100644 --- a/www/islands/GoToTestCase.tsx +++ b/www/islands/GoToTestCase.tsx @@ -11,7 +11,7 @@ export default function GoToTestCase() { const handleSubmit = (e: Event) => { e.preventDefault(); - window.location.href = `/test-case/${value}`; + globalThis.location.href = `/test-case/${value}`; }; return (