Updated on 2026-08-14
This commit is contained in:
parent
768666b267
commit
bd411ae949
5 changed files with 80 additions and 5 deletions
|
|
@ -15,11 +15,10 @@ fun BaseTestCase.scanCard(
|
|||
mockContent: MockContent? = null,
|
||||
isTwinsCard: Boolean = false,
|
||||
) {
|
||||
if (productType != null) {
|
||||
MockProvider.setMocks(productType)
|
||||
}
|
||||
if (mockContent != null) {
|
||||
MockProvider.setMocks(mockContent)
|
||||
when {
|
||||
mockContent != null -> MockProvider.setMocks(mockContent)
|
||||
productType != null -> MockProvider.setMocks(productType)
|
||||
else -> MockProvider.setMocks(ProductType.Wallet)
|
||||
}
|
||||
step("Click on 'Accept' button") {
|
||||
onDisclaimerScreen { acceptButton.clickWithAssertion() }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue