You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
The following unit tests are failing on an iPhone X simulator in release-unicorn:
testContentInsetCenter
At first glance, this appears to be an assumption in the test, that the top and bottom content insets are equal.
testContentInsetOrnaments
Although contentInset is set to 0, automaticallyAdjustsContentInset is YES, so will be reset to the safe insets (IIRC). However, even if this is set to NO the ornament constraints are still relative to the safe insets.
EDIT: Worth noting that these tests pass on an iPhone 8, which happens to be the device used in CI, hence why we haven't seen this fail PRs.
The following unit tests are failing on an iPhone X simulator in
release-unicorn
:testContentInsetCenter
At first glance, this appears to be an assumption in the test, that the top and bottom content insets are equal.
testContentInsetOrnaments
Although
contentInset
is set to 0,automaticallyAdjustsContentInset
isYES
, so will be reset to the safe insets (IIRC). However, even if this is set toNO
the ornament constraints are still relative to the safe insets.EDIT: Worth noting that these tests pass on an iPhone 8, which happens to be the device used in CI, hence why we haven't seen this fail PRs.
/cc @fabian-guerra @astojilj
The text was updated successfully, but these errors were encountered: