Skip Video demo in integration tests of flutter_gallery (#100666)
This commit is contained in:
parent
19680c34cc
commit
070309687e
@ -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<String> kSkippedDemos = <String>[
|
||||
// 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
|
||||
|
@ -13,7 +13,15 @@ import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
|
||||
|
||||
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".
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user