mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-25 23:06:43 +00:00
Remove TestFairy from E2E tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
This commit is contained in:
parent
f98e013cff
commit
8e9f0143ad
@ -43,8 +43,3 @@ connection_not_secure_text = "Connection is not secure! " \
|
||||
"Do not sign transactions or send personal data on this site."
|
||||
connection_is_secure_text = "Connection is secure. Make sure you really trust this site " \
|
||||
"before signing transactions or entering personal data."
|
||||
test_fairy_warning_text = "You are using an app installed from a nightly build. If you're connected to WiFi, " \
|
||||
"your interactions with the app will be saved as video and logs. " \
|
||||
"These recordings do not save your passwords. They are used by our development team " \
|
||||
"to investigate possible issues and only occur if the app is install from a nightly build. " \
|
||||
"Nothing is recorded if the app is installed from PlayStore or TestFlight."
|
||||
|
@ -1,5 +1,5 @@
|
||||
import pytest
|
||||
from tests import marks, common_password, get_current_time, test_fairy_warning_text, unique_password
|
||||
from tests import marks, common_password, get_current_time, unique_password
|
||||
from tests.base_test_case import SingleDeviceTestCase
|
||||
from views.sign_in_view import SignInView
|
||||
|
||||
@ -12,8 +12,6 @@ class TestCreateAccount(SingleDeviceTestCase):
|
||||
@marks.critical
|
||||
def test_create_account(self):
|
||||
sign_in = SignInView(self.driver, skip_popups=False)
|
||||
if not sign_in.element_by_text_part(test_fairy_warning_text).is_element_displayed():
|
||||
self.errors.append('TestFairy warning is not shown')
|
||||
sign_in.accept_agreements()
|
||||
if not sign_in.i_have_account_button.is_element_displayed():
|
||||
self.errors.append("'I have an account' button is not displayed")
|
||||
|
@ -5,7 +5,7 @@ import base64
|
||||
import pytest
|
||||
import re
|
||||
import zbarlight
|
||||
from tests import common_password, test_fairy_warning_text
|
||||
from tests import common_password
|
||||
from eth_keys import datatypes
|
||||
from selenium.common.exceptions import NoSuchElementException, TimeoutException, StaleElementReferenceException
|
||||
from PIL import Image
|
||||
@ -189,13 +189,6 @@ class ConnectionStatusText(BaseText):
|
||||
"//*[@content-desc='connection-status-text']/android.widget.TextView")
|
||||
|
||||
|
||||
class TestFairyWarning(BaseText):
|
||||
def __init__(self, driver):
|
||||
super(TestFairyWarning, self).__init__(driver)
|
||||
self.locator = self.Locator.text_selector(test_fairy_warning_text)
|
||||
self.is_shown = bool()
|
||||
|
||||
|
||||
class OkContinueButton(BaseButton):
|
||||
|
||||
def __init__(self, driver):
|
||||
|
Loading…
x
Reference in New Issue
Block a user