Updated on 2026-08-14
This commit is contained in:
parent
6caeea3576
commit
68e8215e50
10 changed files with 302 additions and 7 deletions
|
|
@ -34,6 +34,19 @@ fun BaseTestCase.openTangemPayCardPage() {
|
|||
}
|
||||
}
|
||||
|
||||
/** Opens the card page and taps 'Change' on the daily limit block to reach the limit setup screen. */
|
||||
fun BaseTestCase.openTangemPayDailyLimitSetup() {
|
||||
openTangemPayCardPage()
|
||||
step("Click on 'Change' daily limit button") {
|
||||
awaitSuccess { onTangemPayCardPageScreen { dailyLimitChangeButton.assertIsDisplayed() } }
|
||||
onTangemPayCardPageScreen { dailyLimitChangeButton.performClick() }
|
||||
}
|
||||
step("Assert daily limit setup screen is displayed") {
|
||||
awaitSuccess { onTangemPayDailyLimitScreen { amountField.assertIsDisplayed() } }
|
||||
onTangemPayDailyLimitScreen { setLimitsButton.assertIsDisplayed() }
|
||||
}
|
||||
}
|
||||
|
||||
/** From the card page, opens the 'Replace card' reissue bottom sheet via the 'More' menu. */
|
||||
fun BaseTestCase.openReissueSheet() {
|
||||
step("Click on 'More' button") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue