diff --git a/apps/trading/e2e/tests/wallet/test_wallet.py b/apps/trading/e2e/tests/wallet/test_wallet.py index 1f848cde0..86ee22a08 100644 --- a/apps/trading/e2e/tests/wallet/test_wallet.py +++ b/apps/trading/e2e/tests/wallet/test_wallet.py @@ -103,7 +103,7 @@ def test_wallet_connection_error_transaction(continuous_market, page: Page): page.get_by_test_id(order_price).fill("120") page.route("**/*", handle_route_connection_lost) page.get_by_test_id(place_order).click() - expect(page.get_by_test_id("toast-content")).to_have_text( + expect(page.get_by_test_id("toast-content").first).to_have_text( "Wallet disconnectedThe connection to your Vega Wallet has been lost.Connect vega wallet" )