chore(trading): fix change keys edge case (#5337)

This commit is contained in:
Ben 2023-11-23 09:12:45 +00:00 committed by GitHub
parent 6a841f226a
commit 192af844c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,4 +44,5 @@ def truncate_middle(market_id, start=6, end=4):
def change_keys(page: Page, vega:VegaServiceNull, key_name): def change_keys(page: Page, vega:VegaServiceNull, key_name):
page.get_by_test_id("manage-vega-wallet").click() page.get_by_test_id("manage-vega-wallet").click()
page.get_by_test_id("key-" + vega.wallet.public_key(key_name)).click() page.get_by_test_id("key-" + vega.wallet.public_key(key_name)).click()
page.click(f'data-testid=key-{vega.wallet.public_key(key_name)} >> .inline-flex')
page.reload() page.reload()