Skip to content

Commit

Permalink
chore: add some delays for launch before notification permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Zimmerman committed Feb 10, 2025
1 parent 2d027a0 commit 25c38fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration_test/patrol_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ void main() {
($) async {
// 1. Start the app using Patrol
await $.pumpWidgetAndSettle(const MyApp());

// Wait for app to launch and grand permission
await Future.delayed(const Duration(seconds: 3));
await $.native.grantPermissionWhenInUse();

// 2. Open the bottom sheet by pressing "Switch Profile"
Expand Down

0 comments on commit 25c38fc

Please sign in to comment.