Commit Graph
17 Commits
Author SHA1 Message Date
Rene Cordier b4b36d0a91 Fix base64 inline image eml file 2026-05-12 14:24:32 +07:00
Dang Dat 89f0a77a83 Patrol Delete user data instead of restart docker 2026-05-12 14:24:32 +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
DatDang 03694d8848 TF-3614 E2E quota view increase 2025-09-16 11:17:21 +07:00
DatDang e5d996eeb3 TF-3614 E2E Team mailbox receive email 2025-09-16 11:17:21 +07:00
Dang Dat c6ace7a9b5 E2E Fix integration test Twake Mail v0.18.4
E2E Fix integration test Twake Mail v0.18.4
2025-09-11 10:31:20 +07:00
dab246 260ed6c42f TF-3554 Add provisioning for integration test reply email
Signed-off-by: dab246 <tdvu@linagora.com>
2025-09-11 10:31:20 +07:00
DatDang c7f5dc9e5e TF-3912 Thread Detail Fix real time update 2025-07-30 14:52:21 +07:00
DatDang 8e500a2ac5 HOTFIX Fix integration tests 2025-07-16 10:26:26 +07:00
dab246 7a819191cb TF-3674 Add integration test for reply email
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-21 03:23:14 -07:00
DatDang 7f9dc67141 TF-3591 Integration test Calendar Event Counter email 2025-04-16 21:41:11 -07:00
dab246 d850faf6be Fix logic forward_email in E2E test to avoid build integration test on CI fail
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-01 20:31:36 -07:00
dab246 4aef1698a4 TF-3514 Add integration test for reply email with content contain image base64
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-10 03:02:19 -07:00
dab246 4932bcc3d9 Always make sure the mailbox is successfully created before importing emails for Provisioning
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-23 22:40:30 -08:00
Dat Dang 2d976bed18 TF-3369 Fix cid image without disposition (#3373) 2025-02-05 03:00:08 -08:00
dab246 03e1c0e13f TF-3349 Add integration test for forward email 2025-02-05 03:00:08 -08: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