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