diff --git a/apps/trading-e2e/src/integration/capsule.cy.ts b/apps/trading-e2e/src/integration/capsule.cy.ts index bc92fc6c9..d6cbc3cd6 100644 --- a/apps/trading-e2e/src/integration/capsule.cy.ts +++ b/apps/trading-e2e/src/integration/capsule.cy.ts @@ -282,7 +282,6 @@ describe('capsule', { tags: '@slow' }, () => { }); }); }); - // comment because of bug #2695 it('can edit order', function () { cy.getByTestId(ordersTab).click(); cy.getByTestId('edit').first().should('be.visible').click(); diff --git a/apps/trading-e2e/src/integration/live-env.cy.ts b/apps/trading-e2e/src/integration/live-env.cy.ts index bca7b539a..aa70fd337 100644 --- a/apps/trading-e2e/src/integration/live-env.cy.ts +++ b/apps/trading-e2e/src/integration/live-env.cy.ts @@ -52,6 +52,8 @@ describe('Console - market list - live env', { tags: '@live' }, () => { describe('Console - market info - live env', { tags: '@live' }, () => { before(() => { cy.visit('/'); + cy.contains('Loading market data...').should('not.exist'); + cy.getByTestId('link').should('be.visible'); cy.getByTestId('dialog-close').click(); cy.getByTestId(marketInfoBtn).click(); }); @@ -68,17 +70,20 @@ describe('Console - market info - live env', { tags: '@live' }, () => { 'Risk model', 'Risk parameters', 'Risk factors', - 'Price monitoring trigger 1', + 'Price monitoring bounds 1', 'Liquidity monitoring parameters', 'Liquidity', + 'Liquidity price range', 'Oracle', 'Proposal', ]; it('market info titles are displayed', () => { - cy.get('.text-lg').each((element, index) => { - cy.wrap(element).should('have.text', titles[index]); - }); + cy.getByTestId('split-view-view') + .find('.text-lg') + .each((element, index) => { + cy.wrap(element).should('have.text', titles[index]); + }); }); it('market info subtitles are displayed', () => { @@ -205,6 +210,8 @@ describe('Console - markets table - live env', { tags: '@live' }, () => { }); function openMarketDropDown() { + cy.contains('Loading...').should('not.exist'); + cy.getByTestId('link').should('be.visible'); cy.getByTestId('dialog-close').click(); cy.getByTestId('popover-trigger').click(); cy.contains('Loading market data...').should('not.exist'); diff --git a/apps/trading-e2e/src/integration/market-info.cy.ts b/apps/trading-e2e/src/integration/market-info.cy.ts index e51b14afb..5a5463db5 100644 --- a/apps/trading-e2e/src/integration/market-info.cy.ts +++ b/apps/trading-e2e/src/integration/market-info.cy.ts @@ -75,8 +75,7 @@ describe('market info is displayed', { tags: '@smoke' }, () => { validateMarketDataRow(3, 'Quote Name', 'BTC'); }); - // need to check why data are not visible - it.skip('settlement asset displayed', () => { + it('settlement asset displayed', () => { cy.getByTestId(marketTitle).contains('Settlement asset').click(); cy.window().then((win) => { cy.stub(win, 'prompt').returns('DISABLED WINDOW PROMPT');