32 Commits
Author SHA1 Message Date
Dat Vu a4f0366daa TF-5188 Refresh the account switcher when a delegation changes while the app runs (#5197) 2026-11-30 15:43:38 +07:00
Dat Vu d49bf3fdb8 TF-5187 Dispose the dashboard on a forced sign-out so the search left open is reset (#5196) 2026-11-27 19:34:42 +07:00
Dat VuandDat H. Pham a050e7348b TF-5023 T-16 Show my delegates in a By me tab of Settings › Delegation (#5179)
* TF-5023 T-16 Show my delegates in a By me tab of Settings › Delegation with a disabled Add button

* TF-5023 T-16 Register delegate cleanup before seeding and name the By me tab in MyDelegatesSection

* TF-5023 T-16 Test that a read finishing after the By me tab closes is dropped

* TF-5023 T-16 Test that re-reading my delegates keeps the current list

* TF-5023 T-16 Keep the current list while MyDelegatesNotifier reloads

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-26 14:17:21 +07:00
Dat Dang 18f5a69d96 TF-4498 Provision e2e test data through a standalone JMAP client instead of GetX (#5165) 2026-11-25 06:12:48 +07:00
Dat Dang 62f5e8fd47 Fix web Patrol flakes and remove dead GitHub nightly Android workflow (#5127) 2026-11-18 18:54:05 +07:00
Dat Vu 54fee9ffb5 Chore: upgrade Flutter to 3.47.9 (#5083) 2026-11-11 17:21:45 +07:00
Dat Dang 1ca9c82acb Add automated memory leak check for web and Android (#5113) 2026-11-09 09:19:45 +07:00
Dat Dang cab851c4fe Speed up the Patrol integration suites with a backend per test, web workers and FTL shards (#5068) 2026-11-06 15:32:36 +07:00
dab246 1f3e6f53cc TF-4985 Add web e2e for saving a vacation whose stored message is blank 2026-11-05 10:07:57 +07:00
Dat Dang 8be9171f41 Keep CI logs to diagnose flaky Patrol tests (#5029) 2026-10-28 15:31:59 +07:00
Dat H. Pham e6b0b3fbed List each thread once when a folder loads more with thread view on (#5017) 2026-10-28 09:44:22 +07:00
dab246 84a5b9931b TF-4849 Add web e2e for hiding sign out in the Twake Workplace profile menu 2026-10-20 15:29:41 +07:00
Dang Dat ab195efdb8 TF-4827 Assert web upload hands the picked Blob to XHR send
Addresses: 4130721529
https://github.com/linagora/tmail-flutter/pull/4905#discussion_r4130721529
2026-10-13 13:57:38 +07:00
Dang Dat 3bbad4bf00 TF-4827 Cover web blob upload with an integration test
Ref: #4902
2026-10-13 13:57:38 +07:00
Dat H. Pham f1cca70b63 Reduce flaky test not rely on toast (#4708) 2026-07-17 14:55:20 +07:00
Dat H. Pham 4001af308f [e2e] sharing plain text from outside 2026-07-07 14:50:51 +07:00
Dat H. Pham 345625d212 (e2e) fix for draft save flaky test
(cherry picked from commit 9ac1ad114e)
2026-06-29 09:23:45 +07:00
Dat H. Pham 7035373328 (e2e) fix mailbox dashboard isReady
(cherry picked from commit 6bbb8fd93b)
2026-06-29 09:23:45 +07:00
Dat H. Pham fc348c7046 (e2e): search web coverage — robot factory + TestTags.web (#4589)
* (e2e): search web coverage — robot factory + TestTags.web
2026-06-11 13:37:59 +07:00
Rene Cordier 001880ad0c Increase test timeout to 30 seconds 2026-06-01 16:25:25 +07:00
Rene Cordier 090b0fff81 Increase Patrol tests timeout 2026-05-27 13:02:28 +07:00
Dat Dang 7534f369cb Patrol Web enable reset server (#4557) 2026-05-26 15:41:29 +07:00
dab246 95c35d9bcd fix(test): add catch for BackendResetClient.reset
Signed-off-by: dab246 <tdvu@linagora.com>
2026-05-11 17:48:59 +07:00
Dat Dang 3851df15c6 Patrol isolate Android tests (#4469)
* Patrol POC replace Firebase Test Lab with local Android emulator

Replace GCloud auth, Firebase Test Lab, and ngrok with a local Android AVD via
reactivecircus/android-emulator-runner on CI. The backend runs in Docker and is
reachable from the emulator at the QEMU host alias 10.0.2.2.

CI / scripts:
- Remove Google Cloud auth, Firebase run step, and ngrok tunnel
- Add KVM, Gradle, and AVD cache setup; shard tests across 4 parallel runners
- Scripts: drop ngrok, point jmap.properties to 10.0.2.2, manage cleanup via trap
- prebuild.sh: parallelize module builds, suppress noisy output
- provisioning.sh: parallelize james-cli/curl calls, fix hardcoded container IP

Backend reset for test isolation:
- Add backend-reset-server.py: HTTP server that restarts tmail-backend and
  re-runs provisioning on POST /reset, so each test starts with a clean state
- Add BackendResetClient.dart: Dart client called in patrolTearDown
- Reduce visibleTimeout 30s → 10s; allow insecure connections in debug mode

* Patrol POC fix flaky tests

Replace fixed pumpAndSettle delays with waitUntilVisible/waitUntilExists so
tests react to actual UI state rather than arbitrary timeouts.

- Add PatrolFileExtensions.toFileInfo() and use it in composer robot/scenario utils
- Guard MobileEditorWidget.dispose() under isIntegrationTesting to prevent teardown crash
- Fix scroll direction (AxisDirection.down) in calendar attendee button scroll
- Add scrollTo() before tap in label modal robot and edit-tag scenario
- Wait on EmailTileBuilder (not label name) after email provisioning — more reliable
- Inline image: wait for HtmlContentViewer to contain base64 data before asserting
- Use native platform wait for inline image in upload scenario
- Remove unnecessary Future.delayed and extra pumpAndSettle calls
- Pre-select English before switching language to ensure deterministic starting state
- Fix app_grid back-press sequence
2026-05-11 08:09:31 +07:00
dab246 abdcb614ce TF-3493 Refactor integration test code for performance and maintainability
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-23 22:40:30 -08:00
Florent Azavant 74fc8d5d72 TF-3189 new reply to field in the mail composer 2025-02-19 02:34:29 -08:00
DatDang e1795d1f5c TF-3454 Integration test download all attachments as ZIP 2025-02-18 20:13:16 -08:00
Florent Azavant 327af38fb0 TF-2305 Fixed getUploadUri and getDownloadUri not working with Cyrus 2025-02-16 20:52:47 -08:00
DatDang 48a035edc9 TF-3341 Integration test web socket for mobile 2025-02-05 03:00:08 -08:00
DatDang 1ece796185 TF-3236 Add integration test to search snippet 2024-11-20 13:53:56 +07:00
dab246 51a4a1b9b7 TF-2528 Add integration test for search email with sort by sender nam…e ascending 2024-11-14 10:30:40 +07:00
DatDang 25437ba92e TF-2953 Set up Patrol tests 2024-11-01 10:01:18 +07:00