We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3628360 commit 55b5eecCopy full SHA for 55b5eec
Example/PaymentSheet Example/PaymentSheetUITest/EmbeddedUITest.swift
@@ -672,7 +672,10 @@ class EmbeddedUITests: PaymentSheetUITestCase {
672
app.buttons["Present embedded payment element"].waitForExistenceAndTap()
673
674
app.buttons["Apple Pay"].waitForExistenceAndTap()
675
+ app.swipeUp() // scroll to see the checkout button
676
+ XCTAssertTrue(app.buttons["Checkout"].waitForExistence(timeout: 10))
677
app.buttons["Checkout"].waitForExistenceAndTap()
678
+ XCTAssertTrue(app.buttons["Checkout"].isEnabled)
679
payWithApplePay()
680
XCTAssertTrue(app.staticTexts["Success!"].waitForExistence(timeout: 10))
681
0 commit comments