From 46bd12dbf08031c4d2f97b72f5d47f3ad2fea491 Mon Sep 17 00:00:00 2001 From: maciek Date: Mon, 13 Feb 2023 14:24:17 +0100 Subject: [PATCH] chore: positions and collateral tables - make columns sortable - adjust tests --- apps/trading-e2e/src/integration/withdraw.cy.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/trading-e2e/src/integration/withdraw.cy.ts b/apps/trading-e2e/src/integration/withdraw.cy.ts index abe1458cf..04c416796 100644 --- a/apps/trading-e2e/src/integration/withdraw.cy.ts +++ b/apps/trading-e2e/src/integration/withdraw.cy.ts @@ -66,7 +66,7 @@ describe('withdraw form validation', { tags: '@smoke' }, () => { // 1002-WITH-004 selectAsset(ASSET_SEPOLIA_TBTC); cy.getByTestId(useMaximumAmount).click(); - cy.get(amountField).should('have.value', '1000.00000'); + cy.get(amountField).should('have.value', '1000.00001'); }); }); @@ -102,7 +102,10 @@ describe('withdraw actions', { tags: '@regression' }, () => { 'contain.text', 'Balance available' ); - cy.getByTestId('BALANCE_AVAILABLE_value').should('have.text', '1,000.00'); + cy.getByTestId('BALANCE_AVAILABLE_value').should( + 'have.text', + '1,000.00001' + ); cy.getByTestId('WITHDRAWAL_THRESHOLD_label').should( 'contain.text', 'Delayed withdrawal threshold'