Skip to content

Commit

Permalink
Merge pull request #1 from bartekpacia/make_tests_run
Browse files Browse the repository at this point in the history
Make Patrol tests run
  • Loading branch information
mbilalakmal authored Mar 26, 2023
2 parents 9031818 + 0ae68b1 commit 8a9f776
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration_test/example_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:patrol/patrol.dart';
void main() {
patrolTest(
'counter state is the same after going to home and switching apps',
// nativeAutomation: true,
nativeAutomation: true,
($) async {
// Replace later with your app's main widget
await $.pumpWidgetAndSettle(
Expand All @@ -19,6 +19,7 @@ void main() {

expect($('app'), findsOneWidget);
await $.native.pressHome();
await $.native.openApp();
},
);
}
}

0 comments on commit 8a9f776

Please sign in to comment.