wip
This commit is contained in:
parent
a78956ba16
commit
18ecfcade8
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue