TF-4243 Remove setupPreLogin and disposeAfterTest
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import 'package:core/utils/platform_info.dart';
|
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
import 'package:tmail_ui_user/features/mailbox/presentation/widgets/labels/label_list_view.dart';
|
import 'package:tmail_ui_user/features/mailbox/presentation/widgets/labels/label_list_view.dart';
|
||||||
import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
|
import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
|
||||||
@@ -14,11 +13,6 @@ class DeleteATagScenario extends BaseTestScenario
|
|||||||
with ProvisioningLabelScenarioMixin {
|
with ProvisioningLabelScenarioMixin {
|
||||||
const DeleteATagScenario(super.$);
|
const DeleteATagScenario(super.$);
|
||||||
|
|
||||||
@override
|
|
||||||
Future<void> setupPreLogin() async {
|
|
||||||
PlatformInfo.isIntegrationTesting = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> runTestLogic() async {
|
Future<void> runTestLogic() async {
|
||||||
final threadRobot = ThreadRobot($);
|
final threadRobot = ThreadRobot($);
|
||||||
@@ -55,9 +49,4 @@ class DeleteATagScenario extends BaseTestScenario
|
|||||||
Future<void> _expectLabelDeletedByName(String name) async {
|
Future<void> _expectLabelDeletedByName(String name) async {
|
||||||
await expectViewInvisible($(LabelListView).$(name));
|
await expectViewInvisible($(LabelListView).$(name));
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
|
||||||
Future<void> disposeAfterTest() async {
|
|
||||||
PlatformInfo.isIntegrationTesting = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user