File tree Expand file tree Collapse file tree
lib/features/wallet_setup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,6 +248,8 @@ class _RecoverWalletPageState extends ConsumerState<RecoverWalletPage>
248248 ),
249249 minLines: 3 ,
250250 maxLines: 5 ,
251+ autocorrect: false ,
252+ enableSuggestions: false ,
251253 textInputAction: TextInputAction .newline,
252254 onChanged: (_) => setState (() {}),
253255 ),
@@ -302,6 +304,8 @@ class _RecoverWalletPageState extends ConsumerState<RecoverWalletPage>
302304 ),
303305 minLines: 2 ,
304306 maxLines: 4 ,
307+ autocorrect: false ,
308+ enableSuggestions: false ,
305309 textInputAction: TextInputAction .next,
306310 onChanged: (_) => setState (() {}),
307311 ),
@@ -315,6 +319,8 @@ class _RecoverWalletPageState extends ConsumerState<RecoverWalletPage>
315319 ),
316320 minLines: 2 ,
317321 maxLines: 4 ,
322+ autocorrect: false ,
323+ enableSuggestions: false ,
318324 textInputAction: TextInputAction .newline,
319325 onChanged: (_) => setState (() {}),
320326 ),
Original file line number Diff line number Diff line change @@ -45,4 +45,19 @@ void main() {
4545 expect (find.byType (ActiveWalletsPage ), findsOneWidget);
4646 expect (find.byType (PlaceholderPage ), findsNothing);
4747 });
48+
49+ testWidgets ('/transactions resolves to TransactionsListPage' , (tester) async {
50+ await pumpRouterAt (tester, AppRoutes .transactionHistory);
51+
52+ expect (find.byType (TransactionsListPage ), findsOneWidget);
53+ expect (find.byType (PlaceholderPage ), findsNothing);
54+ });
55+
56+ testWidgets ('/recover-wallet resolves to RecoverWalletPage' , (tester) async {
57+ await pumpRouterAt (tester, AppRoutes .recoverWallet);
58+
59+ expect (find.byType (RecoverWalletPage ), findsOneWidget);
60+ expect (find.byType (PlaceholderPage ), findsNothing);
61+ expect (find.text ('Recover Wallet' ), findsOneWidget);
62+ });
4863}
You can’t perform that action at this time.
0 commit comments