Skip to content

Commit

Permalink
reverted change
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Guretzki committed Nov 7, 2024
1 parent 6b7fd92 commit 0471948
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/IntegrationTests/Card Tests/CardComponentTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -446,12 +446,13 @@ class CardComponentTests: XCTestCase {
configuration: configuration
)

presentOnRoot(component.viewController)
setupRootViewController(component.viewController)

let switchView: UISwitch = try XCTUnwrap(component.viewController.view.findView(with: "AdyenCard.CardComponent.storeDetailsItem.switch"))
let securityCodeItemView: FormTextItemView<FormCardSecurityCodeItem> = try XCTUnwrap(component.viewController.view.findView(with: "AdyenCard.CardComponent.securityCodeItem"))

wait(until: switchView, at: \.onTintColor, is: tintColor)

wait(until: securityCodeItemView, at: \.titleLabel.textColor, is: titleColor)

try withoutAnimation {
Expand Down

0 comments on commit 0471948

Please sign in to comment.