Skip to content

Commit

Permalink
e2e: fixes 3.05
Browse files Browse the repository at this point in the history
  • Loading branch information
yevh-berdnyk committed May 3, 2024
1 parent 355e144 commit 8a24185
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified test/appium/views/elements_templates/saucelabs_sauce_chat.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions test/appium/views/wallet_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def __init__(self, driver):
self.driver, xpath="//*[@content-desc='account-avatar']/../following-sibling::android.widget.TextView[1]")
self.account_emoji_button = Button(self.driver, accessibility_id='account-emoji')
self.send_button = Button(self.driver, accessibility_id='send')
self.send_from_drawer_button = Button(
self.driver, xpath="//*[@content-desc='send']/*[@content-desc='left-icon-for-action']")
self.copy_address_button = Button(self.driver, accessibility_id='copy-address')
self.share_address_button = Button(self.driver, accessibility_id='share-account')
self.remove_account_button = Button(self.driver, accessibility_id='remove-account')
Expand Down Expand Up @@ -99,8 +101,7 @@ def send_asset(self, address: str, asset_name: str, amount: float):
def send_asset_from_drawer(self, address: str, asset_name: str, amount: float):
asset_element = self.get_asset(asset_name)
asset_element.long_press_element()
self.send_button.wait_for_elements()
self.send_button.find_elements()[0].click()
self.send_from_drawer_button.click()
self.address_text_input.send_keys(address)
self.continue_button.click_until_presence_of_element(self.confirm_button)
self.set_amount(amount)
Expand Down

0 comments on commit 8a24185

Please sign in to comment.