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

Commit bf09d10

Browse files
author
Emmanuel Garcia
committed
More checks
1 parent 911cd97 commit bf09d10

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

packages/webview_flutter/example/integration_test/webview_flutter_test.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ void main() {
823823
});
824824
});
825825

826-
group('$SurfaceAndroidWebView', () {
826+
group('SurfaceAndroidWebView', () {
827827
setUpAll(() {
828828
WebView.platform = SurfaceAndroidWebView();
829829
});
@@ -902,6 +902,9 @@ void main() {
902902

903903
testWidgets('inputs are scrolled into view when focused',
904904
(WidgetTester tester) async {
905+
906+
expect(Platform.isAndroid, isTrue);
907+
905908
final String scrollTestPage = '''
906909
<!DOCTYPE html>
907910
<html>
@@ -1004,7 +1007,7 @@ void main() {
10041007
viewportRectRelativeToViewport['right'],
10051008
isTrue);
10061009
});
1007-
}, skip: !Platform.isAndroid);
1010+
}, skip: Platform.isAndroid ? false : 'Skipped');
10081011

10091012
group('NavigationDelegate', () {
10101013
final String blankPage = "<!DOCTYPE html><head></head><body></body></html>";

0 commit comments

Comments
 (0)