scrolling test: Skip tests against old default z-order of slivers #1480
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.)