Updated on 2026-08-14

This commit is contained in:
Tangem 2026-03-30 11:22:26 +03:00
parent 203b1c52cc
commit 9bde46f408
2 changed files with 2 additions and 6 deletions

View file

@ -165,10 +165,6 @@ class SwapTokenPageObject(semanticsProvider: SemanticsNodeInteractionsProvider)
hasTestTag(SwapTokenScreenTestTags.RECEIVE_FIAT_AMOUNT)
}
val receiveFiatAmountWithPriceImpactWarning: KNode = child {
hasTestTag(SwapTokenScreenTestTags.RECEIVE_FIAT_AMOUNT_WITH_PRICE_IMPACT_WARNING)
}
val receiveFiatAmountInformationIcon: KNode = child {
hasTestTag(SwapTokenScreenTestTags.RECEIVE_FIAT_AMOUNT_INFORMATION_ICON)
useUnmergedTree = true

View file

@ -206,7 +206,7 @@ class SwapTokenScreenWarningsTest : BaseTestCase() {
flakySafely(WAIT_UNTIL_TIMEOUT_LONG) {
onSwapTokenScreen {
waitForIdle()
receiveFiatAmountWithPriceImpactWarning.assertTextContains("%", substring = true)
receiveFiatAmount.assertTextContains("%", substring = true)
}
}
}
@ -288,7 +288,7 @@ class SwapTokenScreenWarningsTest : BaseTestCase() {
}
}
step("Assert fiat amount with warning is displayed") {
onSwapTokenScreen { receiveFiatAmountWithPriceImpactWarning.assertTextContains("%", substring = true) }
onSwapTokenScreen { receiveFiatAmount.assertTextContains("%", substring = true) }
}
step("Assert receive amount information icon is displayed") {
onSwapTokenScreen { receiveFiatAmountInformationIcon.assertIsDisplayed() }