Skip to content

Commit

Permalink
Feat: Add test case for Copying contents of scheduled message (#193)
Browse files Browse the repository at this point in the history
* Feat: Add test case for Copying contents of scheduled message
  • Loading branch information
yasserfaraazkhan authored Nov 13, 2024
1 parent 31aeadd commit 2401ed3
Show file tree
Hide file tree
Showing 135 changed files with 490 additions and 331 deletions.
52 changes: 24 additions & 28 deletions data/environments.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"name": "Browser in mobile view (narrow)",
"description": "Use Developer mode on a desktop web browser to simulate a mobile sized view"
},
{ "id": 460076, "name": "Chrome", "description": null },
{ "id": 460076, "name": "Chrome", "description": "" },
{ "id": 460078, "name": "Desktop app", "description": "Mac or Windows Mattermost desktop app" },
{ "id": 460079, "name": "Firefox", "description": null },
{ "id": 460079, "name": "Firefox", "description": "" },
{
"id": 460080,
"name": "Firefox (in compact mode)",
Expand All @@ -38,9 +38,9 @@
"name": "Chrome (dark theme)",
"description": "Main menu → Account Settings → Display, select Mattermost Dark"
},
{ "id": 589377, "name": "Browser or Desktop app", "description": null },
{ "id": 590616, "name": "Safari", "description": null },
{ "id": 647401, "name": "Edge (on Windows)", "description": null },
{ "id": 589377, "name": "Browser or Desktop app", "description": "" },
{ "id": 590616, "name": "Safari", "description": "" },
{ "id": 647401, "name": "Edge (on Windows)", "description": "" },
{
"id": 804406,
"name": "Windows 10",
Expand All @@ -56,9 +56,9 @@
"name": "Linux",
"description": "Mostly used for Desktop app tests but also occasionally used for specific OS tests"
},
{ "id": 804798, "name": "Catalina", "description": null },
{ "id": 804970, "name": "macOS Mojave", "description": null },
{ "id": 804971, "name": "Windows 7", "description": null },
{ "id": 804798, "name": "Catalina", "description": "" },
{ "id": 804970, "name": "macOS Mojave", "description": "" },
{ "id": 804971, "name": "Windows 7", "description": "" },
{ "id": 815005, "name": "iPadOS", "description": "Like an iPhone… only bigger" },
{
"id": 1014337,
Expand Down Expand Up @@ -228,8 +228,8 @@
"name": "v1.43 May 2021 — 📱 Mobile app",
"description": "Manual tests for v1.43 (May 2021) release"
},
{ "id": 1209354, "name": "v5.34 April 2021 — Browser or Desktop app", "description": null },
{ "id": 1209355, "name": "v5.35 May 2021 — Browser or Desktop app", "description": null },
{ "id": 1209354, "name": "v5.34 April 2021 — Browser or Desktop app", "description": "" },
{ "id": 1209355, "name": "v5.35 May 2021 — Browser or Desktop app", "description": "" },
{
"id": 1223106,
"name": "🚢 Portal (May 20)",
Expand All @@ -251,15 +251,11 @@
"description": "(deprecated) Production Cypress test for Chrome browser against release with E20 license"
},
{ "id": 1253678, "name": "ESR", "description": "esr.test.mattermost.com" },
{ "id": 1253732, "name": "v1.44 June 2021 — 📱 Mobile app", "description": null },
{
"id": 1253733,
"name": "v1.44 June 2021 — 📱 Mobile app (🤖 Android ONLY)",
"description": null
},
{ "id": 1253734, "name": "v1.44 June 2021 — 📱 Mobile app (🍎 iOS ONLY)", "description": null },
{ "id": 1265361, "name": "🚢 Portal (June 17) v2.10.3", "description": null },
{ "id": 1394738, "name": "🚢 Portal v2.11.0 (15 July, 2021)", "description": null },
{ "id": 1253732, "name": "v1.44 June 2021 — 📱 Mobile app", "description": "" },
{ "id": 1253733, "name": "v1.44 June 2021 — 📱 Mobile app (🤖 Android ONLY)", "description": "" },
{ "id": 1253734, "name": "v1.44 June 2021 — 📱 Mobile app (🍎 iOS ONLY)", "description": "" },
{ "id": 1265361, "name": "🚢 Portal (June 17) v2.10.3", "description": "" },
{ "id": 1394738, "name": "🚢 Portal v2.11.0 (15 July, 2021)", "description": "" },
{
"id": 1430736,
"name": "🚢 Portal v2.12.0 (August 5, 2021)",
Expand All @@ -270,18 +266,18 @@
"name": "🚢 Portal v2.13.0 (August 24, 2021)",
"description": "Fix for admins to generate licenses lower than 10 seats MM-36546"
},
{ "id": 1488235, "name": "☁️ Cloud (September 30)", "description": null },
{ "id": 1488235, "name": "☁️ Cloud (September 30)", "description": "" },
{ "id": 1533194, "name": "🚢 Portal (September 16)", "description": "v2.13.2" },
{ "id": 1570161, "name": "🚢 Portal v2.14.0 (September 29, 2021)", "description": null },
{ "id": 1599787, "name": "🚢 Portal v2.15.0 (October 12, 2021)", "description": null },
{ "id": 1570161, "name": "🚢 Portal v2.14.0 (September 29, 2021)", "description": "" },
{ "id": 1599787, "name": "🚢 Portal v2.15.0 (October 12, 2021)", "description": "" },
{
"id": 1614710,
"name": "🚢 Portal v2.15.1 (October 19, 2021)",
"description": "Remove Enterprise pricing and self-serve option for on-prem and cloud purchases MM-39294"
},
{ "id": 1644901, "name": "🚢 Portal v2.16.0 (October 28, 2021)", "description": "" },
{ "id": 1650388, "name": "☁️ Cloud (November 10)", "description": null },
{ "id": 1650389, "name": "☁️ Cloud (November 24)", "description": null },
{ "id": 1650388, "name": "☁️ Cloud (November 10)", "description": "" },
{ "id": 1650389, "name": "☁️ Cloud (November 24)", "description": "" },
{
"id": 1663385,
"name": "🚢 Portal v2.16.1 (November 2021)",
Expand Down Expand Up @@ -355,7 +351,7 @@
"name": "🚢 Portal v2.21.3 March 3, 2022",
"description": "MM-42124, MM-41760, MM-42001, MM-41583 & MM-41566"
},
{ "id": 1936973, "name": "🚢 Portal v2.21.4 March 10, 2022", "description": null },
{ "id": 1936973, "name": "🚢 Portal v2.21.4 March 10, 2022", "description": "" },
{
"id": 1995132,
"name": "🚢 Portal v2.22.0 March 24, 2022",
Expand All @@ -382,9 +378,9 @@
"description": "MM-42579, MM-43755, MM-42950, MM-43952, MM-44677 & MM-43445"
},
{ "id": 2412864, "name": "🚢 Portal v2.26 (29 June 2022)", "description": "MM-44335 & MM-44350" },
{ "id": 2484553, "name": "🚢 Portal v2.26.1", "description": null },
{ "id": 2524911, "name": "🚢 Portal v2.26.2 (21 July 2022)", "description": null },
{ "id": 2545127, "name": "🚢 Portal v2.26.3 (27 July 2022)", "description": null },
{ "id": 2484553, "name": "🚢 Portal v2.26.1", "description": "" },
{ "id": 2524911, "name": "🚢 Portal v2.26.2 (21 July 2022)", "description": "" },
{ "id": 2545127, "name": "🚢 Portal v2.26.3 (27 July 2022)", "description": "" },
{ "id": 2634804, "name": "🚢 Portal v2.27.0 (15 August 2022)", "description": "" },
{ "id": 2669600, "name": "Cloud 8/25/22 -> v7.3", "description": "" },
{ "id": 2694450, "name": "Cloud 9/01/22 -> v7.3", "description": "" },
Expand Down
2 changes: 1 addition & 1 deletion data/folder-by-parent.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"Multi-Team and DMs",
"Permalink Preview",
"Profile Settings",
"Schedule Messages",
"Scheduled Messages",
"Scroll",
"Search",
"Search Date Filter",
Expand Down
6 changes: 3 additions & 3 deletions data/folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -691,11 +691,11 @@
{
"id": 18534840,
"parentId": 3142963,
"name": "Schedule Messages",
"name": "Scheduled Messages",
"index": 36,
"folderType": "TEST_CASE",
"fullNames": ["Channels", "Schedule Messages"],
"fullPath": "channels/schedule-messages"
"fullNames": ["Channels", "Scheduled Messages"],
"fullPath": "channels/scheduled-messages"
},
{
"id": 404333,
Expand Down
17 changes: 10 additions & 7 deletions data/key-and-path.json
Original file line number Diff line number Diff line change
Expand Up @@ -6312,11 +6312,14 @@
{ "key": "MM-T5640", "path": "desktop-app--native-specific-/landing-page", "id": 193404883 },
{ "key": "MM-T5641", "path": "notifications-banner", "id": 195498645 },
{ "key": "MM-T5642", "path": "notifications-banner", "id": 195498646 },
{ "key": "MM-T5643", "path": "channels/schedule-messages", "id": 195718903 },
{ "key": "MM-T5644", "path": "channels/schedule-messages", "id": 195718908 },
{ "key": "MM-T5645", "path": "channels/schedule-messages", "id": 195718911 },
{ "key": "MM-T5646", "path": "channels/schedule-messages", "id": 195718912 },
{ "key": "MM-T5647", "path": "channels/schedule-messages", "id": 195718913 },
{ "key": "MM-T5648", "path": "channels/schedule-messages", "id": 195718918 },
{ "key": "MM-T5649", "path": "channels/schedule-messages", "id": 195718920 }
{ "key": "MM-T5643", "path": "channels/scheduled-messages", "id": 195718903 },
{ "key": "MM-T5644", "path": "channels/scheduled-messages", "id": 195718908 },
{ "key": "MM-T5645", "path": "channels/scheduled-messages", "id": 195718911 },
{ "key": "MM-T5646", "path": "channels/scheduled-messages", "id": 195718912 },
{ "key": "MM-T5647", "path": "channels/scheduled-messages", "id": 195718913 },
{ "key": "MM-T5648", "path": "channels/scheduled-messages", "id": 195718918 },
{ "key": "MM-T5649", "path": "channels/scheduled-messages", "id": 195718920 },
{ "key": "MM-T5650", "path": "channels/scheduled-messages", "id": 202241821 },
{ "key": "MM-T5651", "path": "channels/scheduled-messages", "id": 202241822 },
{ "key": "MM-T5652", "path": "channels/scheduled-messages", "id": 202241823 }
]
5 changes: 4 additions & 1 deletion data/test-by-folder.json
Original file line number Diff line number Diff line change
Expand Up @@ -1597,14 +1597,17 @@
]
},
{
"folder": "channels/schedule-messages",
"folder": "channels/scheduled-messages",
"tests": [
"Verify User can Copy scheduled message contents",
"Verify User can Delete a scheduled message in DM/GM/Channel",
"Verify User can Edit a scheduled message in DM/GM/Channel",
"Verify User can create a scheduled message from the Drafts Page",
"Verify User can create a scheduled message in DM/GM/Channel",
"Verify User can identify the cases for failed scheduled message",
"Verify User can remove scheduled setting from a scheduled message",
"Verify User can see most recent time used in the Send button dropdown option",
"Verify User schedule a message in a shared channel",
"Verify if the Failed scheduled message is sent out after server recovered from an outage issue"
]
},
Expand Down
2 changes: 1 addition & 1 deletion data/test-cases-folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"channels/multi-team-and-dms": "Multi-Team and DMs",
"channels/permalink-preview": "Permalink Preview",
"channels/profile-settings": "Profile Settings",
"channels/schedule-messages": "Schedule Messages",
"channels/scheduled-messages": "Scheduled Messages",
"channels/scroll": "Scroll",
"channels/search": "Search",
"channels/search-date-filter": "Search Date Filter",
Expand Down
28 changes: 20 additions & 8 deletions data/test-cases-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4836,35 +4836,47 @@
]
},
{
"name": "Schedule Messages",
"name": "Scheduled Messages",
"routes": [
{
"name": "Verify User can create a scheduled message in DM/GM/Channel",
"file": "channels/schedule-messages/MM-T5643.md"
"file": "channels/scheduled-messages/MM-T5643.md"
},
{
"name": "Verify User can Edit a scheduled message in DM/GM/Channel",
"file": "channels/schedule-messages/MM-T5644.md"
"file": "channels/scheduled-messages/MM-T5644.md"
},
{
"name": "Verify User can Delete a scheduled message in DM/GM/Channel",
"file": "channels/schedule-messages/MM-T5645.md"
"file": "channels/scheduled-messages/MM-T5645.md"
},
{
"name": "Verify User can identify the cases for failed scheduled message",
"file": "channels/schedule-messages/MM-T5646.md"
"file": "channels/scheduled-messages/MM-T5646.md"
},
{
"name": "Verify if the Failed scheduled message is sent out after server recovered from an outage issue",
"file": "channels/schedule-messages/MM-T5647.md"
"file": "channels/scheduled-messages/MM-T5647.md"
},
{
"name": "Verify User can create a scheduled message from the Drafts Page",
"file": "channels/schedule-messages/MM-T5648.md"
"file": "channels/scheduled-messages/MM-T5648.md"
},
{
"name": "Verify User can remove scheduled setting from a scheduled message",
"file": "channels/schedule-messages/MM-T5649.md"
"file": "channels/scheduled-messages/MM-T5649.md"
},
{
"name": "Verify User can Copy scheduled message contents",
"file": "channels/scheduled-messages/MM-T5650.md"
},
{
"name": "Verify User can see most recent time used in the Send button dropdown option",
"file": "channels/scheduled-messages/MM-T5651.md"
},
{
"name": "Verify User schedule a message in a shared channel",
"file": "channels/scheduled-messages/MM-T5652.md"
}
]
},
Expand Down
17 changes: 10 additions & 7 deletions data/test-cases-slugs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1305,13 +1305,16 @@
"channels/profile-settings/mm-t4656",
"channels/profile-settings/mm-t4914",
"channels/profile-settings/mm-t711",
"channels/schedule-messages/mm-t5643",
"channels/schedule-messages/mm-t5644",
"channels/schedule-messages/mm-t5645",
"channels/schedule-messages/mm-t5646",
"channels/schedule-messages/mm-t5647",
"channels/schedule-messages/mm-t5648",
"channels/schedule-messages/mm-t5649",
"channels/scheduled-messages/mm-t5643",
"channels/scheduled-messages/mm-t5644",
"channels/scheduled-messages/mm-t5645",
"channels/scheduled-messages/mm-t5646",
"channels/scheduled-messages/mm-t5647",
"channels/scheduled-messages/mm-t5648",
"channels/scheduled-messages/mm-t5649",
"channels/scheduled-messages/mm-t5650",
"channels/scheduled-messages/mm-t5651",
"channels/scheduled-messages/mm-t5652",
"channels/scroll/mm-t2365",
"channels/scroll/mm-t2366",
"channels/scroll/mm-t2367",
Expand Down
68 changes: 40 additions & 28 deletions data/test-cases-toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13888,34 +13888,6 @@
"name": "No Performance issues or channel locking",
"slug": "channels/scroll/mm-t2379"
},
"channels/schedule-messages/mm-t5648": {
"name": "Verify User can create a scheduled message from the Drafts Page",
"slug": "channels/schedule-messages/mm-t5648"
},
"channels/schedule-messages/mm-t5649": {
"name": "Verify User can remove scheduled setting from a scheduled message",
"slug": "channels/schedule-messages/mm-t5649"
},
"channels/schedule-messages/mm-t5646": {
"name": "Verify User can identify the cases for failed scheduled message",
"slug": "channels/schedule-messages/mm-t5646"
},
"channels/schedule-messages/mm-t5647": {
"name": "Verify if the Failed scheduled message is sent out after server recovered from an outage issue",
"slug": "channels/schedule-messages/mm-t5647"
},
"channels/schedule-messages/mm-t5643": {
"name": "Verify User can create a scheduled message in DM/GM/Channel",
"slug": "channels/schedule-messages/mm-t5643"
},
"channels/schedule-messages/mm-t5644": {
"name": "Verify User can Edit a scheduled message in DM/GM/Channel",
"slug": "channels/schedule-messages/mm-t5644"
},
"channels/schedule-messages/mm-t5645": {
"name": "Verify User can Delete a scheduled message in DM/GM/Channel",
"slug": "channels/schedule-messages/mm-t5645"
},
"channels/autocomplete/mm-t3393": {
"name": "RN apps: Autocomplete - Search",
"slug": "channels/autocomplete/mm-t3393"
Expand Down Expand Up @@ -16461,6 +16433,46 @@
"name": "RN apps: Edit channel name",
"slug": "channels/channel-info-rn-apps/mm-t2980"
},
"channels/scheduled-messages/mm-t5648": {
"name": "Verify User can create a scheduled message from the Drafts Page",
"slug": "channels/scheduled-messages/mm-t5648"
},
"channels/scheduled-messages/mm-t5649": {
"name": "Verify User can remove scheduled setting from a scheduled message",
"slug": "channels/scheduled-messages/mm-t5649"
},
"channels/scheduled-messages/mm-t5652": {
"name": "Verify User schedule a message in a shared channel",
"slug": "channels/scheduled-messages/mm-t5652"
},
"channels/scheduled-messages/mm-t5646": {
"name": "Verify User can identify the cases for failed scheduled message",
"slug": "channels/scheduled-messages/mm-t5646"
},
"channels/scheduled-messages/mm-t5647": {
"name": "Verify if the Failed scheduled message is sent out after server recovered from an outage issue",
"slug": "channels/scheduled-messages/mm-t5647"
},
"channels/scheduled-messages/mm-t5643": {
"name": "Verify User can create a scheduled message in DM/GM/Channel",
"slug": "channels/scheduled-messages/mm-t5643"
},
"channels/scheduled-messages/mm-t5644": {
"name": "Verify User can Edit a scheduled message in DM/GM/Channel",
"slug": "channels/scheduled-messages/mm-t5644"
},
"channels/scheduled-messages/mm-t5650": {
"name": "Verify User can Copy scheduled message contents",
"slug": "channels/scheduled-messages/mm-t5650"
},
"channels/scheduled-messages/mm-t5651": {
"name": "Verify User can see most recent time used in the Send button dropdown option",
"slug": "channels/scheduled-messages/mm-t5651"
},
"channels/scheduled-messages/mm-t5645": {
"name": "Verify User can Delete a scheduled message in DM/GM/Channel",
"slug": "channels/scheduled-messages/mm-t5645"
},
"channels/message-priority/mm-t5142": {
"name": "Message Priority: Urgent message priority",
"slug": "channels/message-priority/mm-t5142"
Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/channel-settings/MM-T1808.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Channel Settings
component: null
tags: []
labels:
- channel-settings
- cy-prod
- channel-settings
tested_by_contributor: ""

# (Optional) Test type and tools
Expand All @@ -33,7 +33,7 @@ id: 5272228
key: MM-T1808
created_on: "2020-05-04T08:36:28Z"
last_updated: ""
case_hashed: 29e7a094c67d3995ca740db080ebbdeda8b5ee2925417c7fe376378e3641e151982028c1ec996ff536893addfc7d2bf7
case_hashed: 5924e48aac309cf3e8aae627ea3fde17027fa0d3f6ca85227f9942f64bbfda0f92071a69e4c832466f346de0e67d0db8
steps_hashed: 615f739d3d0d35f70368341799dfa0e09b5da3d3afcff2e0202aebdfdc0b83104a90a876f23919f78efbd1861b121533
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/channel-settings/MM-T887.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ location: Channel Settings
component: null
tags: []
labels:
- cy-prod
- rf-cloud-webapp
- channel-settings
- cy-prod
tested_by_contributor: ""

# (Optional) Test type and tools
Expand All @@ -36,7 +36,7 @@ id: 4035756
key: MM-T887
created_on: "2020-01-18T01:00:17Z"
last_updated: "2022-09-09T17:58:48Z"
case_hashed: c92ee2137a2b173cbb9b78b8f6a44f94179e48dbbe0021b8180f79b8094c9da3356a7f0fd3d4701cc36668690caa1b3d
case_hashed: 136cbb9f4792be8604c01c9aae5aec128c4aff39914f9ce330f3febda37144f0683b8f8b648d989cba7011a93b363e3f
steps_hashed: 44c5f163313c4dbf96770d4d2e8cb0413afb4eebed9cc8adb344cf9e64cbcd8e509d141639c8d6cc86f565332e527a88
---

Expand Down
Loading

0 comments on commit 2401ed3

Please sign in to comment.