e2e: nightly fix for user

This commit is contained in:
Churikova Tetiana 2022-05-11 20:23:17 +02:00
parent 4909ec9854
commit b83fe64b0f
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
3 changed files with 5 additions and 4 deletions

View File

@ -14,8 +14,8 @@ from views.sign_in_view import SignInView
class TestSendTxDeviceMerged(MultipleSharedDeviceTestCase):
@classmethod
def setup_class(cls):
cls.user = transaction_senders['ETH_ADI_STT_3']
cls.recipient_address = '0x%s' % transaction_senders['ETH_7']['address']
cls.user = transaction_senders['ETH_STT_4']
cls.recipient_address = '0x%s' % transaction_senders['ETH_ADI_STT_3']['address']
cls.drivers, cls.loop = create_shared_drivers(1)
[cls.amount_adi, cls.amount_eth, cls.amount_stt] = ['0.000%s' % str(random.randint(100, 999)) + '1' for _ in range(3)]
cls.sign_in = SignInView(cls.drivers[0])

View File

@ -715,6 +715,7 @@ class TestChatManagementMultipleDevice(MultipleDeviceTestCase):
device_1.just_fyi('Grab user data for transactions and public chat, set up wallets')
home_1 = device_1.create_user(keycard=True)
device_2.put_app_to_background_and_back()
recipient_public_key, recipient_username = home_1.get_public_key_and_username(return_username=True)
amount = device_1.get_unique_amount()
asset_name = 'STT'

View File

@ -517,8 +517,8 @@ class TestChatManagement(SingleDeviceTestCase):
# TODO: can be added to any group where kk multiaccount with money is restored as additional check
def test_keycard_same_seed_added_inside_multiaccount(self):
sign_in = SignInView(self.driver)
recipient = "0x" + transaction_senders['ETH_7']['address']
user = transaction_senders['ETH_ADI_STT_3']
recipient = "0x" + transaction_senders['ETH_1']['address']
user = transaction_senders['ETH_STT_4']
sign_in.just_fyi('Restore keycard multiaccount and logout')
sign_in.recover_access(passphrase=user['passphrase'], keycard=True)