From 2786a984b0bbc8fb3dc34a731d548b1f54736ce7 Mon Sep 17 00:00:00 2001 From: daro-maj <119658839+daro-maj@users.noreply.github.com> Date: Tue, 10 Oct 2023 11:02:09 +0200 Subject: [PATCH] test(trading): remove portfolio test (#5007) --- .../src/integration/trading-portfolio.cy.ts | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 apps/trading-e2e/src/integration/trading-portfolio.cy.ts diff --git a/apps/trading-e2e/src/integration/trading-portfolio.cy.ts b/apps/trading-e2e/src/integration/trading-portfolio.cy.ts deleted file mode 100644 index d9789117d..000000000 --- a/apps/trading-e2e/src/integration/trading-portfolio.cy.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { aliasGQLQuery } from '@vegaprotocol/cypress'; -import { partyAssetsQuery } from '@vegaprotocol/mock'; - -describe('Portfolio page', { tags: '@smoke' }, () => { - beforeEach(() => { - cy.mockGQL((req) => { - aliasGQLQuery(req, 'PartyAssets', partyAssetsQuery()); - }); - cy.mockTradingPage(); - cy.mockSubscription(); - cy.setVegaWallet(); - }); - describe('Ledger entries', () => { - it('Download form should be properly rendered', () => { - // 7007-LEEN-001 - cy.visit('/#/portfolio'); - cy.getByTestId('"Ledger entries"').click(); - cy.getByTestId('tab-ledger-entries').within(($headers) => { - cy.wrap($headers) - .getByTestId('ledger-download-button') - .should('be.visible'); - }); - }); - }); -});