From b23b3daf63e132db351f35327c07f0f39e7c0c23 Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 24 Jun 2026 10:46:39 +0300 Subject: [PATCH 1/2] Updated on 2026-08-14 --- .../com/tangem/tests/addFunds/BuyTest.kt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/app/src/androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt b/app/src/androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt index 91f7c4781d..fe1772587c 100644 --- a/app/src/androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt +++ b/app/src/androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt @@ -3,6 +3,7 @@ package com.tangem.tests.addFunds import com.tangem.common.BaseTestCase import com.tangem.common.extensions.assertTextContainsSafe import com.tangem.common.extensions.clickWithAssertion +import com.tangem.domain.models.scan.ProductType import com.tangem.scenarios.openMainScreen import com.tangem.scenarios.synchronizeAddresses import com.tangem.screens.onAddTokenBottomSheet @@ -83,4 +84,24 @@ class BuyTest : BaseTestCase() { } } } + + @AllureId("3613") + @DisplayName("On-ramp Buy: S2C card hasn't Buy and Sell options") + @Test + fun buyAndSellIsNotAvailableForS2CCardTest() { + setupHooks().run { + step("Open 'Main' screen") { + openMainScreen(productType = ProductType.Start2Coin) + } + step("Verify 'Add funds' button is display") { + onMainScreen { addFundsButton.assertIsDisplayed() } + } + step("Verify Buy/Sell action buttons are hidden") { + onMainScreen { + buyButton.assertDoesNotExist() + sellButton.assertDoesNotExist() + } + } + } + } } \ No newline at end of file From 553139ee3b41181dd16975470ae5ee233c907869 Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 24 Jun 2026 11:07:19 +0300 Subject: [PATCH 2/2] Updated on 2026-08-14 --- .../androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt b/app/src/androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt index fe1772587c..17e994c3dc 100644 --- a/app/src/androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt +++ b/app/src/androidTest/kotlin/com/tangem/tests/addFunds/BuyTest.kt @@ -86,14 +86,14 @@ class BuyTest : BaseTestCase() { } @AllureId("3613") - @DisplayName("On-ramp Buy: S2C card hasn't Buy and Sell options") + @DisplayName("On-ramp Buy: S2C card doesn't have Buy and Sell options") @Test fun buyAndSellIsNotAvailableForS2CCardTest() { setupHooks().run { step("Open 'Main' screen") { openMainScreen(productType = ProductType.Start2Coin) } - step("Verify 'Add funds' button is display") { + step("Verify 'Add funds' button is displayed") { onMainScreen { addFundsButton.assertIsDisplayed() } } step("Verify Buy/Sell action buttons are hidden") {