@@ -11,15 +11,17 @@ import 'package:flutter/foundation.dart';
11
11
import 'package:flutter/services.dart' ;
12
12
import 'package:flutter/widgets.dart' ;
13
13
import 'package:flutter_test/flutter_test.dart' ;
14
- import 'package:webview_flutter_wkwebview_example/main.dart' ;
15
- import 'package:webview_flutter_platform_interface/webview_flutter_platform_interface.dart' ;
16
14
import 'package:integration_test/integration_test.dart' ;
15
+ import 'package:webview_flutter_platform_interface/webview_flutter_platform_interface.dart' ;
16
+ import 'package:webview_flutter_wkwebview_example/navigation_decision.dart' ;
17
+ import 'package:webview_flutter_wkwebview_example/navigation_request.dart' ;
18
+ import 'package:webview_flutter_wkwebview_example/web_view.dart' ;
17
19
18
20
void main () {
19
21
IntegrationTestWidgetsFlutterBinding .ensureInitialized ();
20
22
21
23
// Set to `false` to include all flaky tests in the test run. See also https://github.com/flutter/flutter/issues/86757.
22
- const bool _skipDueIssue86757 = false ;
24
+ const bool _skipDueToIssue86757 = false ;
23
25
24
26
// TODO(bparrishMines): skipped due to https://github.com/flutter/flutter/issues/86757.
25
27
testWidgets ('initialUrl' , (WidgetTester tester) async {
@@ -40,7 +42,7 @@ void main() {
40
42
final WebViewController controller = await controllerCompleter.future;
41
43
final String ? currentUrl = await controller.currentUrl ();
42
44
expect (currentUrl, 'https://flutter.dev/' );
43
- }, skip: _skipDueIssue86757 );
45
+ }, skip: _skipDueToIssue86757 );
44
46
45
47
// TODO(bparrishMines): skipped due to https://github.com/flutter/flutter/issues/86757.
46
48
testWidgets ('loadUrl' , (WidgetTester tester) async {
@@ -62,7 +64,7 @@ void main() {
62
64
await controller.loadUrl ('https://www.google.com/' );
63
65
final String ? currentUrl = await controller.currentUrl ();
64
66
expect (currentUrl, 'https://www.google.com/' );
65
- }, skip: _skipDueIssue86757 );
67
+ }, skip: _skipDueToIssue86757 );
66
68
67
69
testWidgets ('loadUrl with headers' , (WidgetTester tester) async {
68
70
final Completer <WebViewController > controllerCompleter =
@@ -1184,7 +1186,7 @@ void main() {
1184
1186
await pageLoaded.future;
1185
1187
expect (controller.currentUrl (), completion ('https://flutter.dev/' ));
1186
1188
},
1187
- skip: _skipDueIssue86757 ,
1189
+ skip: _skipDueToIssue86757 ,
1188
1190
);
1189
1191
}
1190
1192
0 commit comments