From d611853ca61153f3732544bfcb73ffbe12c11c00 Mon Sep 17 00:00:00 2001 From: DatDang Date: Tue, 15 Apr 2025 13:48:24 +0700 Subject: [PATCH] fixup! TF-3649 Fix reply to own sent email --- integration_test/robots/thread_robot.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/integration_test/robots/thread_robot.dart b/integration_test/robots/thread_robot.dart index c8e085c90..507fd94ee 100644 --- a/integration_test/robots/thread_robot.dart +++ b/integration_test/robots/thread_robot.dart @@ -23,10 +23,11 @@ class ThreadRobot extends CoreRobot { } Future openEmailWithSubject(String subject) async { - await $(find.byType(EmailTileBuilder)) + final email = $(EmailTileBuilder) .which((view) => view.presentationEmail.subject == subject) - .first - .tap(); + .first; + await $.waitUntilVisible(email); + await email.tap(); await $.pump(const Duration(seconds: 2)); }