fixed several e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
b7c558f310
commit
34b356866b
|
@ -75,7 +75,8 @@ class TestCreateAccount(SingleDeviceTestCase):
|
|||
sign_in.next_button.click()
|
||||
sign_in.lets_go_button.click()
|
||||
home_view = sign_in.get_home_view()
|
||||
texts = ['Chat and transact privately with your friends.','Follow your interests in one of the many Public Chats.']
|
||||
texts = ['Chat and transact privately with your friends.',
|
||||
'Follow your interests in one of the many public chats.']
|
||||
for text in texts:
|
||||
if not home_view.element_by_text(text).is_element_displayed():
|
||||
self.errors.append("'%s' text is not shown" % text)
|
||||
|
|
|
@ -497,7 +497,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
|
|||
node_version = profile_view.node_version_text.text
|
||||
if not re.search("\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("StatusIM\/v\d{1}[.]\d{1,2}[.]\d{1,2}-beta.\d\/android-\d{3}\/go\d{1}[.]\d{1,2}[.]\d{1,2}", node_version):
|
||||
if not re.search("StatusIM\/v.*\/android-\d{3}\/go\d{1}[.]\d{1,2}[.]\d{1,2}", 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()
|
||||
|
|
|
@ -284,6 +284,8 @@ class OpenInStatusButton(BaseButton):
|
|||
|
||||
def click(self):
|
||||
self.wait_for_visibility_of_element()
|
||||
# using sleep is wrong, but implicit wait for element can't help in particular case
|
||||
time.sleep(3)
|
||||
self.swipe_to_web_element()
|
||||
self.wait_for_element().click()
|
||||
|
||||
|
|
|
@ -463,7 +463,7 @@
|
|||
"finishing-card-setup-steps": "> Loading keys to the card\n> Generating multiaccount",
|
||||
"fleet": "Fleet",
|
||||
"fleet-settings": "Fleet settings",
|
||||
"follow-your-interests": "Follow your interests in one of the many Public Chat.",
|
||||
"follow-your-interests": "Follow your interests in one of the many public chats.",
|
||||
"free": "↓ Free",
|
||||
"from": "From",
|
||||
"gas-limit": "Gas limit",
|
||||
|
|
Loading…
Reference in New Issue