From a78956ba16ee6463e92fb3884112904fe0b021ec Mon Sep 17 00:00:00 2001 From: "J. A. Messias" Date: Thu, 23 Jan 2025 16:52:48 -0300 Subject: [PATCH 1/2] =?UTF-8?q?modal=20de=20forgotpassword=20n=C3=A3o=20es?= =?UTF-8?q?ta=20sendo=20exibido?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 From 18ecfcade8b4eb0bdd469b00f6145590d5ecefa5 Mon Sep 17 00:00:00 2001 From: "J. A. Messias" Date: Thu, 23 Jan 2025 17:45:59 -0300 Subject: [PATCH 2/2] wip --- integration_test/auth_test.dart | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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(