diff --git a/dev/integration_tests/flutter_gallery/test_driver/run_demos.dart b/dev/integration_tests/flutter_gallery/test_driver/run_demos.dart index 84eed79d1e..064c66b17b 100644 --- a/dev/integration_tests/flutter_gallery/test_driver/run_demos.dart +++ b/dev/integration_tests/flutter_gallery/test_driver/run_demos.dart @@ -3,7 +3,6 @@ // found in the LICENSE file. import 'package:flutter/cupertino.dart'; -import 'package:flutter/foundation.dart'; import 'package:flutter_gallery/demo_lists.dart'; import 'package:flutter_test/flutter_test.dart'; @@ -12,9 +11,9 @@ import 'package:flutter_test/flutter_test.dart'; /// Demo names are formatted as 'DEMO_NAME@DEMO_CATEGORY' (see /// `demo_lists.dart` for more examples). final List kSkippedDemos = [ - // The CI uses Chromium, which lacks the video codecs to run this demo. - if (kIsWeb) - 'Video@Media', + // This demo is flaky on CI due to hitting the network. + // See: https://github.com/flutter/flutter/issues/100497 + 'Video@Media', ]; /// Scrolls each demo menu item into view, launches it, then returns to the diff --git a/dev/integration_tests/flutter_gallery/test_driver/transitions_perf_test.dart b/dev/integration_tests/flutter_gallery/test_driver/transitions_perf_test.dart index 99b5a0b446..058aabe35e 100644 --- a/dev/integration_tests/flutter_gallery/test_driver/transitions_perf_test.dart +++ b/dev/integration_tests/flutter_gallery/test_driver/transitions_perf_test.dart @@ -13,7 +13,15 @@ import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; const FileSystem _fs = LocalFileSystem(); -const List kSkippedDemos = []; +/// The demos we don't run as part of the integration test. +/// +/// Demo names are formatted as 'DEMO_NAME@DEMO_CATEGORY' (see +/// `demo_lists.dart` for more examples). +const List kSkippedDemos = [ + // This demo is flaky on CI due to hitting the network. + // See: https://github.com/flutter/flutter/issues/100497 + 'Video@Media', +]; // All of the gallery demos, identified as "title@category". //