parent
ccb2f3f50c
commit
66b260fb48
|
@ -3,13 +3,13 @@ from collections import namedtuple
|
||||||
import configs
|
import configs
|
||||||
|
|
||||||
UserAccount = namedtuple('User', ['name', 'password', 'seed_phrase'])
|
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'
|
'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'
|
'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 = {
|
community_params = {
|
||||||
'name': 'Name',
|
'name': 'Name',
|
||||||
|
|
|
@ -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'):
|
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 user_one.name in community_screen.right_panel.members
|
||||||
assert driver.waitFor(lambda: user_two.name in community_screen.right_panel.members)
|
assert driver.waitFor(lambda: '2' in community_screen.left_panel.members)
|
||||||
assert '2' in community_screen.left_panel.members
|
|
||||||
main_window.hide()
|
main_window.hide()
|
||||||
|
|
||||||
with step(f'User {user_one.name}, see two members in community members list'):
|
with step(f'User {user_one.name}, see two members in community members list'):
|
||||||
|
|
Loading…
Reference in New Issue