Skip to content

Commit

Permalink
ci: Fix iOS Integration Test
Browse files Browse the repository at this point in the history
  • Loading branch information
ABausG committed Dec 13, 2023
1 parent f1fcd9d commit 3a1976c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
run: xcodebuild -downloadPlatform ios
- uses: subosito/flutter-action@v1
with:
channel: beta
channel: stable
- uses: futureware-tech/simulator-action@v1
id: simulator
with:
Expand Down
4 changes: 2 additions & 2 deletions example/integration_test/ios_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void main() {
});
}

testWidgets('Delte Value successful', (tester) async {
testWidgets('Delete Value successful', (tester) async {
final initialData = await HomeWidget.getWidgetData(testData.keys.first);
expect(initialData, testData.values.first);

Expand Down Expand Up @@ -91,7 +91,7 @@ void main() {
(tester) async {
final deviceInfo = await DeviceInfoPlugin().iosInfo;
final hasInteractiveWidgets =
double.parse(deviceInfo.systemVersion) >= 17.0;
double.parse(deviceInfo.systemVersion.split('.').first) >= 17.0;
await HomeWidget.setAppGroupId('group.es.antonborri.integrationtest');
if (hasInteractiveWidgets) {
final registerCallbackResult =
Expand Down

0 comments on commit 3a1976c

Please sign in to comment.