added locators for compliance

This commit is contained in:
Roman Kasinsky 2022-06-13 18:34:24 +03:00 committed by Danil Kovtonyuk
parent 6d56ed2405
commit d7124a79c7

View File

@ -13,6 +13,7 @@
<div class="label">{{ $t('note') }}</div> <div class="label">{{ $t('note') }}</div>
<b-input <b-input
v-model="withdrawNote" v-model="withdrawNote"
data-test="input_enter_note_for_compliance"
:placeholder="$t('pleaseEnterYourNote')" :placeholder="$t('pleaseEnterYourNote')"
:custom-class="error ? error.type : 'is-primary'" :custom-class="error ? error.type : 'is-primary'"
></b-input> ></b-input>
@ -44,6 +45,7 @@
</h3> </h3>
<div <div
class="block-item block-item--status" class="block-item block-item--status"
data-test="note_status_info"
:class="{ :class="{
'is-success': txDepositInfo.txHash 'is-success': txDepositInfo.txHash
}" }"
@ -118,6 +120,7 @@
</h3> </h3>
<div <div
class="block-item block-item--status" class="block-item block-item--status"
data-test="info_withdrawal_status"
:class="{ :class="{
'is-warning': !txDepositInfo.isSpent, 'is-warning': !txDepositInfo.isSpent,
'is-success': txWithdrawalInfo.txHash 'is-success': txWithdrawalInfo.txHash