fix deleteing dapps
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
c872c5c487
commit
114b4da2d9
|
@ -80,7 +80,7 @@ class TestBrowsing(SingleDeviceTestCase):
|
||||||
for entry in ('google.com', 'status.im'):
|
for entry in ('google.com', 'status.im'):
|
||||||
browsing_view = dapp_view.open_url(entry)
|
browsing_view = dapp_view.open_url(entry)
|
||||||
browsing_view.cross_icon.click()
|
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.relogin()
|
||||||
home_view.dapp_tab_button.click()
|
home_view.dapp_tab_button.click()
|
||||||
if not dapp_view.element_by_text('Browsed websites will appear here.').is_element_displayed():
|
if not dapp_view.element_by_text('Browsed websites will appear here.').is_element_displayed():
|
||||||
|
|
|
@ -29,7 +29,7 @@ class EnterUrlEditbox(BaseEditBox):
|
||||||
class BrowserEntry(ChatElement):
|
class BrowserEntry(ChatElement):
|
||||||
def __init__(self, driver, name):
|
def __init__(self, driver, name):
|
||||||
super(BrowserEntry, self).__init__(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):
|
class EnsName(BaseEditBox):
|
||||||
|
|
Loading…
Reference in New Issue