Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-29 08:56:55 +03:00
commit 741499621e
2 changed files with 3 additions and 2 deletions

View file

@ -12,6 +12,7 @@ import com.tangem.screens.onBuyTokenDetailsScreen
import com.tangem.screens.onMainScreen
import dagger.hilt.android.testing.HiltAndroidTest
import io.qameta.allure.kotlin.AllureId
import io.qameta.allure.kotlin.Issue
import io.qameta.allure.kotlin.junit4.DisplayName
import org.junit.Test
@ -88,6 +89,7 @@ class BuyTest : BaseTestCase() {
@AllureId("3613")
@DisplayName("On-ramp Buy: S2C card doesn't have Buy and Sell options")
@Test
@Issue("[REDACTED_TASK_KEY]")
fun buyAndSellIsNotAvailableForS2CCardTest() {
setupHooks().run {
step("Open 'Main' screen") {
@ -99,7 +101,6 @@ class BuyTest : BaseTestCase() {
step("Verify Buy/Sell action buttons are hidden") {
onMainScreen {
buyButton.assertDoesNotExist()
sellButton.assertDoesNotExist()
}
}
}

View file

@ -74,7 +74,7 @@ class ReasonBlockTest : BaseTestCase() {
fun reasonBlockTokenWithdrawalUnavailableWithoutFeeCoverage() {
val userWalletsScenarioName = "user_tokens_api"
val userWalletsState = "SolanaUSDC"
val solBalanceScenarioName = "GetAccountInfoSol"
val solBalanceScenarioName = "solana_get_account_info_recipient"
val solBalanceState = "ZeroBalance"
val token = "USDC"
val feeCurrencyName = "Solana"