Skip to content
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

Update PayPal Messaging UI Test #1461

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Update PayPal Messaging UI Test #1461

merged 1 commit into from
Nov 12, 2024

Conversation

jaxdesmarais
Copy link
Contributor

Summary of changes

The test testStart_withValidRequest_firesDelegates has been failing recently. Upon investigation the text for PayPal - Pay monthly for purchases of $199-$10,000. Learn more has changed to PayPal - Pay monthly for purchases of $49-$10,000. Learn more. This is likely due to a backend change to vary the offers in some cases. Instead of just hardcoding the new value since we now know this can change, I opted to use NSPredicate for the portion of the text that we likely do not expect to change. This should hopefully keep our test more flexible with changes the messaging team may make to the text on the back end.

Checklist

  • [ ] Added a changelog entry

Authors

@jaxdesmarais jaxdesmarais requested a review from a team as a code owner November 8, 2024 15:55
@jaxdesmarais jaxdesmarais merged commit 41c4fa1 into main Nov 12, 2024
8 checks passed
@jaxdesmarais jaxdesmarais deleted the flakey-ui-tests branch November 12, 2024 16:51
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.

3 participants