Update e2e

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Serhy 2019-12-18 16:39:58 +02:00 committed by Andrey Shovkoplyas
parent 3e19f929e9
commit df232889f4
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 2 additions and 2 deletions

View File

@ -726,5 +726,5 @@ class TestMessagesOneToOneChatSingle(SingleDeviceTestCase):
profile = home.profile_button.click()
profile.switch_network('Mainnet with upstream RPC')
chat = home.add_contact(ens_user['ens'])
if not chat.element_by_text(ens_user['username']).is_element_displayed():
if not chat.element_by_text("@" + ens_user['ens']).is_element_displayed():
self.driver.fail('Wrong user is resolved from username when starting 1-1 chat.')

View File

@ -186,7 +186,7 @@ class ViewInCryptoKittiesButton(BaseButton):
return BaseWebView(self.driver)
def click(self):
self.wait_for_element(30).click()
self.wait_for_element(60).click()
self.driver.info('Tap on View in CryptoKitties')
return self.navigate()