Skip to content

Commit

Permalink
Skip Video demo in integration tests of flutter_gallery (#100666)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso authored Mar 24, 2022
1 parent 19680c3 commit 0703096
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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".
//
Expand Down

0 comments on commit 0703096

Please sign in to comment.