Skip to content

Conversation

@gnprice
Copy link
Member

@gnprice gnprice commented Apr 23, 2025

These two tests on CustomPaintOrderScrollView compare its behavior to the default z-order / paint order behavior of CustomScrollView. They'd therefore be broken by my upstream PR that gives CustomScrollView the functionality of CustomPaintOrderScrollView and simplifies its default behavior:
flutter/flutter#164818

So skip the tests. Once that PR lands, we can update past it and then remove CustomPaintOrderScrollView and its tests entirely.

(The customer_tests failures currently seen on the upstream PR are different, because the Zulip pin in flutter/tests is currently at d302584. The failures there are in the sticky_header tests, which want to exercise a variety of sliver configurations and need to control the z-order when they do so. As of d302584, they did so by relying on the specifics of the existing CustomScrollView behavior. Since then we merged CustomPaintOrderScrollView, and in 49eff8b adapted those tests to use it, making them immune to changes in the default z-order; but that also meant adding CustomPaintOrderScrollView's own tests, including these two.)

These two tests on CustomPaintOrderScrollView compare its behavior
to the default z-order / paint order behavior of CustomScrollView.
They'd therefore be broken by my upstream PR that gives
CustomScrollView the functionality of CustomPaintOrderScrollView
and simplifies its default behavior:
  flutter/flutter#164818

So skip the tests.  Once that PR lands, we can update past it and
then remove CustomPaintOrderScrollView and its tests entirely.

(The customer_tests failures currently seen on the upstream PR are
different, because the Zulip pin in flutter/tests is currently at
d302584.  The failures there are in the sticky_header tests, which
want to exercise a variety of sliver configurations and need to
control the z-order when they do so.  As of d302584, they did so
by relying on the specifics of the existing CustomScrollView
behavior.  Since then we merged CustomPaintOrderScrollView, and in
49eff8b adapted those tests to use it, making them immune to
changes in the default z-order; but that also meant adding
CustomPaintOrderScrollView's own tests, including these two.)
@gnprice gnprice added the maintainer review PR ready for review by Zulip maintainers label Apr 23, 2025
@chrisbobbe chrisbobbe merged commit 88e7bcc into zulip:main Apr 23, 2025
1 check passed
@chrisbobbe
Copy link
Collaborator

Thanks, LGTM! Merged.

gnprice added a commit to gnprice/flutter_customer_testing that referenced this pull request Apr 23, 2025
This updates to the following change in Zulip:
  zulip/zulip-flutter#1480
  zulip/zulip-flutter@88e7bcc

in order to unblock this PR:
  flutter/flutter#164818
@gnprice gnprice deleted the pr-sliver-z-order branch April 23, 2025 23:35
auto-submit bot pushed a commit to flutter/tests that referenced this pull request Apr 24, 2025
This updates to the following change in Zulip:
  zulip/zulip-flutter#1480
  zulip/zulip-flutter@88e7bcc

in order to unblock this PR:
  flutter/flutter#164818

> [!IMPORTANT]
> This repository is a testing suite that contains references to tests (in the `registry` directory) that are run with every commit to Flutter
> to verify that no breaking changes have been introduced (in the "customer_testing" shards). Your merged PR is _not_ automatically run in the
> Flutter CI tree.
>
> After merging this PR, you must send another PR to flutter/flutter updating `dev/customer_testing/tests.version` in that repo with the latest git commit SHA of the flutter/test repo.
>
> See <flutter/flutter#162048> for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer review PR ready for review by Zulip maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants