From 8d39685d202ecb3b96bb842a3e6cfd734c804e5e Mon Sep 17 00:00:00 2001 From: maciek Date: Thu, 13 Apr 2023 13:26:08 +0200 Subject: [PATCH] chore: make query for assets list lighter - add int test --- apps/trading-e2e/src/integration/trading-accounts.cy.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/trading-e2e/src/integration/trading-accounts.cy.ts b/apps/trading-e2e/src/integration/trading-accounts.cy.ts index c0e142b2d..e2f9a1dea 100644 --- a/apps/trading-e2e/src/integration/trading-accounts.cy.ts +++ b/apps/trading-e2e/src/integration/trading-accounts.cy.ts @@ -41,6 +41,12 @@ describe('accounts', { tags: '@smoke' }, () => { .should('have.text', '100,001.01'); }); + it('asset detail should be properly rendered', () => { + cy.getByTestId('Collateral').click(); + cy.getByTestId('asset').contains('tEURO').click(); + cy.get('[data-testid$="_label"]').should('have.length', 16); + }); + describe('sorting by ag-grid columns should work well', () => { it('sorting by asset', () => { cy.getByTestId('Collateral').click();