Skip to content

Commit bf0e74c

Browse files
committed
update picket class on test
1 parent 4763a7f commit bf0e74c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Adyen.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2732,11 +2732,11 @@
27322732
000888762D4CF5DB009C03E1 /* PayTo */ = {
27332733
isa = PBXGroup;
27342734
children = (
2735-
A01948332D8827A300AA27AC /* PayToFormPickerItemView.swift */,
27362735
000888772D4CF5F5009C03E1 /* PayToComponent.swift */,
27372736
A0BFBB532D6F2670003F543E /* PayToItemsProvider.swift */,
27382737
A0BFBB552D6F45AB003F543E /* PayToPayIdentifier.swift */,
27392738
A0BFBB572D75FD44003F543E /* PayToDetails.swift */,
2739+
A01948332D8827A300AA27AC /* PayToFormPickerItemView.swift */,
27402740
);
27412741
path = PayTo;
27422742
sourceTree = "<group>";

Tests/IntegrationTests/Components Tests/PayTo/PayToComponentTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,11 @@ class PayToComponentTests: XCTestCase {
101101
sut.viewController.loadViewIfNeeded()
102102

103103
// Check by accessibility identifier
104-
let identifierPickerItem: BaseFormPickerItemView<FormStringPickerElement> = try XCTUnwrap(sut.viewController.view.findView(with: "AdyenComponents.PayToComponent.identifierPicker"))
104+
let identifierPickerItem: PayToFormPickerItemView = try XCTUnwrap(sut.viewController.view.findView(with: "AdyenComponents.PayToComponent.identifierPicker"))
105105

106106
// Then
107107
XCTAssertNotNil(identifierPickerItem, "identifier picker should exist")
108+
XCTAssertFalse(identifierPickerItem.canBecomeFirstResponder)
108109
}
109110

110111
func test_firstname_textfield() throws {

0 commit comments

Comments
 (0)