diff --git a/tauri-wallet/webdriver/tests/pages/wallet.bond.js b/tauri-wallet/webdriver/tests/pages/wallet.bond.js index 2c5e74d2ee..10e437caba 100644 --- a/tauri-wallet/webdriver/tests/pages/wallet.bond.js +++ b/tauri-wallet/webdriver/tests/pages/wallet.bond.js @@ -1,6 +1,6 @@ class WalletBond { - get header() { return $("#root > div > div:nth-child(2) > div:nth-child(2) > div > div > div > div.MuiCardHeader-root > div > span.MuiTypography-root.MuiCardHeader-subheader.MuiTypography-subtitle1.MuiTypography-colorTextSecondary.MuiTypography-displayBlock"); } + get header() { return $("#root > div > div:nth-child(2) > div:nth-child(2) > div > div > div > div.MuiCardHeader-root > div > span.MuiTypography-root.MuiCardHeader-subheader.MuiTypography-subtitle1.MuiTypography-colorTextSecondary.MuiTypography-displayBlock") } get identityKey() { return $("#identityKey") } get sphinxKey() { return $("#sphinxKey") } get amountToBond() { return $("#amount") } diff --git a/tauri-wallet/webdriver/tests/pages/wallet.homepage.js b/tauri-wallet/webdriver/tests/pages/wallet.homepage.js index 4744dfcb07..c4681daf3a 100644 --- a/tauri-wallet/webdriver/tests/pages/wallet.homepage.js +++ b/tauri-wallet/webdriver/tests/pages/wallet.homepage.js @@ -1,6 +1,6 @@ class WalletHome { - get balanceCheck() { return $("#root > div > div:nth-child(2) > div:nth-child(2) > div > div > div > div.MuiCardHeader-root > div > span"); } + get balanceCheck() { return $("#root > div > div:nth-child(2) > div:nth-child(2) > div > div > div > div.MuiCardHeader-root > div > span") } get punkBalance() { return $("") } get punkAddress() { return $("[data-testid='wallet-address']") } get accountBalance() { return $("[data-testid='account-balance']") }