Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit dfd4d35

Browse files
committed
Ensure SurfaceAndroidWebView tests don't run on iOS.
1 parent 3fd17b8 commit dfd4d35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/webview_flutter/webview_flutter/example/integration_test/webview_flutter_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import 'package:integration_test/integration_test.dart';
1818
void main() {
1919
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
2020

21-
const bool _skipDueToIssue86757 = false;
21+
const bool _skipDueToIssue86757 = true;
2222

2323
// TODO(bparrishMines): skipped due to https://github.com/flutter/flutter/issues/86757.
2424
testWidgets('initialUrl', (WidgetTester tester) async {
@@ -958,7 +958,7 @@ void main() {
958958
scrollPosY = await controller.getScrollY();
959959
expect(X_SCROLL * 2, scrollPosX);
960960
expect(Y_SCROLL * 2, scrollPosY);
961-
}, skip: _skipDueToIssue86757);
961+
}, skip: !Platform.isAndroid || _skipDueToIssue86757);
962962

963963
// TODO(bparrishMines): skipped due to https://github.com/flutter/flutter/issues/86757.
964964
testWidgets('inputs are scrolled into view when focused',
@@ -1064,7 +1064,7 @@ void main() {
10641064
lastInputClientRectRelativeToViewport['right'] <=
10651065
viewportRectRelativeToViewport['right'],
10661066
isTrue);
1067-
}, skip: _skipDueToIssue86757);
1067+
}, skip: !Platform.isAndroid || _skipDueToIssue86757);
10681068
});
10691069

10701070
group('NavigationDelegate', () {

0 commit comments

Comments
 (0)