Merge pull request #89 from FRE-Informatica/fix/fd-1114

FIX/FD-1114 - modal de forgotpassword não esta sendo exibido
This commit is contained in:
Ivan Antunes 2025-01-24 14:10:27 -03:00 committed by GitHub
commit 2506ea1270
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 26 additions and 2 deletions

View File

@ -197,7 +197,30 @@ class AuthenticationTest {
);
}
static Future<void> recovery() async {}
static Future<void> 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<void> _auth(

View File

@ -181,7 +181,8 @@ class _AppState extends State<App> {
);
_setupFirebaseMessaging();
if (TestUtil.isInTest) DeepLinkService().ensureInitialization();
// if (TestUtil.isInTest) //
DeepLinkService().ensureInitialization();
}
@override