diff --git a/Example/PaymentSheet Example/PaymentSheetUITest/CustomerSheetUITest.swift b/Example/PaymentSheet Example/PaymentSheetUITest/CustomerSheetUITest.swift index c441cf7f60b..d1f33a90c66 100644 --- a/Example/PaymentSheet Example/PaymentSheetUITest/CustomerSheetUITest.swift +++ b/Example/PaymentSheet Example/PaymentSheetUITest/CustomerSheetUITest.swift @@ -708,7 +708,6 @@ class CustomerSheetUITest: XCTestCase { } // MARK: - Card Brand Choice tests -/* Temporarily disable CBC tests func testCardBrandChoiceSavedCard() { var settings = CustomerSheetTestPlaygroundSettings.defaultValues() settings.customerMode = .new @@ -852,9 +851,8 @@ class CustomerSheetUITest: XCTestCase { let successText = app.staticTexts["Complete"] XCTAssertTrue(successText.waitForExistence(timeout: 10.0)) } -*/ + // MARK: - allowsRemovalOfLastSavedPaymentMethod -/* func testRemoveLastSavedPaymentMethod() throws { var settings = CustomerSheetTestPlaygroundSettings.defaultValues() settings.merchantCountryCode = .FR @@ -915,7 +913,7 @@ class CustomerSheetUITest: XCTestCase { // ...but should not be able to remove it. XCTAssertFalse(app.buttons["Remove card"].exists) } -*/ + // MARK: - Helpers func presentCSAndAddCardFrom(buttonLabel: String, cardNumber: String? = nil, tapAdd: Bool = true) { diff --git a/Example/PaymentSheet Example/PaymentSheetUITest/PaymentSheetUITest.swift b/Example/PaymentSheet Example/PaymentSheetUITest/PaymentSheetUITest.swift index 57f75332efb..150e594fe1f 100644 --- a/Example/PaymentSheet Example/PaymentSheetUITest/PaymentSheetUITest.swift +++ b/Example/PaymentSheet Example/PaymentSheetUITest/PaymentSheetUITest.swift @@ -893,7 +893,6 @@ class PaymentSheetStandardLPMUITests: PaymentSheetUITestCase { } // MARK: Card brand choice -/* Temporarily disable CBC tests func testCardBrandChoice() throws { // Currently only our French merchant is eligible for card brand choice var settings = PaymentSheetTestPlaygroundSettings.defaultValues() @@ -1096,7 +1095,7 @@ class PaymentSheetStandardLPMUITests: PaymentSheetUITestCase { // Card should be removed XCTAssertFalse(app.staticTexts["••••1001"].waitForExistence(timeout: 5.0)) } -*/ + // This only tests the PaymentSheet + PaymentIntent flow. // Other confirmation flows are tested in PaymentSheet+LPMTests.swift func testSEPADebitPaymentMethod_PaymentSheet() {