From 35543e91170459a18551e35239d06a907b7f9e10 Mon Sep 17 00:00:00 2001 From: Yegor Date: Wed, 29 May 2024 15:22:25 -0700 Subject: [PATCH] temporarily disable SemanticsAction tests to unblock engine change (#149274) These tests essentially count the number of values in the engine enums. https://github.com/flutter/engine/pull/53094 is adding a new value, which causes these tests to fail. Temporarily disabling these tests so that the engine change can proceed. --- packages/flutter/test/widgets/custom_painter_test.dart | 2 +- packages/flutter/test/widgets/semantics_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/test/widgets/custom_painter_test.dart b/packages/flutter/test/widgets/custom_painter_test.dart index e9320e21df..ea6534f992 100644 --- a/packages/flutter/test/widgets/custom_painter_test.dart +++ b/packages/flutter/test/widgets/custom_painter_test.dart @@ -408,7 +408,7 @@ void _defineTests() { } semantics.dispose(); - }); + }, skip: true); // TODO(yjbanov): temporary skip until https://github.com/flutter/engine/pull/53094 rolls in (see https://github.com/flutter/flutter/issues/83809) testWidgets('Supports all flags', (WidgetTester tester) async { final SemanticsTester semantics = SemanticsTester(tester); diff --git a/packages/flutter/test/widgets/semantics_test.dart b/packages/flutter/test/widgets/semantics_test.dart index 3e3459ac19..95180c8392 100644 --- a/packages/flutter/test/widgets/semantics_test.dart +++ b/packages/flutter/test/widgets/semantics_test.dart @@ -578,7 +578,7 @@ void main() { } semantics.dispose(); - }); + }, skip: true); // TODO(yjbanov): temporary skip until https://github.com/flutter/engine/pull/53094 rolls in (see https://github.com/flutter/flutter/issues/83809) testWidgets('Semantics widget supports all flags', (WidgetTester tester) async { final SemanticsTester semantics = SemanticsTester(tester);