Skip to content

TF-3611 E2E Trash & spam empty and recover #3612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: patrol-integration-test
Choose a base branch
from

Conversation

tddang-linagora
Copy link
Collaborator

@tddang-linagora tddang-linagora commented Apr 3, 2025

Issue

Test result

✅ Should empty and recover trash successfully (integration_test/tests/mailbox/empty_and_recover_trash_test.dart) (30s)
✅ Should empty and recover trash by long press mailbox successfully (integration_test/tests/mailbox/long_press_empty_and_recover_trash_test.dart) (29s)
✅ Should empty and recover spam successfully (integration_test/tests/mailbox/empty_and_recover_spam_test.dart) (28s)
✅ Should empty and recover spam by long press mailbox successfully (integration_test/tests/mailbox/long_press_empty_and_recover_spam_test.dart) (28s)

Test summary:
📝 Total: 4
✅ Successful: 4
❌ Failed: 0
⏩ Skipped: 0
📊 Report: .../tmail-flutter/build/app/reports/androidTests/connected/index.html
⏱️  Duration: 145s

Test video

[too big, please run locally]

@tddang-linagora tddang-linagora self-assigned this Apr 3, 2025
@tddang-linagora tddang-linagora changed the base branch from master to patrol-integration-test April 3, 2025 02:28
Comment on lines +79 to +81
if (await $.native.isPermissionDialogVisible(timeout: const Duration(seconds: 2))) {
await $.native.grantPermissionWhenInUse();
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to wait for permission here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2025-04-09 at 14 26 17

@dab246
Copy link
Member

dab246 commented Apr 9, 2025

  • Test case: Long press Trash folder -> Click Empty Trash option
  • Test case: Long press Spam folder -> Click Delete all spam emails option

Copy link

github-actions bot commented Apr 9, 2025

This PR has been deployed to https://linagora.github.io/tmail-flutter/3612.

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

Successfully merging this pull request may close these issues.

[E2E] [Mailbox management] Empty trash, recover deleted messages, spam banner
3 participants