-
Notifications
You must be signed in to change notification settings - Fork 982
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
Embedded confirm tests #4249
Embedded confirm tests #4249
Conversation
XCTAssertTrue(app.buttons["Checkout"].isEnabled) | ||
app.buttons["Checkout"].waitForExistenceAndTap() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: probably should:
- wait for existence
- check if isEnabled
- tap
(seems to be copied to multiple tests)
let payButton = app.buttons["Confirm"] | ||
payButton.waitForExistenceAndTap() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
app.buttons["Confirm"].waitForExistenceAndTap()
let successText = app.staticTexts["Success!"] | ||
XCTAssertTrue(successText.waitForExistence(timeout: 10.0)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
XCTAssertTrue(app.staticTexts["Success!"].waitForExistence(timeout: 10.0))
Summary
Motivation
Testing
Changelog
N/A