Repository navigation
[web] Unskip 6 passing framework tests across painting and widgets - #193171
Conversation
…ainting, and widgets Unskips 17 tests across 7 test files that were previously skipped on web (`skip: isBrowser` / `skip: kIsWeb`) due to issues that have since been resolved (such as HTML renderer removal and StrutStyle/ImageFilter support): - `test/cupertino/adaptive_text_selection_toolbar_test.dart`: Unskips 3 tests (flutter#108382, closed) - `test/cupertino/text_field_test.dart`: Unskips 3 strut style tests (flutter#32243, closed) - `test/material/bottom_app_bar_test.dart`: Unskips 2 custom shape golden tests (flutter#44572, closed; verified 99.8% pixel match against Linux Skia Gold baseline) - `test/material/text_field_test.dart`: Unskips 3 strut style tests (flutter#32243, closed) - `test/painting/notched_shapes_test.dart`: Unskips 1 Path.combine test (flutter#44572, closed) - `test/painting/system_fonts_test.dart`: Unskips 3 CupertinoDatePicker system font tests (flutter#41920, closed) - `test/widgets/image_filter_test.dart`: Unskips 2 ImageFilter.dilate/erode golden tests (flutter#101874, closed; verified 99.0%-100% pixel match against Linux Skia Gold baseline) TAG=agy CONV=2b17fd22-3b50-437d-bf9a-4077924956f1
There was a problem hiding this comment.
Code Review
This pull request removes the skip: isBrowser and skip: kIsWeb conditions, along with related TODO comments, from multiple test files across the Cupertino, Material, painting, and widgets packages, enabling these tests to run on web platforms. There are no review comments, and I have no feedback to provide.
|
This pull request contains changes to Material or Cupertino, which are currently frozen in this repository. Changes should be made in Please refer to #188444 for instructions. |
Removing the trailing `skip:` argument lets `dart format` collapse these `testWidgets(...)` calls back into the standard trailing-closure style. TAG=agy CONV=2ef6722f-0cc3-4e2c-bfe0-769079846fee
The previous formatting commit was produced with a stale Dart SDK from an older checkout, which reflowed untouched code (e.g. the `FormatEditUpdateCallback` typedef) into the wrong style. This re-formats with the SDK matching this branch's engine hash, so the diff is now limited to the unskipped tests. TAG=agy CONV=2ef6722f-0cc3-4e2c-bfe0-769079846fee
|
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
…utter/packages`)
…toolbar_test and text_field_test (#12984) Unskips 5 tests across 2 `cupertino_ui` test files that were previously skipped on the web (`skip: isBrowser`) due to issues that have since been resolved (removal of the HTML renderer and support for `StrutStyle` in CanvasKit/Skwasm): - `packages/cupertino_ui/test/adaptive_text_selection_toolbar_test.dart`: Unskips 3 tests (flutter/flutter#108382 — closed) - `packages/cupertino_ui/test/text_field_test.dart`: Unskips 2 strut style tests (flutter/flutter#32243 — closed) Split out from flutter/flutter#193171 per flutter/flutter#188444. ## Pre-Review Checklist
|
autosubmit label was removed for flutter/flutter/193171, because - The status or check suite Dashboard Checks has failed. Please fix the issues identified (or deflake) before re-applying this label. |
…ext_field_test (#12983) Unskips 5 tests across 2 `material_ui` test files that were previously skipped on the web (`skip: isBrowser`) due to issues that have since been resolved (support for `Path.combine` custom shapes and `StrutStyle` in CanvasKit/Skwasm): - `packages/material_ui/test/bottom_app_bar_test.dart`: Unskips 2 custom shape golden tests (flutter/flutter#44572 — closed; verified 99.8% pixel match locally on Chrome against the Linux Skia Gold baseline) - `packages/material_ui/test/text_field_test.dart`: Unskips 3 strut style tests (flutter/flutter#32243 — closed) Split out from flutter/flutter#193171 per flutter/flutter#188444. ## Pre-Review Checklist
|
autosubmit label was removed for flutter/flutter/193171, because - The status or check suite Dashboard Checks has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
Golden file changes are available for triage from new commit, Click here to view. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
…toolbar_test and text_field_test (flutter#12984) Unskips 5 tests across 2 `cupertino_ui` test files that were previously skipped on the web (`skip: isBrowser`) due to issues that have since been resolved (removal of the HTML renderer and support for `StrutStyle` in CanvasKit/Skwasm): - `packages/cupertino_ui/test/adaptive_text_selection_toolbar_test.dart`: Unskips 3 tests (flutter/flutter#108382 — closed) - `packages/cupertino_ui/test/text_field_test.dart`: Unskips 2 strut style tests (flutter/flutter#32243 — closed) Split out from flutter/flutter#193171 per flutter/flutter#188444. ## Pre-Review Checklist
…ext_field_test (flutter#12983) Unskips 5 tests across 2 `material_ui` test files that were previously skipped on the web (`skip: isBrowser`) due to issues that have since been resolved (support for `Path.combine` custom shapes and `StrutStyle` in CanvasKit/Skwasm): - `packages/material_ui/test/bottom_app_bar_test.dart`: Unskips 2 custom shape golden tests (flutter/flutter#44572 — closed; verified 99.8% pixel match locally on Chrome against the Linux Skia Gold baseline) - `packages/material_ui/test/text_field_test.dart`: Unskips 3 strut style tests (flutter/flutter#32243 — closed) Split out from flutter/flutter#193171 per flutter/flutter#188444. ## Pre-Review Checklist
Unskips 6 tests across 3 core framework test files that were previously skipped on the web (
skip: isBrowser/skip: kIsWeb) due to issues that have since been resolved (such as the removal of the HTML renderer and support forPath.combineandImageFilterin CanvasKit/Skwasm):packages/flutter/test/painting/notched_shapes_test.dart: Unskips 1Path.combinetest (Path.combine not implemented in the HTML backend #44572 — closed)packages/flutter/test/painting/system_fonts_test.dart: Unskips 3CupertinoDatePickersystem font tests (Fix cupertino tests and enable them on CI in Web mode #41920 — closed)packages/flutter/test/widgets/image_filter_test.dart: Unskips 2ImageFilter.dilate/ImageFilter.erodegolden tests (ImageFilter.dilate/ImageFilter.erode not supported on the web. #101874 — closed; verified 99.0%–100% pixel match locally on Chrome against the Linux Skia Gold baseline)(Note: The
cupertinoandmaterialtest unskips originally included in this PR have been reverted here and split out tocupertino_uiandmaterial_uiinflutter/packagesper #188444.)Pre-launch Checklist
///).