Fix test on inviting to community for Mac (#104)

#96
This commit is contained in:
Vladimir Druzhinin 2023-09-14 10:51:22 +02:00 committed by GitHub
parent ccb2f3f50c
commit 66b260fb48
2 changed files with 4 additions and 5 deletions

View File

@ -3,13 +3,13 @@ from collections import namedtuple
import configs
UserAccount = namedtuple('User', ['name', 'password', 'seed_phrase'])
user_account_one = UserAccount('squisher', '*P@ssw0rd*', [
user_account_one = UserAccount('squisher', '0000000000', [
'rail', 'witness', 'era', 'asthma', 'empty', 'cheap', 'shed', 'pond', 'skate', 'amount', 'invite', 'year'
])
user_account_two = UserAccount('athletic', '*P@ssw0rd*', [
user_account_two = UserAccount('athletic', '0000000000', [
'measure', 'cube', 'cousin', 'debris', 'slam', 'ignore', 'seven', 'hat', 'satisfy', 'frown', 'casino', 'inflict'
])
user_account_three = UserAccount('Nervous', 'TesTEr16843/!@00', [])
user_account_three = UserAccount('nervous', '000000000', [])
community_params = {
'name': 'Name',

View File

@ -272,8 +272,7 @@ def test_join_community_via_owner_invite(multiple_instance, user_data_one, user_
with step(f'User {user_two.name}, see two members in community members list'):
assert user_one.name in community_screen.right_panel.members
assert driver.waitFor(lambda: user_two.name in community_screen.right_panel.members)
assert '2' in community_screen.left_panel.members
assert driver.waitFor(lambda: '2' in community_screen.left_panel.members)
main_window.hide()
with step(f'User {user_one.name}, see two members in community members list'):