Skip to content

Commit

Permalink
fix: e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
parodyBit committed Oct 30, 2024
1 parent db185d1 commit 6bc4e19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions integration_test/e2e_show_node_stats.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ Future<void> e2eShowNodeStatsTest(WidgetTester tester) async {
final listFinder = find
.byType(Scrollable)
.first; // take first because it is the wallet list scroll
await tester.scrollUntilVisible(find.text("wit174l...4hu8zzs"), -100.0,
await tester.scrollUntilVisible(find.text("wit174l4hu8zzs"), -100.0,
scrollable: listFinder);

await tester.pumpAndSettle();

/// Select HD wallet from the wallets list
await tapButton(tester, "wit174l...4hu8zzs");
await tapButton(tester, "wit174l4hu8zzs");

await tester.pumpAndSettle();

Expand Down
4 changes: 2 additions & 2 deletions integration_test/e2e_update_wallet_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Future<void> e2eUpdateCurrentWalletTest(WidgetTester tester) async {
await tester.pumpAndSettle();

/// Select Node wallet from the wallets list
await tapButton(tester, "wit1vzm...2tya50u");
await tapButton(tester, "wit1vzm2tya50u");

await tester.pumpAndSettle();

Expand All @@ -100,6 +100,6 @@ Future<void> e2eUpdateCurrentWalletTest(WidgetTester tester) async {

/// Verify the imported wallet and the current address
expectLater(currentWallet3!.masterAccount!.address.cropMiddle(18),
"wit1vzm...2tya50u");
"wit1vzm2tya50u");
await teardownTest();
}

0 comments on commit 6bc4e19

Please sign in to comment.