TF-3558 E2E Mailbox pull to refresh

This commit is contained in:
DatDang
2025-03-17 15:33:37 +07:00
committed by Dat H. Pham
parent 71cf29e881
commit a1c7fbe242
3 changed files with 69 additions and 0 deletions
+10
View File
@@ -67,4 +67,14 @@ class ThreadRobot extends CoreRobot {
Future<void> selectStarredFilter() async {
await $(#starred_filter).tap();
}
Future<void> pullToRefreshByEmailSubject(String subject) async {
await $(subject).waitUntilVisible();
await $.tester.fling(
$(subject),
const Offset(0, 300),
1000,
);
await $.pumpAndSettle();
}
}