diff --git a/packages/devtools_app/test/shared/primitives/simple_items_test.dart b/packages/devtools_app/test/shared/primitives/simple_items_test.dart index 2dc161fae64..0426182aaa3 100644 --- a/packages/devtools_app/test/shared/primitives/simple_items_test.dart +++ b/packages/devtools_app/test/shared/primitives/simple_items_test.dart @@ -3,18 +3,25 @@ // found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd. import 'package:devtools_app/src/shared/primitives/simple_items.dart'; +import 'package:devtools_test/helpers.dart'; import 'package:flutter_test/flutter_test.dart'; import '../../test_infra/utils/test_utils.dart'; void main() { for (final link in DocLinks.values) { - test('$link is not broken', () async { - final content = await loadPageHtmlContent(link.value); - final hash = link.hash; - if (hash != null) { - expect(content, contains('href="#$hash"')); - } - }); + test( + '$link is not broken', + () async { + final content = await loadPageHtmlContent(link.value); + final hash = link.hash; + if (hash != null) { + expect(content, contains('href="#$hash"')); + } + }, + // This test hits the network, which is a violation of Flutter customer + // tests policy: https://github.com/flutter/tests?tab=readme-ov-file#adding-more-tests. + tags: skipForCustomerTestsTag, + ); } }