-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f61ddf
commit 796533d
Showing
3 changed files
with
117 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Tests/SnapshotTests/Components/PayToComponentUITests.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// Copyright (c) 2025 Adyen N.V. | ||
// | ||
// This file is open source and available under the MIT license. See the LICENSE file for more info. | ||
// | ||
|
||
@_spi(AdyenInternal) @testable import Adyen | ||
@testable import AdyenComponents | ||
import AdyenDropIn | ||
import XCTest | ||
|
||
class PayToComponentUITests: XCTestCase { | ||
|
||
private lazy var paymentMethod: PayToPaymentMethod = .init( | ||
type: .payto, | ||
name: "payto" | ||
) | ||
private var context: AdyenContext { Dummy.context } | ||
private var style: FormComponentStyle { FormComponentStyle() } | ||
|
||
override func setUpWithError() throws { | ||
try super.setUpWithError() | ||
BrowserInfo.cachedUserAgent = "some_value" | ||
} | ||
|
||
// TODO: Write tests when UI is complete | ||
} |