mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-26 16:39:24 +00:00
Fix e2e tests
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
5dc6b77ee8
commit
e16ed6d802
@ -524,7 +524,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
|
||||
node_version = profile_view.node_version_text.text
|
||||
if not re.search(r'\d{1}[.]\d{1,2}[.]\d{1,2}\s[(]\d*[)]', app_version):
|
||||
self.errors.append("App version %s didn't match expected format" % app_version)
|
||||
if not re.search(r'StatusIM\/v.*\/android-\d{3}\/go\d{1}[.]\d{1,2}[.]\d{1,2}', node_version):
|
||||
if not re.search(r'StatusIM\/v.*\/android-\d{3}\/go\d{1}[.]\d{1,}', node_version):
|
||||
self.errors.append("Node version %s didn't match expected format" % node_version)
|
||||
profile_view.app_version_text.click()
|
||||
profile_view.back_button.click()
|
||||
|
@ -117,7 +117,7 @@ class TestBrowsing(SingleDeviceTestCase):
|
||||
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('Status - Private', clear_all=True)
|
||||
dapp_view.remove_browser_entry_long_press('status', clear_all=True)
|
||||
home_view.relogin()
|
||||
home_view.dapp_tab_button.click()
|
||||
if not dapp_view.element_by_text('Browser history will appear here').is_element_displayed():
|
||||
|
Loading…
x
Reference in New Issue
Block a user