TF-4227 Set default enable Label setting is true in E2E test

This commit is contained in:
dab246
2026-01-06 16:35:33 +07:00
committed by Dat H. Pham
parent 5e1df67f90
commit 3d03c8475b
2 changed files with 4 additions and 2 deletions
@@ -1,3 +1,4 @@
import 'package:core/utils/platform_info.dart';
import 'package:json_annotation/json_annotation.dart';
import 'package:tmail_ui_user/features/manage_account/domain/model/preferences/preferences_config.dart';
@@ -9,7 +10,8 @@ class LabelConfig extends PreferencesConfig {
LabelConfig({this.isEnabled = false});
factory LabelConfig.initial() => LabelConfig();
factory LabelConfig.initial() =>
LabelConfig(isEnabled: PlatformInfo.isIntegrationTesting);
factory LabelConfig.fromJson(Map<String, dynamic> json) =>
_$LabelConfigFromJson(json);
@@ -77,7 +77,7 @@ class ManageAccountDashBoardController extends ReloadableController
final vacationResponse = Rxn<VacationResponse>();
final dashboardSettingAction = Rxn<UIAction>();
final octetsQuota = Rxn<Quota>();
final isLabelVisibilityEnabled = RxBool(false);
final isLabelVisibilityEnabled = RxBool(PlatformInfo.isIntegrationTesting);
Uri? previousUri;
AccountMenuItem? selectedMenu;