Add scroll on wallet

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Serhy 2019-05-29 12:56:26 +03:00
parent c6a389b75b
commit 6a74c3a1ef
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
2 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,7 @@ class TestGroupChatMultipleDevice(MultipleDeviceTestCase):
# device 2: open the chat and check messages # device 2: open the chat and check messages
device_2_chat = device_2_home.get_chat_with_user(chat_name).click() device_2_chat = device_2_home.get_chat_with_user(chat_name).click()
device_2_chat.join_chat_button.click() device_2_chat.join_chat_button.click()
if not device_2_chat.chat_element_by_text(message_for_device_2).is_element_displayed(): if not device_2_chat.chat_element_by_text(message_for_device_2).is_element_displayed(30):
self.errors.append('Message that was sent after device 2 has joined is not visible') self.errors.append('Message that was sent after device 2 has joined is not visible')
self.verify_no_errors() self.verify_no_errors()

View File

@ -215,6 +215,7 @@ class WalletView(BaseView):
return float(re.sub('[~,]', '', self.usd_total_value.text)) return float(re.sub('[~,]', '', self.usd_total_value.text))
def get_eth_value(self): def get_eth_value(self):
self.eth_asset_value.scroll_to_element()
return float(self.eth_asset_value.text) return float(self.eth_asset_value.text)
def get_stt_value(self): def get_stt_value(self):