Skip to content

Commit

Permalink
Merge pull request #30 from natsuk4ze/Fix-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
natsuk4ze authored Jul 6, 2023
2 parents 71b7595 + 4cc9eb2 commit 85af6be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ jobs:

# More info on https://github.com/ReactiveCircus/android-emulator-runner
- name: Run integration tests
timeout-minutes: 60
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
Expand Down
6 changes: 3 additions & 3 deletions example/integration_test/integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ void main() {
final button = find.byIcon(Icons.question_mark);
await tester.tap(button);
expect(tester.takeException(), isNull);
}, timeout: const Timeout(Duration(minutes: 20)));
});

testWidgets('open()', (tester) async {
app.main();
await tester.pumpAndSettle();
final button = find.byIcon(Icons.open_in_new);
await tester.tap(button);
expect(tester.takeException(), isNull);
}, timeout: const Timeout(Duration(minutes: 20)));
});

/// Other functions take longer to implement
/// because of the possibility of interacting with native dialogs.
/// For more info: https://github.com/flutter/flutter/wiki/Plugin-Tests
}, retry: 3);
});
}

0 comments on commit 85af6be

Please sign in to comment.