From 18ecfcade8b4eb0bdd469b00f6145590d5ecefa5 Mon Sep 17 00:00:00 2001 From: "J. A. Messias" Date: Thu, 23 Jan 2025 17:45:59 -0300 Subject: [PATCH] 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(