Updated on 2026-08-14
This commit is contained in:
parent
024c5f79ec
commit
a524182b7d
1 changed files with 2 additions and 4 deletions
|
|
@ -259,14 +259,13 @@ class TangemPayTest : BaseTestCase() {
|
||||||
|
|
||||||
setupHooks(
|
setupHooks(
|
||||||
additionalBeforeSection = {
|
additionalBeforeSection = {
|
||||||
resetWireMockScenarios()
|
|
||||||
setWireMockScenarioState(TANGEM_PAY_ELIGIBILITY_SCENARIO, eligibilityState)
|
setWireMockScenarioState(TANGEM_PAY_ELIGIBILITY_SCENARIO, eligibilityState)
|
||||||
},
|
},
|
||||||
additionalAfterSection = {
|
additionalAfterSection = {
|
||||||
resetWireMockScenarioState(TANGEM_PAY_ELIGIBILITY_SCENARIO)
|
resetWireMockScenarioState(TANGEM_PAY_ELIGIBILITY_SCENARIO)
|
||||||
},
|
},
|
||||||
).run {
|
).run {
|
||||||
openTangemPay()
|
step("Open Tangem Pay") { openTangemPay() }
|
||||||
step("Click on 'More actions' button") {
|
step("Click on 'More actions' button") {
|
||||||
onTangemPayMainScreen { moreActionsButton.clickWithAssertion() }
|
onTangemPayMainScreen { moreActionsButton.clickWithAssertion() }
|
||||||
}
|
}
|
||||||
|
|
@ -295,7 +294,6 @@ class TangemPayTest : BaseTestCase() {
|
||||||
|
|
||||||
setupHooks(
|
setupHooks(
|
||||||
additionalBeforeSection = {
|
additionalBeforeSection = {
|
||||||
resetWireMockScenarios()
|
|
||||||
setWireMockScenarioState(TANGEM_PAY_ELIGIBILITY_SCENARIO, eligibilityState)
|
setWireMockScenarioState(TANGEM_PAY_ELIGIBILITY_SCENARIO, eligibilityState)
|
||||||
setWireMockScenarioState(depositAddressScenario, noDepositAddressState)
|
setWireMockScenarioState(depositAddressScenario, noDepositAddressState)
|
||||||
},
|
},
|
||||||
|
|
@ -304,7 +302,7 @@ class TangemPayTest : BaseTestCase() {
|
||||||
resetWireMockScenarioState(depositAddressScenario)
|
resetWireMockScenarioState(depositAddressScenario)
|
||||||
},
|
},
|
||||||
).run {
|
).run {
|
||||||
openTangemPay()
|
step("Open Tangem Pay") { openTangemPay() }
|
||||||
step("Click on 'Add funds' button") {
|
step("Click on 'Add funds' button") {
|
||||||
onTangemPayMainScreen { topUpButton.clickWithAssertion() }
|
onTangemPayMainScreen { topUpButton.clickWithAssertion() }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue