Skip to content

Commit

Permalink
fix deleteing dapps
Browse files Browse the repository at this point in the history
Signed-off-by: Churikova Tetiana <[email protected]>
  • Loading branch information
churik committed Oct 14, 2019
1 parent c872c5c commit 114b4da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_long_press_delete_clear_all_dapps(self):
for entry in ('google.com', 'status.im'):
browsing_view = dapp_view.open_url(entry)
browsing_view.cross_icon.click()
dapp_view.remove_browser_entry_long_press('Google', clear_all=True)
dapp_view.remove_browser_entry_long_press('Status - Private', clear_all=True)
home_view.relogin()
home_view.dapp_tab_button.click()
if not dapp_view.element_by_text('Browsed websites will appear here.').is_element_displayed():
Expand Down
2 changes: 1 addition & 1 deletion test/appium/views/dapps_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, driver):
class BrowserEntry(ChatElement):
def __init__(self, driver, name):
super(BrowserEntry, self).__init__(driver, name)
self.locator = self.Locator.xpath_selector('//*[@text="%s"]/..' % name)
self.locator = self.locator.text_part_selector(name)


class EnsName(BaseEditBox):
Expand Down

0 comments on commit 114b4da

Please sign in to comment.