From 5987563e4aecb34fca446ea804943bb8d27d8fcd Mon Sep 17 00:00:00 2001 From: Yegor Date: Thu, 18 Jan 2024 15:55:33 -0800 Subject: [PATCH] enable more tests in web mode (#141791) - Unskip `text_style_test` for CanvasKit. - Remove no longer necessary `kIsWeb` checks in a few tests. This PR depends on https://github.com/flutter/engine/pull/49786, which rolled into the framework. If the engine PR needs to be reverted, this PR will need to be reverted too. --- dev/bots/test.dart | 1 - packages/flutter/test/painting/decoration_test.dart | 5 +---- packages/flutter/test/painting/text_style_test.dart | 4 +--- packages/flutter/test/rendering/layers_test.dart | 11 ++++------- 4 files changed, 6 insertions(+), 15 deletions(-) diff --git a/dev/bots/test.dart b/dev/bots/test.dart index d505fd1abff..5c886534a63 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -160,7 +160,6 @@ const Map> kWebTestFileKnownFailures = info = getDebugInfo(layer); - // TODO(yjbanov): remove kIsWeb when https://github.com/flutter/engine/pull/49786 rolls in - if (!kIsWeb) { - expect( - info, - contains('filter: ImageFilter.blur(${1.0}, ${1.0}, repeated)'), - ); - } + expect( + info, + contains('filter: ImageFilter.blur(${1.0}, ${1.0}, repeated)'), + ); expect(info, contains('blendMode: clear')); });