Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserfaraazkhan committed Sep 19, 2024
1 parent c17da26 commit 39b4161
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/test-by-folder.json
Original file line number Diff line number Diff line change
Expand Up @@ -3196,6 +3196,10 @@
"Verify opening GM notification after GM is converted to channel by other user"
]
},
{
"folder": "mobile-v2/drafts",
"tests": ["Create Drafts on mobile app", "Edit Drafts on mobile app"]
},
{
"folder": "mobile-v2/invite-people",
"tests": [
Expand Down
49 changes: 49 additions & 0 deletions data/test-cases/mobile-v2/drafts/1-Create-drafts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
# (Required) Ensure all values are filled up
name: "Create Drafts on mobile app"
status: Active
priority: Normal
folder: Drafts
authors: "@yasserfaraazkhan"
team_ownership:
- ICU
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)

# (Optional)
location: null
component: null
tags: []
labels: []
tested_by_contributor: ''

# (Optional) Test type and tools
cypress: N/A
detox: N/A
mmctl: N/A
playwright: N/A
rainforest: []
manual_test_environments: []

# Do not change
id: null
key: null
created_on: null
last_updated: null
case_hashed: null
steps_hashed: null
---

**Step 1**

Steps:

1. Log into user's account on a Mobile device.
2. Verify there is no Draft option seen in the channel list screen.
3. Goto any DM/GM/Channel and type a message (with or without attachments) but dont send it.
4. Navigate back to the channel list.
5. Verify the draft option is shown. Click on Drafts.
6. Verify the typed message is shown.
7. Verify the Draft message has information of `To:` DM/GM/Channel.
8. Verify the attachments are visible.
9. Click on the Message.
10. Verify if the user is taken to the DM/GM/Channel where the draft message was first typed.
50 changes: 50 additions & 0 deletions data/test-cases/mobile-v2/drafts/2-Edit-drafts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
# (Required) Ensure all values are filled up
name: "Edit Drafts on mobile app"
status: Active
priority: Normal
folder: Drafts
authors: "@yasserfaraazkhan"
team_ownership:
- ICU
priority_p1_to_p4: P2 - Core Functions (Do core functions work?)

# (Optional)
location: null
component: null
tags: []
labels: []
tested_by_contributor: ''

# (Optional) Test type and tools
cypress: N/A
detox: N/A
mmctl: N/A
playwright: N/A
rainforest: []
manual_test_environments: []

# Do not change
id: null
key: null
created_on: null
last_updated: null
case_hashed: null
steps_hashed: null
---

**Step 1**

Steps:

1. Log into user's account on a Mobile device.
2. Verify there is no Draft option seen in the channel list screen.
3. Goto any DM/GM/Channel and type a message (with or without attachments) but dont send it.
4. Navigate back to the channel list.
5. Verify the draft option is shown. Click on Drafts.
6. Verify the typed message is shown.
7. Verify the Draft message has information of `To:` DM/GM/Channel.
8. Long press on the Draft message.
9. Verify option to Edit, Send Draft and Delete pops up.
10. Click on Edit option.
11.

0 comments on commit 39b4161

Please sign in to comment.