diff --git a/apps/trading/e2e/tests/transfer/test_transfer_key_to_key.py b/apps/trading/e2e/tests/transfer/test_transfer_key_to_key.py index 48c495a3b..c2b3e3826 100644 --- a/apps/trading/e2e/tests/transfer/test_transfer_key_to_key.py +++ b/apps/trading/e2e/tests/transfer/test_transfer_key_to_key.py @@ -29,7 +29,7 @@ def test_transfer_submit(continuous_market, vega: VegaService, page: Page): page.select_option('[data-testid=transfer-form] [name="toVegaKey"]', index=2) page.select_option('[data-testid=transfer-form] [name="fromAccount"]', index=1) - expected_asset_text = re.compile(r"tDAI tDAI999,991.49731 tDAI.{6}….{4}") + expected_asset_text = re.compile(r"tDAI tDAI999991.49731 tDAI.{6}….{4}") actual_asset_text = page.get_by_test_id('select-asset').text_content().strip() assert expected_asset_text.search(actual_asset_text), f"Expected pattern not found in {actual_asset_text}" @@ -42,7 +42,7 @@ def test_transfer_submit(continuous_market, vega: VegaService, page: Page): vega.forward("10s") vega.wait_fn(1) vega.wait_for_total_catchup() - expected_confirmation_text = re.compile(r"Transfer completeYour transaction has been confirmed View in block explorerTransferTo .{6}….{6}1\.00 tDAI") + expected_confirmation_text = re.compile(r"Transfer completeYour transaction has been confirmedView in block explorerTransferTo .{6}….{6}1\.00 tDAI") actual_confirmation_text = page.get_by_test_id('toast-content').text_content() assert expected_confirmation_text.search(actual_confirmation_text), f"Expected pattern not found in {actual_confirmation_text}" @@ -127,6 +127,6 @@ def test_transfer_vesting_below_minimum(continuous_market, vega: VegaService, pa vega.forward("10s") vega.wait_fn(1) vega.wait_for_total_catchup() - expected_confirmation_text = re.compile(r"Transfer completeYour transaction has been confirmed View in block explorerTransferTo .{6}….{6}0\.00001 tDAI") + expected_confirmation_text = re.compile(r"Transfer completeYour transaction has been confirmedView in block explorerTransferTo .{6}….{6}0\.00001 tDAI") actual_confirmation_text = page.get_by_test_id('toast-content').text_content() assert expected_confirmation_text.search(actual_confirmation_text), f"Expected pattern not found in {actual_confirmation_text}"