Skip to content

Commit

Permalink
Update app_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev committed Nov 15, 2024
1 parent e3d98b0 commit aae8d49
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions integration_test/app_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// ignore_for_file: avoid_print

import 'package:ardrive/authentication/ardrive_auth.dart';
import 'package:ardrive/blocs/profile/profile_cubit.dart';
import 'package:ardrive/main.dart';
Expand All @@ -10,32 +8,22 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

import 'integration_test_cli_arguments.dart';
import 'login_tests.dart' as login_tests;
import 'login_tests_mobile.dart' as login_tests_mobile;
// import 'onboarding_tests_mobile.dart' as onboarding_test_mobile;
import 'logout_test.dart' as logout_test;
import 'logout_test_mobile.dart' as logout_test_mobile;
import 'onboarding_tests.dart' as onboarding_test;
import 'onboarding_tests_mobile.dart' as onboarding_test_mobile;
import 'utils.dart';

void main() {
final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized();
binding.framePolicy = LiveTestWidgetsFlutterBindingFramePolicy.fullyLive;

if (AppPlatform.isAndroid) {
print('Running mobile tests');
// onboarding_test_mobile.main();
onboarding_test_mobile.main();
login_tests_mobile.main();
logout_test_mobile.main();
} else {
onboarding_test.main();
login_tests.main();
logout_test.main();
// upload_test.main();
// snapshot_test.main();
// drive_test.main();
// folder_test.main();
// manifest_test.main();
}
}

Expand Down

0 comments on commit aae8d49

Please sign in to comment.