Add scroll on wallet
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
c6a389b75b
commit
6a74c3a1ef
|
@ -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()
|
||||||
|
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue