From b2777043b493476171f9cec112594d30d41333ae Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 5 Mar 2024 15:49:50 +0000 Subject: [PATCH] chore(trading): update vega and market-sim (#5919) --- apps/trading/e2e/.env | 2 +- apps/trading/e2e/poetry.lock | 8 ++++---- .../trading/e2e/tests/perpetual_market/test_perpetuals.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/trading/e2e/.env b/apps/trading/e2e/.env index 1332aef55..d13c2c7ed 100644 --- a/apps/trading/e2e/.env +++ b/apps/trading/e2e/.env @@ -1,3 +1,3 @@ CONSOLE_IMAGE_NAME=vegaprotocol/trading:latest -VEGA_VERSION=v0.74.6 +VEGA_VERSION=v0.75.0-preview.2 LOCAL_SERVER=false diff --git a/apps/trading/e2e/poetry.lock b/apps/trading/e2e/poetry.lock index f53798991..611b9af36 100644 --- a/apps/trading/e2e/poetry.lock +++ b/apps/trading/e2e/poetry.lock @@ -877,13 +877,13 @@ testing = ["filelock"] [[package]] name = "python-dateutil" -version = "2.8.2" +version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, ] [package.dependencies] @@ -1166,7 +1166,7 @@ profile = ["pytest-profiling", "snakeviz"] type = "git" url = "https://github.com/vegaprotocol/vega-market-sim.git/" reference = "HEAD" -resolved_reference = "33fec45ce8044ef7f53b625584ce590d174f9057" +resolved_reference = "53eed8942acb670783105cb1115bab76710a46dc" [[package]] name = "websocket-client" diff --git a/apps/trading/e2e/tests/perpetual_market/test_perpetuals.py b/apps/trading/e2e/tests/perpetual_market/test_perpetuals.py index 252a41872..7b12a0b1f 100644 --- a/apps/trading/e2e/tests/perpetual_market/test_perpetuals.py +++ b/apps/trading/e2e/tests/perpetual_market/test_perpetuals.py @@ -57,7 +57,7 @@ class TestPerpetuals: page.goto(f"/#/markets/{perps_market}") page.get_by_test_id("Funding payments").click() row = page.locator(row_selector) - expect(row.locator(col_amount)).to_have_text("9.00 tDAI") + expect(row.locator(col_amount)).to_have_text("4.45 tDAI") @pytest.mark.usefixtures("risk_accepted", "auth") def test_funding_payment_loss(self, perps_market, page: Page, vega): @@ -65,7 +65,7 @@ class TestPerpetuals: change_keys(page, vega, "market_maker") page.get_by_test_id("Funding payments").click() row = page.locator(row_selector) - expect(row.locator(col_amount)).to_have_text("-27.00 tDAI") + expect(row.locator(col_amount)).to_have_text("-13.35 tDAI") @pytest.mark.usefixtures("risk_accepted", "auth") def test_funding_header(self, perps_market, page: Page):