TF-4227 Set default enable Label setting is true in E2E test
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user