Skip to content

ci: Stabilize SwiftUI auth UI tests#1334

Merged
russellwheatley merged 4 commits intomainfrom
fix-ci
Apr 2, 2026
Merged

ci: Stabilize SwiftUI auth UI tests#1334
russellwheatley merged 4 commits intomainfrom
fix-ci

Conversation

@russellwheatley
Copy link
Copy Markdown
Member

Hardened the SwiftUI UI tests by fixing password-save prompt dismissal, making MFA navigation and emulator lookups more resilient, and replacing one remaining flaky paste-menu interaction with the shared helper so the full FirebaseSwiftUIExampleUITests suite passes reliably.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request improves the reliability and flexibility of E2E tests by refactoring UI interactions, increasing timeouts, and implementing a dynamic project ID lookup for the Firebase Auth emulator. Key changes include the introduction of helper functions for pasting text and navigating to MFA management, as well as updating SMS and OOB code retrieval to iterate through multiple candidate project IDs. Feedback was provided to improve the resilience of these new lookup loops, as certain errors (such as decoding failures or non-200 HTTP responses) currently terminate the search prematurely instead of continuing to the next candidate project.

@russellwheatley russellwheatley marked this pull request as ready for review April 2, 2026 15:29
@russellwheatley russellwheatley merged commit 937da2a into main Apr 2, 2026
11 of 12 checks passed
@russellwheatley russellwheatley deleted the fix-ci branch April 2, 2026 15:33
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