Commit Graph

18 Commits

Author SHA1 Message Date
dab246 cb41b5690b TF-4308 Add E2E tests for ChooseLabelModal and NoLabelYetWidget
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-17 17:09:24 +07:00
dab246 660c4f40e2 TF-4301 Address code review comments on label feature
- Make LabelModalMixin interactor getters non-nullable; remove force-unwraps at call sites
- Show positiveLabel and add semanticLabel in progressing button for accessibility
- Use timestamp-based label name in E2E scenario to prevent flakiness on reused accounts
- Guard labelAs action with isLabelAvailable check in SingleEmailController
- Don't pop back on label creation failure so users can retry without losing context
- Block modal dismissal while label creation request is in flight
- Null-guard email.id before toggling label in ThreadView::onCreateANewLabelAction
- Log stackTrace and rethrow in DialogRouter to distinguish errors from user cancel
2026-04-17 11:58:53 +07:00
dab246 1b62990f28 TF-4301 Add E2E tests for label creation and tagging from email view 2026-04-17 11:58:53 +07:00
dab246 190ccc7bc3 TF-4301 Add "Create a new label" button in Label As menus and wire up tagging in email view 2026-04-17 11:58:53 +07:00
Dat Vu c5eb4a011d Cherry pick commit fix issue #4292 to master (#4454)
* Add folder info when open mail list from Label

(cherry picked from commit de0bb4ee02030ca90126766a8713a6826d791acd)

* Add unit test for `hasMailboxLabel` function in BaseEmailItemTile mixin

(cherry picked from commit 18f8d1847acccd6f95006b93903f0caa6c0408df)

* TF-4292 Add E2E test for test case `Add folder info when open mail list from Label` on mobile

(cherry picked from commit 1c209e333510db161522e4449ad7fb2e5d28399f)
2026-04-16 15:45:45 +07:00
dab246 fdae057837 TF-4370 Fix selector/key wiring: modal instantiation does not pass the key the test expects 2026-03-25 19:45:46 +07:00
dab246 0f9ea3c778 TF-4370 Add E2E test for test case create new a tag 2026-03-25 19:45:46 +07:00
dab246 f7c5341797 TF-4243 Remove setupPreLogin and disposeAfterTest 2026-01-27 15:08:02 +07:00
dab246 f1feb6225d TF-4243 Add integration test on mobile for case delete_a_label 2026-01-27 15:08:02 +07:00
dab246 a05a28700a TF-4236 Fix partial-update validation for thread label ops. 2026-01-27 12:04:11 +07:00
dab246 b633bcf709 TF-4236 Remove setupPreLogin and disposeAfterTest 2026-01-27 12:04:11 +07:00
dab246 879b18bc45 TF-4236 Fix guard delete UI when no handler is provided. 2026-01-27 12:04:11 +07:00
dab246 326f5e46f5 TF-4236 Add integration test on mobile for case remove_a_label_from_email_scenario 2026-01-27 12:04:11 +07:00
dab246 b76df6a6f6 TF-4236 Set setUp and tearDown for Patrol 2026-01-27 12:04:11 +07:00
dab246 69c3d32e3c TF-4233 Fix the response success check to use key presence instead of value nullness. 2026-01-26 09:13:54 +07:00
dab246 5a0929bff2 TF-4229 Add integration test on mobile for case edit_a_tag_scenario 2026-01-26 09:13:54 +07:00
dab246 acd8a6c4f1 TF-4227 Add integration test on mobile for case display_empty_view_when_open_tag_scenario 2026-01-19 11:34:43 +07:00
dab246 2052fdbe5e TF-4227 Add integration test on mobile for case display_view_with_all_email_with_tag_scenario 2026-01-19 11:34:43 +07:00