Unverified Commit 07030968 authored by Zachary Anderson's avatar Zachary Anderson Committed by GitHub

Skip Video demo in integration tests of flutter_gallery (#100666)

parent 19680c34
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter_gallery/demo_lists.dart'; import 'package:flutter_gallery/demo_lists.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
...@@ -12,9 +11,9 @@ 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 names are formatted as 'DEMO_NAME@DEMO_CATEGORY' (see
/// `demo_lists.dart` for more examples). /// `demo_lists.dart` for more examples).
final List<String> kSkippedDemos = <String>[ final List<String> kSkippedDemos = <String>[
// The CI uses Chromium, which lacks the video codecs to run this demo. // This demo is flaky on CI due to hitting the network.
if (kIsWeb) // See: https://github.com/flutter/flutter/issues/100497
'Video@Media', 'Video@Media',
]; ];
/// Scrolls each demo menu item into view, launches it, then returns to the /// Scrolls each demo menu item into view, launches it, then returns to the
......
...@@ -13,7 +13,15 @@ import 'package:test/test.dart' hide TypeMatcher, isInstanceOf; ...@@ -13,7 +13,15 @@ import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
const FileSystem _fs = LocalFileSystem(); const FileSystem _fs = LocalFileSystem();
const List<String> kSkippedDemos = <String>[]; /// 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<String> kSkippedDemos = <String>[
// 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". // All of the gallery demos, identified as "title@category".
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment