diff --git a/integration_test/auth_test.dart b/integration_test/auth_test.dart index 3528acc1..0b9ca1ea 100644 --- a/integration_test/auth_test.dart +++ b/integration_test/auth_test.dart @@ -197,7 +197,30 @@ class AuthenticationTest { ); } - static Future recovery() async {} + static Future recovery() async { + patrolWidgetTest( + 'ForgotPassword', + (PatrolTester tester) async { + $ = tester; + $.tester + .printToConsole('Authentication Test - ForgotPassword'); + final PatrolFinder throwsException = $(Dialog).$(ThrowExceptionWidget); + + + + final credentials = { + 'emailTextFormField': 'email_app@exemplo.com', + + }; + + await _unlogged(); + await $.pumpWidgetAndSettle(const App()); + await _navigateToSignIn($); + await _auth(credentials, $, throwsException); + + }, + ); + } } Future _auth( diff --git a/lib/main.dart b/lib/main.dart index c9941df7..03c6b70d 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -181,7 +181,8 @@ class _AppState extends State { ); _setupFirebaseMessaging(); - if (TestUtil.isInTest) DeepLinkService().ensureInitialization(); + // if (TestUtil.isInTest) // + DeepLinkService().ensureInitialization(); } @override