Skip to content

Commit

Permalink
Feat: Mobile Drafts (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserfaraazkhan authored Oct 11, 2024
1 parent d726236 commit 1ac6c94
Show file tree
Hide file tree
Showing 60 changed files with 490 additions and 100 deletions.
1 change: 1 addition & 0 deletions data/folder-by-parent.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@
"Account",
"Autocomplete",
"Channels",
"Drafts",
"Invite People",
"Messaging",
"Search",
Expand Down
9 changes: 9 additions & 0 deletions data/folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -1494,6 +1494,15 @@
"fullNames": ["Mobile V2", "Channels"],
"fullPath": "mobile-v2/channels"
},
{
"id": 18209966,
"parentId": 2277496,
"name": "Drafts",
"index": 9,
"folderType": "TEST_CASE",
"fullNames": ["Mobile V2", "Drafts"],
"fullPath": "mobile-v2/drafts"
},
{
"id": 7132017,
"parentId": 2277496,
Expand Down
7 changes: 6 additions & 1 deletion data/key-and-path.json
Original file line number Diff line number Diff line change
Expand Up @@ -6303,5 +6303,10 @@
{ "key": "MM-T5631", "path": "notification-test-tool", "id": 190000136 },
{ "key": "MM-T5632", "path": "notification-test-tool", "id": 190000137 },
{ "key": "MM-T5633", "path": "notification-test-tool", "id": 190000138 },
{ "key": "MM-T5634", "path": "notification-test-tool", "id": 190000139 }
{ "key": "MM-T5634", "path": "notification-test-tool", "id": 190000139 },
{ "key": "MM-T5635", "path": "mobile-v2/drafts", "id": 191284129 },
{ "key": "MM-T5636", "path": "mobile-v2/drafts", "id": 191284130 },
{ "key": "MM-T5637", "path": "mobile-v2/drafts", "id": 191284131 },
{ "key": "MM-T5638", "path": "mobile-v2/drafts", "id": 191284132 },
{ "key": "MM-T5639", "path": "mobile-v2/drafts", "id": 191284133 }
]
12 changes: 11 additions & 1 deletion data/test-by-folder.json
Original file line number Diff line number Diff line change
Expand Up @@ -3182,7 +3182,7 @@
"Mobile V2: Channels - Channel Post List",
"Mobile V2: Channels - Convert to Private Channel",
"Mobile V2: Channels - Create Channel and Edit Channel Header",
"Mobile V2: Channels - Create Direct Message",
"Mobile V2: Channels - Create Direct Message DM and GM",
"Mobile V2: Channels - Edit Channel",
"Mobile V2: Channels - Favorite and Unfavorite Channel",
"Mobile V2: Channels - Find Channels",
Expand All @@ -3195,6 +3195,16 @@
"Verify opening GM notification after GM is converted to channel by other user"
]
},
{
"folder": "mobile-v2/drafts",
"tests": [
"Create drafts on mobile app",
"Delete drafts on mobile app",
"Edit Drafts on mobile app",
"Send Drafts on mobile app",
"The drafts created on mobile cannot be seen on Desktop app or when logged in Browser"
]
},
{
"folder": "mobile-v2/invite-people",
"tests": [
Expand Down
1 change: 1 addition & 0 deletions data/test-cases-folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
"mobile-v2/account": "Account",
"mobile-v2/autocomplete": "Autocomplete",
"mobile-v2/channels": "Channels",
"mobile-v2/drafts": "Drafts",
"mobile-v2/invite-people": "Invite People",
"mobile-v2/messaging": "Messaging",
"mobile-v2/search": "Search",
Expand Down
15 changes: 14 additions & 1 deletion data/test-cases-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8890,7 +8890,7 @@
"file": "mobile-v2/channels/MM-T4729.md"
},
{
"name": "Mobile V2: Channels - Create Direct Message",
"name": "Mobile V2: Channels - Create Direct Message DM and GM",
"file": "mobile-v2/channels/MM-T4730.md"
},
{
Expand Down Expand Up @@ -8959,6 +8959,19 @@
}
]
},
{
"name": "Drafts",
"routes": [
{ "name": "Create drafts on mobile app", "file": "mobile-v2/drafts/MM-T5635.md" },
{ "name": "Edit Drafts on mobile app", "file": "mobile-v2/drafts/MM-T5636.md" },
{
"name": "The drafts created on mobile cannot be seen on Desktop app or when logged in Browser",
"file": "mobile-v2/drafts/MM-T5637.md"
},
{ "name": "Delete drafts on mobile app", "file": "mobile-v2/drafts/MM-T5638.md" },
{ "name": "Send Drafts on mobile app", "file": "mobile-v2/drafts/MM-T5639.md" }
]
},
{
"name": "Invite People",
"routes": [
Expand Down
5 changes: 5 additions & 0 deletions data/test-cases-slugs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2537,6 +2537,11 @@
"mobile-v2/channels/mm-t5472",
"mobile-v2/channels/mm-t5473",
"mobile-v2/channels/mm-t5474",
"mobile-v2/drafts/mm-t5635",
"mobile-v2/drafts/mm-t5636",
"mobile-v2/drafts/mm-t5637",
"mobile-v2/drafts/mm-t5638",
"mobile-v2/drafts/mm-t5639",
"mobile-v2/invite-people/mm-t5360",
"mobile-v2/invite-people/mm-t5361",
"mobile-v2/invite-people/mm-t5362",
Expand Down
22 changes: 21 additions & 1 deletion data/test-cases-toc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4937,6 +4937,26 @@
"name": "Mobile V2: Autocomplete - Edit Channel Header",
"slug": "mobile-v2/autocomplete/mm-t4884"
},
"mobile-v2/drafts/mm-t5639": {
"name": "Send Drafts on mobile app",
"slug": "mobile-v2/drafts/mm-t5639"
},
"mobile-v2/drafts/mm-t5638": {
"name": "Delete drafts on mobile app",
"slug": "mobile-v2/drafts/mm-t5638"
},
"mobile-v2/drafts/mm-t5637": {
"name": "The drafts created on mobile cannot be seen on Desktop app or when logged in Browser",
"slug": "mobile-v2/drafts/mm-t5637"
},
"mobile-v2/drafts/mm-t5636": {
"name": "Edit Drafts on mobile app",
"slug": "mobile-v2/drafts/mm-t5636"
},
"mobile-v2/drafts/mm-t5635": {
"name": "Create drafts on mobile app",
"slug": "mobile-v2/drafts/mm-t5635"
},
"mobile-v2/smoke-test/mm-t4811": {
"name": "Mobile V2: Smoke Test - Threads",
"slug": "mobile-v2/smoke-test/mm-t4811"
Expand Down Expand Up @@ -5222,7 +5242,7 @@
"slug": "mobile-v2/channels/mm-t4906"
},
"mobile-v2/channels/mm-t4730": {
"name": "Mobile V2: Channels - Create Direct Message",
"name": "Mobile V2: Channels - Create Direct Message DM and GM",
"slug": "mobile-v2/channels/mm-t4730"
},
"mobile-v2/channels/mm-t4907": {
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:
- cy-prod
- channel-settings
- cy-prod
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: 5924e48aac309cf3e8aae627ea3fde17027fa0d3f6ca85227f9942f64bbfda0f92071a69e4c832466f346de0e67d0db8
case_hashed: 29e7a094c67d3995ca740db080ebbdeda8b5ee2925417c7fe376378e3641e151982028c1ec996ff536893addfc7d2bf7
steps_hashed: 615f739d3d0d35f70368341799dfa0e09b5da3d3afcff2e0202aebdfdc0b83104a90a876f23919f78efbd1861b121533
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/custom-emoji/MM-T2187.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ location: Messaging
component: null
tags: []
labels:
- cy-prod
- se-prod
- messaging
- cy-prod
tested_by_contributor: ""

# (Optional) Test type and tools
Expand All @@ -33,7 +33,7 @@ id: 5444787
key: MM-T2187
created_on: "2020-05-20T06:05:09Z"
last_updated: ""
case_hashed: 47182d44fc954c11733f21da542f198a8bca29e4eb85723ae9e349941a43e8f42ec612f50a6611d7b22dcbe0fae9e8b7
case_hashed: 902c7c922121142b106ee95533a5ec5ae3fcabb040540bf6549c35092f5bf238e752645db2283c4c8ab2d601a62673e7
steps_hashed: c0d72302db46abe62371d0f2eccb3d91db60a1e70362340794a7a77207d99372db2f67a84fbedd3cfa15f595ed7417ed
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/custom-emoji/MM-T2188.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ component: null
tags: []
labels:
- TM4J-Key-Mapped-In-Cypress-Release
- cy-prod
- se-prod
- messaging
- cy-prod
tested_by_contributor: ""

# (Optional) Test type and tools
Expand All @@ -34,7 +34,7 @@ id: 5444788
key: MM-T2188
created_on: "2020-05-20T06:05:10Z"
last_updated: "2022-09-09T17:54:53Z"
case_hashed: 907aa0f503f0f57728503ee0299e19d500ff442247b46c2180a4a8786ccfb880776c841cf1e60c0b3e35bea708c0335a
case_hashed: 2c4f609747fe282ad41eeb1f06a40009774baaece5a2916ed1fd247e0b7333c2c030e400bbe959251f3963b462dec231
steps_hashed: 6970d5ea7e3513ed17cac389c84a8b18a02e51ab4be4ce01e6b01aea65f871076f5c6fc7898ba48a0cfaa9223ecfa000
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/custom-statuses/web/MM-T3846.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Custom Statuses
component: Webapp
tags: []
labels:
- cy-prod
- 5.34-p1
- cy-prod
tested_by_contributor: ""

# (Optional) Test type and tools
Expand All @@ -33,7 +33,7 @@ id: 9110263
key: MM-T3846
created_on: "2021-02-19T12:08:35Z"
last_updated: "2022-09-10T06:14:33Z"
case_hashed: a3525acf5baa50aaac2755a296e94b5954a6ff24017bbf31d9a60e8d0133ac715668646a6e92503ac39927699c4bc8d0
case_hashed: c09141bf1577090265bd4c12488fdff9a142aa5f18a33cbec29d890ba21ee9a9d11ded9c74f3ac79d42fd9f3dd5bd213
steps_hashed: 7b842e64966c7ef128585885578e3a7f8f02a0c4a1d0669f792946215b88e9f52142d6331691ebf7480e1cc661f751ab
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/emoji-picker/MM-T2186.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ location: Messaging
component: null
tags: []
labels:
- cy-prod
- se-prod
- messaging
- cy-prod
tested_by_contributor: ""

# (Optional) Test type and tools
Expand All @@ -33,7 +33,7 @@ id: 5444786
key: MM-T2186
created_on: "2020-05-20T06:05:09Z"
last_updated: ""
case_hashed: e616f0f127942e8cb7be67d32fcd71e7a2341364b1f9dad18cd07f4f5bb163fa689f74aa3a552dab7215376fe7422b6f
case_hashed: 0d450de60fbeb3c1ccbcdb7379b5ea946375df86e05e59396e1892ae3677d91a894d25b90ed0afe0a58b26bf9037cc2a
steps_hashed: 9c3f15e259f9aea18c58c4935bd79fda90fc8ae34fba0e251a33d4b29a0c708fc60b0b2073a398a66eb3063b0cc79525
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/emoji-picker/MM-T2192.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Messaging
component: null
tags: []
labels:
- Duplicate-Automated-Tests
- TM4J-Key-Mapped-In-Cypress-Release
- Duplicate-Automated-Tests
- cy-prod
- se-prod
- messaging
Expand All @@ -35,7 +35,7 @@ id: 5444793
key: MM-T2192
created_on: "2020-05-20T06:05:11Z"
last_updated: ""
case_hashed: a5ce0e271337b285a26efd941e35ac7c42409c439da8e53e070444559c971bf8197f41a9a4f8262719f51f4fd35b0f4f
case_hashed: 54f974bb59f593fa691173aa91129c757a8a324931c8158b0ff45dd71a82f75ef350eeb724f9df45cfe783ac65aa203b
steps_hashed: 7b7312d7cfe9dc6a94684a98a083c3979672569988abbeeb823d406876e2b1de7062379017574308cdf33a86179b605d
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/left-sidebar/MM-T3719.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Experimental Sidebar
component: null
tags: []
labels:
- Sidebar
- cy-prod
- Sidebar
- fix-versions-not-empty-2022cleanup
tested_by_contributor: ""

Expand All @@ -33,7 +33,7 @@ id: 8600395
key: MM-T3719
created_on: "2021-01-15T14:49:19Z"
last_updated: "2022-12-01T21:06:44Z"
case_hashed: a51e1fe9acd59a9ab7adae38181f93b95ba4377f7193b0b0fd4ee96dbdb83d89e15f3c2d724028e7564432e385ebb467
case_hashed: 4d852dce6cd3bf958ef8be98983e3f31c1646e7278896823032d5e4077f36cbf8fff4477301c5cb2cedc5b5fc3aade41
steps_hashed: 3e26cfe9215083e67f667e73c49f0f4a6d62c56d3ea9769bb541e29fd640dd718cac70332dc1d15536b2990108a4e244
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/left-sidebar/MM-T3832.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ location: Experimental Sidebar
component: null
tags: []
labels:
- Sidebar
- cy-prod
- Sidebar
tested_by_contributor: ""

# (Optional) Test type and tools
Expand All @@ -31,7 +31,7 @@ id: 8954486
key: MM-T3832
created_on: "2021-02-10T23:01:29Z"
last_updated: ""
case_hashed: 20e63e446bad1a6ea2e6ce42a913c556828f0ef939f5266805cb08d134b8c202e89483c02d4f62a5d630af679b939cc6
case_hashed: b1596f5b3c535ff4be923ead1e3df95615f04d781db8331972ddbdc55c43e1093d78f56fc1a648732aa8b15c65fa02ea
steps_hashed: e0a3c5602249382a1b401b6623f91051a7dfe9f3e83cb63352fb1c47a1bcfd52a725b29df5482ca431069a75665eee3d
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/left-sidebar/dms-and-gms/MM-T2016.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Experimental Sidebar
component: null
tags: []
labels:
- Sidebar
- cy-prod
- Sidebar
- fix-versions-not-empty-2022cleanup
tested_by_contributor: ""

Expand All @@ -33,7 +33,7 @@ id: 5294792
key: MM-T2016
created_on: "2020-05-06T05:05:42Z"
last_updated: ""
case_hashed: 18520ceaeeab0118b0cf3fc3f7775defcb50a5dc1702d9ded18ad97cd5bd49b6c2ab6cd9ac3991201a75549dda9279d8
case_hashed: 4304d7646b1c50a1dbed38186be21f4732a344c65eff98b43b03fa9a1321b8885d80bc185109519a0d740e26e97d90bc
steps_hashed: 04dda64ce080637857f3abae220b86e31ce978c322b9df6c5cc3ba76666d0d0629736f8435de276d5689918bd7ada9e5
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/left-sidebar/dms-and-gms/MM-T2017.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Experimental Sidebar
component: null
tags: []
labels:
- Sidebar
- cy-prod
- Sidebar
- fix-versions-not-empty-2022cleanup
tested_by_contributor: ""

Expand All @@ -33,7 +33,7 @@ id: 5294794
key: MM-T2017
created_on: "2020-05-06T05:05:42Z"
last_updated: ""
case_hashed: d4d3718068ed4715a6b40e70dbe959602bb7fa6df700ff02441073e388b33a44da9e6d17a7176324b0f9e7735cc98d5e
case_hashed: 72793a6ed5953d4616d64dd792c08ddd03b159330e30621830e86ce80fd73c310628dee332511549623bb54aaf94e0d1
steps_hashed: dcaf2e3e0e64645e24859b01c84344791dcb0ea2994c60c57e07e70a9a6d3b573d42365bdf5be5eab6bc56ba0a09f6e7
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/left-sidebar/settings/MM-T2003.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Experimental Sidebar
component: null
tags: []
labels:
- Sidebar
- cy-prod
- Sidebar
tested_by_contributor: ""

# (Optional) Test type and tools
Expand All @@ -33,7 +33,7 @@ id: 5294772
key: MM-T2003
created_on: "2020-05-06T05:05:40Z"
last_updated: ""
case_hashed: b02378dd32ea9d7ab738af470264de5468bb7b0e3ce3b73c8397a15e35da98c2b135c88e8e60fcf7073385bbb40d956a
case_hashed: 000fbb3f47364bc2d0c728f2e3854252683c23a16355564b60540a109a41b6b5ffd6433851b3453d0a6a839734dacefb
steps_hashed: d22610a3075f0c73056b035a1b2357a41d4c52d3e48d9f0a521c2d3e0b42f39970f3793172fbc143e2225c9c62917b5a
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/messaging/MM-T2167.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Messaging
component: null
tags: []
labels:
- Duplicate-Automated-Tests
- TM4J-Key-Mapped-In-Cypress-Release
- Duplicate-Automated-Tests
- cy-prod
- se-prod
- messaging
Expand All @@ -35,7 +35,7 @@ id: 5444767
key: MM-T2167
created_on: "2020-05-20T06:05:05Z"
last_updated: "2022-09-09T17:54:46Z"
case_hashed: bdba843606f1ac546d13c0b8ea1292bd2329f15ba147bf932bf829ff814ec6fd3264de4f55a8f67da9bb25535b3c8701
case_hashed: b90e2fb59e097fd3121db0b374f3850286d057f247d28e9309f31c18cce61bf3928c19e094dd3f50c4be95dbae3de488
steps_hashed: f7f3e5c6bd7396efd80f29f4c4ebf25133fb173b1540333aa35fc919e012d9868530bb66ccda7d905d2fee2efea041a5
---

Expand Down
4 changes: 2 additions & 2 deletions data/test-cases/channels/messaging/MM-T2168.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ location: Messaging
component: null
tags: []
labels:
- Duplicate-Automated-Tests
- TM4J-Key-Mapped-In-Cypress-Release
- Duplicate-Automated-Tests
- cy-prod
- se-prod
- messaging
Expand All @@ -35,7 +35,7 @@ id: 5444768
key: MM-T2168
created_on: "2020-05-20T06:05:05Z"
last_updated: ""
case_hashed: 33e0a5a6d2fb5cd400b2244edda3705be96cad70bdfd37f18fe5f15eaa6e25efb7d2e39d29e303bc213bbf10708508b6
case_hashed: 7deeba02c805c9490cb9fa81cde025d01afce6e2804c037bd70605c72e6aa72a46b12e86a1e9a077047610df82d8c745
steps_hashed: 7cdc8d09da2cf9f5b01521d335bb0afc832cf30a5b98eff568188d9c40a63e2e184d01e4d32a7d39b69c9aebfc8d9f86
---

Expand Down
Loading

0 comments on commit 1ac6c94

Please sign in to comment.