Commit Graph
18 Commits
Author SHA1 Message Date
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