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:
commit
2506ea1270
|
@ -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(
|
Future<void> _auth(
|
||||||
|
|
|
@ -181,7 +181,8 @@ class _AppState extends State<App> {
|
||||||
);
|
);
|
||||||
|
|
||||||
_setupFirebaseMessaging();
|
_setupFirebaseMessaging();
|
||||||
if (TestUtil.isInTest) DeepLinkService().ensureInitialization();
|
// if (TestUtil.isInTest) //
|
||||||
|
DeepLinkService().ensureInitialization();
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
Loading…
Reference in New Issue