Update TF-1786-TeamMail-Swipe-in-Email-item-in-ThreadView .md
(cherry picked from commit 5103185b9000a8286558ecd1e5b43aa4a923a699)
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
## Acceptance Criteria:
|
## Acceptance Criteria:
|
||||||
```
|
```
|
||||||
GIVEN I'm a Tmail user
|
GIVEN I'm a Tmail user
|
||||||
AND There are existed uread emails on my mailbox
|
AND There are existed unread emails on my mailbox
|
||||||
WHEN I swipe left to right on an email rows
|
WHEN I swipe left to right on an email rows
|
||||||
THEN I see the email row is swiped as blue background color belong with "read email icon"
|
THEN I see the email row is swiped as blue background color belong with "read email icon"
|
||||||
AND System mark an email as read
|
AND System mark an email as read
|
||||||
@@ -24,16 +24,16 @@ THEN I see the email row is swiped as blue background color belong with "unread
|
|||||||
AND System mark an email as unread
|
AND System mark an email as unread
|
||||||
|
|
||||||
GIVEN I'm a Tmail user
|
GIVEN I'm a Tmail user
|
||||||
AND There are existed emails on my normal folder which not archive folder
|
AND There are existed emails on my mailboxes
|
||||||
WHEN I swipe right to left on an email rows
|
WHEN I swipe right to left on an email rows
|
||||||
THEN I see the email row is swiped as green background color belong with "archive email icon"
|
THEN I see the email row is swiped as blue background color belong with "Move email icon"
|
||||||
AND System move the email to archive folder with the toast message
|
AND System display a list mailbox dialog to let user select the email moving desitination
|
||||||
|
AND System display a checked icon belong to mailbox in the list which indicate user that email is in what mailbox at the moment
|
||||||
|
|
||||||
GIVEN I'm a Tmail user
|
GIVEN I'm a Tmail user
|
||||||
AND There are existed archived email
|
WHEN I swipe right to left on an email rows
|
||||||
WHEN I swipe right to left or left to right on an email rows
|
AND I select one mailbox in the list
|
||||||
THEN I see the email row is swiped as blue background color belong with "Inbox icon" and the word "Move to inbox"
|
THEN The email is moved with the toast message
|
||||||
AND System move the archived email to inbox with the toast message
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Definition
|
## Definition
|
||||||
@@ -56,21 +56,24 @@ On thread-view, when I swipe left to right on email which be unread state, I can
|
|||||||
|
|
||||||
**Expected:** User mark an email as unread successfully.
|
**Expected:** User mark an email as unread successfully.
|
||||||
|
|
||||||
**UC3. As I am a user, I want to swipe right to left to archive an email
|
**UC3. As I am a user, I want to swipe right to left to move an email
|
||||||
On thread-view, when I swipe left to right on email which be not in Archive mailbox, I can see:
|
On thread-view, when I swipe right to left on email in my mailbox, I can see:
|
||||||
**Configs in Swipe Options**: Swipe right to left = Archive
|
**Configs in Swipe Options**: Swipe right to left = Move email
|
||||||
|
|
||||||
- The icon indicator this is Archive email
|
- The icon indicator this is Move email
|
||||||
- The background color is green
|
- The background color is blue
|
||||||
|
- The list of mailboxes will be displayed
|
||||||
|
- The checked icon will be displayed which indicator that email is in what mailbox at the moment
|
||||||
|
|
||||||
**Expected:** System display a toast message. User archived email successfully. This email is moved to Archived mailbox
|
**Expected:**
|
||||||
|
I see the email row is swiped as blue background color belong with "Move email icon"
|
||||||
|
AND System display the list of mailboxes wit checked icon belong to mailbox which include that email.
|
||||||
|
|
||||||
**UC4. As I am a user, I want to swipe left to right and even if right to left in order to move the archived email to inbox
|
**UC4. As I am a user, I want to swipe right to left in email of my mailboxes
|
||||||
On thread-view of Archive folder, when I swipe left to right / right to left then the archived email is moved to inbox
|
On thread-view of Archive folder, when I swipe left to right / right to left then the archived email is moved to inbox
|
||||||
|
|
||||||
**Expected:**
|
**Expected:**
|
||||||
I see the email row is swiped as blue background color belong with "Inbox icon" and the word "Move to inbox"
|
This email is moved to selected mailbox. System display a toast message.
|
||||||
AND System move the archived email to inbox with the toast message
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -82,9 +85,13 @@ AND System move the archived email to inbox with the toast message
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user