Skip to content

Commit

Permalink
test: updated test files with new data test id
Browse files Browse the repository at this point in the history
  • Loading branch information
usman-deriv committed Aug 1, 2024
1 parent f4782a9 commit c6479dd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const ProfileBalance = ({ advertiserStats }: { advertiserStats: DeepPartial<TAdv
onRequestClose={() => setShouldShowAvailableBalanceModal(false)}
/>
<div className='profile-balance'>
<div className='profile-balance__block' data-testid='dt_available_balance_block'>
<div className='profile-balance__amount' data-testid='dt_available_balance_amount'>
<div>
<Text color='less-prominent' size={isDesktop ? 'sm' : 'xs'}>
<Localize i18n_default_text='Available Deriv P2P Balance' />
Expand All @@ -57,7 +57,7 @@ const ProfileBalance = ({ advertiserStats }: { advertiserStats: DeepPartial<TAdv
onClick={() => setShouldShowAvailableBalanceModal(true)}
/>
</div>
<Text data-testid='dt_available_balance_amount' size={isMobile ? '2xl' : 'xl'} weight='bold'>
<Text data-testid='dt_available_balance_amount_value' size={isMobile ? '2xl' : 'xl'} weight='bold'>
{FormatUtils.formatMoney(advertiserStats?.balance_available || 0)} USD
</Text>
</div>
Expand Down

0 comments on commit c6479dd

Please sign in to comment.