diff --git a/apps/trading/e2e/tests/market/test_market_selector.py b/apps/trading/e2e/tests/market/test_market_selector.py index c0a1e878e..21602c2de 100644 --- a/apps/trading/e2e/tests/market/test_market_selector.py +++ b/apps/trading/e2e/tests/market/test_market_selector.py @@ -59,7 +59,7 @@ def test_market_selector_filter(continuous_market, page: Page): page.get_by_test_id("search-term").fill("btc") expect(page.locator('[data-testid="market-selector-list"] a')).to_have_count(1) expect(page.locator('[data-testid="market-selector-list"] a').nth(0)).to_have_text( - "BTC:DAI_2023107.50 tDAI1" + "BTC:DAI_2023107.50 tDAI0.00" ) page.get_by_test_id("search-term").clear() @@ -84,5 +84,5 @@ def test_market_selector_filter(continuous_market, page: Page): page.get_by_role("menuitemcheckbox").nth(0).get_by_text("tDAI").click() expect(page.locator('[data-testid="market-selector-list"] a')).to_have_count(1) expect(page.locator('[data-testid="market-selector-list"] a').nth(0)).to_have_text( - "BTC:DAI_2023107.50 tDAI1" + "BTC:DAI_2023107.50 tDAI0.00" ) diff --git a/apps/trading/e2e/tests/perpetual_market/test_perpetuals.py b/apps/trading/e2e/tests/perpetual_market/test_perpetuals.py index 7d48e9087..9a6d5ee79 100644 --- a/apps/trading/e2e/tests/perpetual_market/test_perpetuals.py +++ b/apps/trading/e2e/tests/perpetual_market/test_perpetuals.py @@ -137,6 +137,6 @@ def test_perps_market_terminated(page: Page, vega: VegaService): expect(page.get_by_test_id("market-trading-mode")).to_have_text("Trading modeNo trading") expect(page.get_by_test_id("market-state")).to_have_text("StatusClosed") expect(page.get_by_test_id("liquidity-supplied")).to_have_text("Liquidity supplied 0.00 (0.00%)") - expect(page.get_by_test_id("market-funding")).to_have_text("Funding Rate / Countdown-Unknown") - expect(page.get_by_test_id("index-price")).to_have_text("Index Price-") + expect(page.get_by_test_id("market-funding")).to_contain_text("Funding Rate / Countdown") + expect(page.get_by_test_id("index-price")).to_contain_text("Index Price") expect(page.get_by_test_id("deal-ticket-error-message-summary")).to_have_text("This market is closed and not accepting orders") \ No newline at end of file