import "package:hash_wallet/src/screens/auth/auth_page.dart"; import "package:flutter/widgets.dart"; import "package:flutter_test/flutter_test.dart"; import "pin_code_widget_robot.dart"; class AuthPageRobot extends PinCodeWidgetRobot { AuthPageRobot(super.tester); @override Future isDisplayed() async { await isSpecificPage(); } bool onAuthPage() { final hasPinButtons = find.byKey(const ValueKey("pin_code_button_3_key")); final hasPin = hasPinButtons.tryEvaluate(); return hasPin; } }