From 555f6e2a6d2bf8cdad213890f5f0a6bc0b58a3e2 Mon Sep 17 00:00:00 2001 From: Joe Tsang <30622993+jtsang586@users.noreply.github.com> Date: Fri, 6 Oct 2023 10:20:12 +0100 Subject: [PATCH] chore(explorer): fix failing market test (#4992) --- apps/explorer-e2e/src/integration/market.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/explorer-e2e/src/integration/market.cy.js b/apps/explorer-e2e/src/integration/market.cy.js index 301749e8e..e0eeab954 100644 --- a/apps/explorer-e2e/src/integration/market.cy.js +++ b/apps/explorer-e2e/src/integration/market.cy.js @@ -36,7 +36,7 @@ context('Market page', { tags: '@regression' }, function () { it('Able to go to market details page', function () { cy.navigate_to('markets'); - cy.get_element_by_col_id('actions').eq(1).click(); + cy.contains('Test market 1').click(); cy.getByTestId(marketHeaders).should('have.text', 'Test market 1'); cy.validate_element_from_table('Name', 'Test market 1'); cy.validate_element_from_table('Market ID', this.createdMarketId); @@ -90,7 +90,7 @@ context('Market page', { tags: '@regression' }, function () { // Liquidity price range cy.validate_element_from_table( 'Liquidity Price Range', - '1,000.00% of mid price' + '95.00% of mid price' ); cy.validate_element_from_table('Lowest Price', '0.00 fUSDC'); cy.validate_element_from_table('Highest Price', '0.00 fUSDC');