chore: some changes to stabilise tests, skipped assets sorting
This commit is contained in:
parent
5684aac868
commit
cd37994e6b
|
@ -186,6 +186,8 @@ def test_community_admin_kick_member_and_delete_message(multiple_instances):
|
|||
aut_one.attach()
|
||||
main_screen.prepare()
|
||||
messages_view = main_screen.left_panel.open_messages_screen()
|
||||
assert driver.waitFor(lambda: user_two.name in messages_view.left_panel.get_chats_names,
|
||||
configs.timeouts.UI_LOAD_TIMEOUT_MSEC)
|
||||
chat = messages_view.left_panel.click_chat_by_name(user_two.name)
|
||||
community_screen = chat.accept_community_invite(community_params['name'], '0')
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ def test_1x1_chat(multiple_instances):
|
|||
EMOJI_PATHES = [HEART_EMOJI_PATH, THUMBSUP_EMOJI_PATH, THUMBSDOWN_EMOJI_PATH, LAUGHING_EMOJI_PATH,
|
||||
SAD_EMOJI_PATH, ANGRY_EMOJI_PATH]
|
||||
|
||||
with multiple_instances(user_data=None) as aut_one, multiple_instances(user_data=None) as aut_two:
|
||||
with (multiple_instances(user_data=None) as aut_one, multiple_instances(user_data=None) as aut_two):
|
||||
with step(f'Launch multiple instances with authorized users {user_one.name} and {user_two.name}'):
|
||||
for aut, account in zip([aut_one, aut_two], [user_one, user_two]):
|
||||
aut.attach()
|
||||
|
@ -69,7 +69,10 @@ def test_1x1_chat(multiple_instances):
|
|||
with step(f'User {user_one.name} send another message to {user_two.name}, edit it and verify it was changed'):
|
||||
aut_one.attach()
|
||||
main_window.prepare()
|
||||
chat = main_window.left_panel.open_messages_screen().left_panel.click_chat_by_name(user_two.name)
|
||||
left_panel_chat = main_window.left_panel.open_messages_screen().left_panel
|
||||
assert driver.waitFor(lambda: user_two.name in left_panel_chat.get_chats_names,
|
||||
configs.timeouts.UI_LOAD_TIMEOUT_MSEC)
|
||||
chat = left_panel_chat.click_chat_by_name(user_two.name)
|
||||
chat_message1 = \
|
||||
''.join(random.choice(string.ascii_letters + string.digits) for _ in range(1, 21))
|
||||
messages_screen.group_chat.send_message_to_group_chat(chat_message1)
|
||||
|
|
|
@ -28,6 +28,7 @@ pytestmark = marks
|
|||
pytest.param('0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', 'AssetsCollectibles', 'Dai Stablecoin', 'Wrapped Ether',
|
||||
'Status Test Token', 'Ether')
|
||||
])
|
||||
@pytest.mark.skip(reason="https://github.com/status-im/status-desktop/issues/14509")
|
||||
def test_wallet_sort_assets(main_screen: MainWindow, address, name, dai, wrappedeth, stt, eth):
|
||||
with step('Turn on Testnet mode'):
|
||||
networks = main_screen.left_panel.open_settings().left_panel.open_wallet_settings().open_networks()
|
||||
|
|
Loading…
Reference in New Issue