* 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>
* 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