Skip to content

add mark unread, move to trash, delete to a sending test #1029

Description

@tomholub

In another issue:

It would be good, since we already sent a new message we don't need to also test message actions on it and delete it in the same test.

  • before opening the message, verify it's marked as unread in inbox
  • after opening the message, run checkOpenedEmail as before
  • after that, go back to sent (can use the back icon) and verify it's marked as read
  • open the message again and tap "mark as read". Back to sent list - verify it's unread (this checks that we cleverly re-rendered the message after the action without need to refresh)
  • refresh the sent message by pulling down on the list, then verify it's still unread (this checks that it was updated as unread on the mail server)
  • open the message again and tap "Trash" icon
  • go back using back icon, and verify that the message is gone from the list without refreshing
  • refresh the list, make sure it's still gone
  • using Menu, go to Trash folder, find the message, open it, and tap Trash again (this completely deletes the message)
  • using back button, go back to Trash, see that message is not there
  • refresh Trash by pulling down, see that message is not there

Then finally, change the test name by adding + mark unread, move to trash, delete

Originally posted by @tomholub in #1027 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions