-
Notifications
You must be signed in to change notification settings - Fork 84
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
TF-3543 E2E composer read receipt #3544
base: patrol-integration-test
Are you sure you want to change the base?
TF-3543 E2E composer read receipt #3544
Conversation
This PR has been deployed to https://linagora.github.io/tmail-flutter/3544. |
await composerRobot.addContent(content); | ||
await composerRobot.tapMoreOptions(); | ||
await composerRobot.toggleReadReceipt(); | ||
await expectViewVisible($(AppLocalizations().requestReadReceiptHasBeenEnabled)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should create instant object for AppLocalizations
to re-use
|
||
await $.pumpAndSettle(duration: seconds(5)); | ||
await threadRobot.openEmailWithSubject(subject); | ||
await expectViewVisible($(AppLocalizations().titleReadReceiptRequestNotificationMessage)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should describe expect more clearly.
|
||
Future<void> _expectSendEmailSuccessToast() async { | ||
await expectViewVisible( | ||
$(find.text(AppLocalizations().message_has_been_sent_successfully)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
|
||
void main() { | ||
TestBase().runPatrolTest( | ||
description: 'Should see read receipt dialog', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should describe test case more clearly.
Issue
Test result
Test video
integration-test-composer-read-receipt.webm