Align e2e with new translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
7f10fe9ae4
commit
ae13cd0ad9
|
@ -52,8 +52,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 friends',
|
||||
'Jump into a public chat and meet new people',
|
||||
'#status']
|
||||
for text in texts:
|
||||
if not home_view.element_by_text(text).is_element_displayed():
|
||||
|
|
|
@ -33,7 +33,7 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
|
|||
sign_in_view.create_user()
|
||||
sign_in_view.just_fyi("Enable mobile network to see popup and enable syncing")
|
||||
sign_in_view.toggle_mobile_data()
|
||||
if not sign_in_view.element_by_text_part("Sync using Mobile data").is_element_displayed():
|
||||
if not sign_in_view.element_by_text_part("Sync using mobile data?").is_element_displayed():
|
||||
self.driver.fail('No popup about Mobile data is shown')
|
||||
sign_in_view.wait_for_element_starts_with_text('Continue syncing').click()
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ class TestWalletManagement(SingleDeviceTestCase):
|
|||
sign_in = SignInView(self.driver)
|
||||
sign_in.recover_access(transaction_senders['A']['passphrase'])
|
||||
wallet = sign_in.wallet_button.click()
|
||||
texts = ['This is your signing phrase', 'You should see these 3 words before signing each transaction',
|
||||
'If you see a different combo, cancel the transaction and logout.']
|
||||
texts = ['This is your signing phrase', 'These three words prove that a transaction is safe.',
|
||||
"You should see these words before signing each transaction. If you don't, cancel and sign out."]
|
||||
for text in texts:
|
||||
if not wallet.element_by_text_part(text).is_element_displayed():
|
||||
self.errors.append("'%s' text is not displayed" % text)
|
||||
|
|
|
@ -83,7 +83,7 @@ class TestBrowsing(SingleDeviceTestCase):
|
|||
dapp_view.remove_browser_entry_long_press('Status - Private', clear_all=True)
|
||||
home_view.relogin()
|
||||
home_view.dapp_tab_button.click()
|
||||
if not dapp_view.element_by_text('Browsed websites will appear here.').is_element_displayed():
|
||||
if not dapp_view.element_by_text('Browser history will appear here').is_element_displayed():
|
||||
self.errors.append('Browser history is not empty')
|
||||
|
||||
@marks.testrail_id(5320)
|
||||
|
|
|
@ -300,7 +300,7 @@ class OpenInStatusButton(BaseButton):
|
|||
class OkGotItButton(BaseButton):
|
||||
def __init__(self,driver):
|
||||
super(OkGotItButton, self).__init__(driver)
|
||||
self.locator = self.Locator.xpath_selector("//*[@text='OK, got it']")
|
||||
self.locator = self.Locator.xpath_selector("//*[@text='OKay, got it']")
|
||||
|
||||
def click(self):
|
||||
self.wait_for_element().click()
|
||||
|
|
|
@ -197,7 +197,7 @@ class OkContinueButton(BaseButton):
|
|||
|
||||
def __init__(self, driver):
|
||||
super(OkContinueButton, self).__init__(driver)
|
||||
self.locator = self.Locator.xpath_selector("//*[@text='Ok, continue']")
|
||||
self.locator = self.Locator.xpath_selector("//*[@text='Okay, continue']")
|
||||
|
||||
|
||||
class RecoveryPhraseTable(BaseText):
|
||||
|
|
|
@ -103,7 +103,7 @@ class SetUpButton(BaseButton):
|
|||
class SetCurrencyButton(BaseButton):
|
||||
def __init__(self, driver):
|
||||
super(SetCurrencyButton, self).__init__(driver)
|
||||
self.locator = self.Locator.text_selector("Set currency")
|
||||
self.locator = self.Locator.text_selector("Set default currency")
|
||||
|
||||
|
||||
class SignInPhraseText(BaseText):
|
||||
|
@ -124,7 +124,7 @@ class SignInPhraseText(BaseText):
|
|||
class RemindMeLaterButton(BaseButton):
|
||||
def __init__(self, driver):
|
||||
super(RemindMeLaterButton, self).__init__(driver)
|
||||
self.locator = self.Locator.xpath_selector("//*[@text='Remind me later']")
|
||||
self.locator = self.Locator.xpath_selector("//*[@text='Show me this again']")
|
||||
|
||||
|
||||
class AssetTextElement(BaseText):
|
||||
|
@ -194,7 +194,7 @@ class ViewInCryptoKittiesButton(BaseButton):
|
|||
class BackupRecoveryPhrase(BaseButton):
|
||||
def __init__(self, driver):
|
||||
super(BackupRecoveryPhrase, self).__init__(driver)
|
||||
self.locator = self.Locator.text_selector('Backup your seed phrase')
|
||||
self.locator = self.Locator.text_selector('Back up your seed phrase')
|
||||
|
||||
def navigate(self):
|
||||
from views.profile_view import ProfileView
|
||||
|
|
Loading…
Reference in New Issue