// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import 'package:flutter_test/flutter_test.dart'; import 'package:integration_test/integration_test.dart'; import 'graphql/api_key_test.dart' as graph_api_key_test; import 'graphql/iam_test.dart' as graph_iam_test; import 'graphql/user_pools_test.dart' as graph_user_pools_test; import 'rest_test.dart' as rest_test; import 'util.dart'; void main() async { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); group('amplify_api', () { setUpAll(() async { await configureAmplify(); await signUpTestUser(); await signInTestUser(); }); tearDownAll(() async { await deleteTestUser(); }); graph_api_key_test.main(useExistingTestUser: true); graph_iam_test.main(useExistingTestUser: true); graph_user_pools_test.main(useExistingTestUser: true); rest_test.main(useExistingTestUser: true); }); }