From 6c1dc43cf08014761caa9c631a8c4edee96bd83c Mon Sep 17 00:00:00 2001 From: thedoublejay Date: Mon, 2 Aug 2021 13:28:31 +0800 Subject: [PATCH] updated failing tests --- .../balances/convert/convert_account_to_utxos.spec.ts | 2 +- .../balances/convert/convert_utxos_to_account.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/functional/balances/convert/convert_account_to_utxos.spec.ts b/cypress/integration/functional/balances/convert/convert_account_to_utxos.spec.ts index 094659ceb9..5a6580f327 100644 --- a/cypress/integration/functional/balances/convert/convert_account_to_utxos.spec.ts +++ b/cypress/integration/functional/balances/convert/convert_account_to_utxos.spec.ts @@ -30,7 +30,7 @@ context('wallet/balances/convert - accountToUtxos', () => { .invoke('attr', 'type', 'text') // cypress issue with numeric/decimal input, must cast .type('11.1') - cy.getByTestID('text_preview_input_value').contains('-1.1 DFI') + cy.getByTestID('text_preview_input_value').contains('0 DFI') cy.getByTestID('text_preview_output_value').contains('21.1 DFI') cy.getByTestID('button_continue_convert').should('not.be.enabled') diff --git a/cypress/integration/functional/balances/convert/convert_utxos_to_account.spec.ts b/cypress/integration/functional/balances/convert/convert_utxos_to_account.spec.ts index 8214adf20c..f0f878c7ab 100644 --- a/cypress/integration/functional/balances/convert/convert_utxos_to_account.spec.ts +++ b/cypress/integration/functional/balances/convert/convert_utxos_to_account.spec.ts @@ -28,7 +28,7 @@ context('wallet/balances/convert - utxosToAccount', () => { .invoke('attr', 'type', 'text') // cypress issue with numeric/decimal input, must cast .type('11.1') - cy.getByTestID('text_preview_input_value').contains('-1.1 DFI') + cy.getByTestID('text_preview_input_value').contains('0 DFI') cy.getByTestID('text_preview_output_value').contains('11.1 DFI') cy.getByTestID('button_continue_convert').should('not.be.enabled')