test(trading): chart depth e2e tests (#4171)
This commit is contained in:
parent
445a085190
commit
2c2bc391e8
15
apps/trading-e2e/src/integration/charts-depth.cy.ts
Normal file
15
apps/trading-e2e/src/integration/charts-depth.cy.ts
Normal file
@ -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');
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user