small nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
72d592a5a6
commit
8d510be72e
|
@ -154,7 +154,7 @@ class TestBrowsing(SingleDeviceTestCase):
|
|||
}
|
||||
for url in urls:
|
||||
browsing_view = dapp_view.open_url(url)
|
||||
[browsing_view.dapp_tab_button.click() for _ in range(2)]
|
||||
browsing_view.dapp_tab_button.double_click()
|
||||
home_view.just_fyi('Close one tab, relogin and check that it is not reappearing')
|
||||
browsing_view.remove_tab(name=urls['bbc.com'])
|
||||
home_view.relogin()
|
||||
|
|
|
@ -88,9 +88,9 @@ class DappTabButton(TabButton):
|
|||
|
||||
def click(self, desired_element_text=None):
|
||||
|
||||
from views.web_views.base_web_view import BaseWebView
|
||||
from views.dapps_view import DappsView
|
||||
if desired_element_text is None:
|
||||
self.click_until_presence_of_element(BaseWebView(self.driver).browser_next_page_button)
|
||||
self.click_until_presence_of_element(DappsView(self.driver).enter_url_editbox)
|
||||
elif desired_element_text == 'webview':
|
||||
self.find_element().click()
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue