skipped rest of e2e with deep links and attempt to fix mailserver test

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2020-02-26 12:49:27 +01:00
parent 21ef5a68b8
commit a76a4f6878
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
3 changed files with 11 additions and 4 deletions

View File

@ -689,7 +689,8 @@ class TestProfileMultipleDevice(MultipleDeviceTestCase):
profile_1.mail_server_by_name(server_name).click()
profile_1.mail_server_connect_button.click()
profile_1.confirm_button.click()
profile_1.retry_to_connect_to_mailserver()
if profile_1.element_by_text_part("Error connecting").is_element_displayed(40):
profile_1.retry_to_connect_to_mailserver()
profile_1.get_back_to_home_view()
profile_1.home_button.click()

View File

@ -10,6 +10,8 @@ class TestDeepLinks(SingleDeviceTestCase):
@marks.testrail_id(5396)
@marks.high
@marks.skip
# TODO: uncomment after https://github.com/status-im/status-react/issues/10083 will be implemented in app
def test_open_public_chat_using_deep_link(self):
sign_in_view = SignInView(self.driver)
sign_in_view.create_user()
@ -26,7 +28,7 @@ class TestDeepLinks(SingleDeviceTestCase):
@marks.testrail_id(5441)
@marks.medium
@marks.skip
# TODO: uncomment after https://github.com/status-im/universal-links-handler/pull/29 will be implemented in app
# TODO: uncomment after https://github.com/status-im/status-react/issues/10083 will be implemented in app
def test_open_user_profile_using_deep_link(self):
sign_in_view = SignInView(self.driver)
sign_in_view.create_user()
@ -42,7 +44,7 @@ class TestDeepLinks(SingleDeviceTestCase):
@marks.testrail_id(5442)
@marks.medium
@marks.skip
# TODO: uncomment after https://github.com/status-im/universal-links-handler/pull/29 will be implemented in app
# TODO: uncomment after https://github.com/status-im/status-react/issues/10083 will be implemented in app
def test_open_dapp_using_deep_link(self):
sign_in_view = SignInView(self.driver)
sign_in_view.create_user()
@ -60,7 +62,7 @@ class TestDeepLinks(SingleDeviceTestCase):
@marks.testrail_id(5780)
@marks.medium
@marks.skip
# TODO: uncomment after https://github.com/status-im/universal-links-handler/pull/29 will be implemented in app
# TODO: uncomment after https://github.com/status-im/status-react/issues/10083 will be implemented in app
def test_open_own_user_profile_using_deep_link(self):
sign_in_view = SignInView(self.driver)
sign_in_view.recover_access(passphrase=basic_user['passphrase'])
@ -75,6 +77,8 @@ class TestDeepLinks(SingleDeviceTestCase):
@marks.testrail_id(5781)
@marks.medium
@marks.skip
# TODO: uncomment after https://github.com/status-im/status-react/issues/10083 will be implemented in app
def test_deep_link_with_invalid_user_public_key(self):
sign_in_view = SignInView(self.driver)
sign_in_view.create_user()

View File

@ -736,6 +736,8 @@ class ProfileView(BaseView):
self.element_by_text('RETRY').click()
i += 1
self.just_fyi("retrying to connect: %s attempt" % i)
# TODO: uncomment after https://github.com/status-im/status-react/issues/9269
time.sleep(10)
if i == 5:
self.driver.fail("Failed to connect after %s attempts" % i)