Skip to content

Commit

Permalink
[ci][webview_flutter_android] Manual Roll and skip tests (flutter#8186)
Browse files Browse the repository at this point in the history
Manual Roll and skip failing `webview_flutter_android` test.

See flutter/flutter#159500
  • Loading branch information
bparrishMines authored Nov 26, 2024
1 parent 8ecf4b0 commit e9a6e24
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/flutter_master.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
793569f621f79119dd7cb2c82c403b5d52271946
fae695ed6198715aa06266cf3589853efb2a96d9
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ import 'package:webview_flutter_android/src/weak_reference_utils.dart';
import 'package:webview_flutter_android/webview_flutter_android.dart';
import 'package:webview_flutter_platform_interface/webview_flutter_platform_interface.dart';

// `IntegrationTestWidgetsFlutterBinding.watchPerformance` is throwing an
// exception when called. See https://github.com/flutter/flutter/issues/159500
// for more info.
const bool skipFor159500 = true;

Future<void> main() async {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

Expand Down Expand Up @@ -104,7 +109,7 @@ Future<void> main() async {

final int gcIdentifier = await gcCompleter.future;
expect(gcIdentifier, 0);
}, timeout: const Timeout(Duration(seconds: 10)));
}, timeout: const Timeout(Duration(seconds: 10)), skip: skipFor159500);

testWidgets(
'WebView is released by garbage collection',
Expand Down Expand Up @@ -170,6 +175,7 @@ Future<void> main() async {
await expectLater(webViewGCCompleter.future, completes);
},
timeout: const Timeout(Duration(seconds: 10)),
skip: skipFor159500,
);

testWidgets('runJavaScriptReturningResult', (WidgetTester tester) async {
Expand Down

0 comments on commit e9a6e24

Please sign in to comment.