Updated on 2026-08-14
This commit is contained in:
parent
f2e08b5652
commit
6057026588
1 changed files with 2 additions and 1 deletions
|
|
@ -169,6 +169,7 @@ class TangemPayDailyLimitTest : BaseTestCase() {
|
||||||
@Test
|
@Test
|
||||||
fun errorIsShownWhenLimitChangeFailsTest() {
|
fun errorIsShownWhenLimitChangeFailsTest() {
|
||||||
val newLimit = "5000"
|
val newLimit = "5000"
|
||||||
|
val errorTitle = getResourceString(CoreResR.string.common_something_went_wrong)
|
||||||
|
|
||||||
setupHooks(
|
setupHooks(
|
||||||
additionalBeforeSection = {
|
additionalBeforeSection = {
|
||||||
|
|
@ -191,7 +192,7 @@ class TangemPayDailyLimitTest : BaseTestCase() {
|
||||||
step("Assert limit change error dialog is displayed") {
|
step("Assert limit change error dialog is displayed") {
|
||||||
flakySafely(WAIT_UNTIL_TIMEOUT_LONG) {
|
flakySafely(WAIT_UNTIL_TIMEOUT_LONG) {
|
||||||
onDialog {
|
onDialog {
|
||||||
title.assertTextContainsSafe(getResourceString(CoreResR.string.common_something_went_wrong))
|
title.assertTextContainsSafe(errorTitle)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue