This PR updates the approach used to test for the auto route test by providing an AppRouter object to MaterialApp.router.
This router is used to push the first route: SignInRoute.
Then the sign in button is clicked.
Then assert that the AuthorizationPage widget is found on the screen.
Type of Change
[ ] โจ New feature (non-breaking change which adds functionality)
[x] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
[ ] โ Breaking change (fix or feature that would cause existing functionality to change)
Fix auto route test
Description
This PR updates the approach used to test for the auto route test by providing an
AppRouter
object toMaterialApp.router
. This router is used to push the first route:SignInRoute
. Then the sign in button is clicked. Then assert that theAuthorizationPage
widget is found on the screen.Type of Change