Repository navigation
test(e2e): fix the iOS 17 and 26 nightly failures - #3969
Merged
Merged
Conversation
isekovanic
approved these changes
Nov 10, 2026
Contributor
|
🎉 This PR is included in version 10.0.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ticket: https://linear.app/stream/issue/RN-520
🎯 Goal
Follow-up to #3965, which moved the nightly onto Flutter's OS matrix. Its first run on the branch (42874414367) showed:
macos-15runner takes about 105 minutes, and that pass had 27 failures.🛠 Implementation details
iOS 26 and later
label + button traitstwice: a wrapper (_UIInterfaceActionCustomViewRepresentationView) and the action view (_UIAlertControllerActionView), with the same frame. Detox then fails on multiple matches, which caused 15 of the 27 failures (Delete, Block, Leave, Flag). Alert buttons are now tapped atindex: 0. I checked the matches on a local iOS 27 simulator.iOS 17
message-overlay-backdropas visible.closeContextMenunow waits for the backdrop to exist, taps a point on it away from the menu, and taps again until it is gone. This fixed 4 moderation tests.assertMessagescounts only matches on screen.waitToSettleAndClick. Message-list swipes retry while Detox reports the list as not hittable (a thread still sliding in).One SDK bug: RN-521. On iOS 17, "scroll to bottom" leaves the newest message's footer under the composer.
test_reloadsSkippedMessages_whenScrolledToTheBottomis skipped on iOS below 18 through the newitExceptOnOldIOS. That helper reads the simulator's runtime, and the Fastfile's test-id parser recognizes it.Timeout: the iOS nightly job gets 360 minutes and its test step 300, as in the Flutter nightly.
🧪 Testing
tsc -p e2eare clean.☑️ Checklist
developbranch