diff --git a/app/src/androidTest/kotlin/com/tangem/tests/send/feeScreen/SendFeeScreenTest.kt b/app/src/androidTest/kotlin/com/tangem/tests/send/feeScreen/SendFeeScreenTest.kt index 6689770f70..4fb3a7e707 100644 --- a/app/src/androidTest/kotlin/com/tangem/tests/send/feeScreen/SendFeeScreenTest.kt +++ b/app/src/androidTest/kotlin/com/tangem/tests/send/feeScreen/SendFeeScreenTest.kt @@ -459,12 +459,12 @@ class SendFeeScreenTest : BaseTestCase() { step("Enter amount '$inputAmount' and open the 'Send confirm' screen") { enterAmountAndOpenSendConfirm(amount = inputAmount, recipientAddress = ETHEREUM_RECIPIENT_ADDRESS) } + waitUntilNetworkFeeIsStable { readNetworkFeeAmount() } val marketFee = getNetworkFeeAmount() step("Switch the network fee to 'Fast'") { switchFeeToFastAndApply() } assertNetworkFeeChanged(marketFee) - waitUntilNetworkFeeIsStable { readNetworkFeeAmount() } step("Sign, send and open the 'Transaction sent' screen") { openSendSuccessScreenViaLongClickOnSendButton() } diff --git a/app/src/androidTest/kotlin/com/tangem/tests/send/feeScreen/SendTokenFeeTest.kt b/app/src/androidTest/kotlin/com/tangem/tests/send/feeScreen/SendTokenFeeTest.kt index d12751c12d..8c50048abb 100644 --- a/app/src/androidTest/kotlin/com/tangem/tests/send/feeScreen/SendTokenFeeTest.kt +++ b/app/src/androidTest/kotlin/com/tangem/tests/send/feeScreen/SendTokenFeeTest.kt @@ -49,8 +49,8 @@ class SendTokenFeeTest : BaseTestCase() { step("Enter amount '$tokenAmount' and open the 'Send confirm' screen") { enterAmountAndOpenSendConfirm(amount = tokenAmount, recipientAddress = ETHEREUM_RECIPIENT_ADDRESS) } - assertNetworkFeeContains("$") waitUntilNetworkFeeIsStable { readNetworkFeeAmount() } + assertNetworkFeeContains("\$") step("Sign, send and open the 'Transaction sent' screen") { openSendSuccessScreenViaLongClickOnSendButton() } @@ -82,8 +82,8 @@ class SendTokenFeeTest : BaseTestCase() { step("Enter amount '$tokenAmount' and open the 'Send confirm' screen") { enterAmountAndOpenSendConfirm(amount = tokenAmount, recipientAddress = TERRA_RECIPIENT_ADDRESS) } - assertNetworkFeeContains("$") waitUntilNetworkFeeIsStable { readNetworkFeeAmount() } + assertNetworkFeeContains("\$") step("Sign, send and open the 'Transaction sent' screen") { openSendSuccessScreenViaLongClickOnSendButton() }