import "package:flutter/material.dart"; import "package:flutter_test/flutter_test.dart"; import "../core/base_robot.dart"; class NewDashboardRobot extends BaseRobot { NewDashboardRobot(super.tester); @override Future isDisplayed({Duration timeout = const Duration(seconds: 30)}) async { await pumpUntilFound(find.byKey(const ValueKey("new_dashboard_page_key")), timeout: timeout); } Future openHomeTab() async { await tapByKey("dashboard_page_home_action_button_key"); } Future openWalletsTab() async { await tapByKey("dashboard_page_wallets_action_button_key"); } Future openContactsTab() async { await tapByKey("dashboard_page_contacts_action_button_key"); } }