mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
21 lines
606 B
Dart
21 lines
606 B
Dart
|
import 'package:cake_wallet/src/screens/seed/pre_seed_page.dart';
|
||
|
import 'package:flutter_test/flutter_test.dart';
|
||
|
|
||
|
import '../components/common_test_cases.dart';
|
||
|
|
||
|
class PreSeedPageRobot {
|
||
|
PreSeedPageRobot(this.tester) : commonTestCases = CommonTestCases(tester);
|
||
|
|
||
|
final WidgetTester tester;
|
||
|
late CommonTestCases commonTestCases;
|
||
|
|
||
|
Future<void> isPreSeedPage() async {
|
||
|
await commonTestCases.isSpecificPage<PreSeedPage>();
|
||
|
}
|
||
|
|
||
|
Future<void> onConfirmButtonPressed() async {
|
||
|
await commonTestCases.tapItemByKey('pre_seed_page_button_key');
|
||
|
await commonTestCases.defaultSleepTime();
|
||
|
}
|
||
|
}
|