Skip to content

UI test to catch SwiftUI regressions #1815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 10, 2023
Merged

UI test to catch SwiftUI regressions #1815

merged 4 commits into from
Jan 10, 2023

Conversation

mbrandonw
Copy link
Member

Over and over we have gotten bitten by strange SwiftUI quirks (e.g. #1800). We are going to start building a suite of UI tests to keep track of some of the assumptions we are making about how things works. These 2 tests reproduce the issue we saw where a TextField in a ForEach can sometimes write to its binding after the row has been removed, as well as the issue where the internal data of a NavigationStack can get out of whack and cause a RandomAccessCollection crash.

@stephencelis stephencelis merged commit 82d2b78 into main Jan 10, 2023
@stephencelis stephencelis deleted the ui-tests branch January 10, 2023 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants