import "package:cw_core/wallet_type.dart"; import "package:integration_test/integration_test.dart"; import "../../core/app_launcher.dart"; import "../../flows/onboarding_flows.dart"; import "../../robots/home_page_robot.dart"; import "../../robots/new_dashboard_robot.dart"; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); integrationTest("Restored wallet connects to a node and starts syncing", (tester) async { final appLauncher = AppLauncher(tester); final onboardingFlows = OnboardingFlows(tester); final dashboardRobot = NewDashboardRobot(tester); final homePageRobot = HomePageRobot(tester); await appLauncher.launchApp(testKey: "sync_status_test_app_key"); await onboardingFlows.restoreFirstWalletFromSeed(WalletType.bitcoin); await dashboardRobot.isDisplayed(); await homePageRobot.isDisplayed(); await homePageRobot.confirmSyncIndicatorShown(); }); }