diff --git a/apps/trading-e2e/src/integration/charts-depth.cy.ts b/apps/trading-e2e/src/integration/charts-depth.cy.ts new file mode 100644 index 000000000..a68dbbe01 --- /dev/null +++ b/apps/trading-e2e/src/integration/charts-depth.cy.ts @@ -0,0 +1,15 @@ +describe('charts', { tags: '@smoke' }, () => { + before(() => { + cy.mockTradingPage(); + cy.mockSubscription(); + cy.visit('/#/markets/market-0'); + cy.wait('@Markets'); + cy.getByTestId('Depth').click(); + }); + + it('can see market depth chart', () => { + // 6006-DEPC-001 + cy.getByTestId('tab-depth').should('be.visible'); + cy.get('.depth-chart-module_canvas__260De').should('be.visible'); + }); +});