updated libs + e2e fix

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2020-11-25 17:41:39 +01:00
parent 7bfaa9255c
commit 1f7e40cede
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
4 changed files with 44 additions and 46 deletions

View File

@ -1,51 +1,50 @@
aiohttp==2.2.3
allpairspy==2.3.0
apipkg==1.4
Appium-Python-Client==0.50
aiohttp==4.0.0a1
allpairspy==2.5.0
apipkg==1.5
Appium-Python-Client==1.0.2
async-timeout==3.0.1
certifi==2017.7.27.1
certifi==2020.11.8
chardet==3.0.4
cycler==0.10.0
cytoolz==0.9.0.1
cytoolz==0.11.0
emoji==0.5.0
eth-hash==0.1.4
eth-keys==0.2.0b3
eth-utils==1.0.3
ethereum==2.3.0
execnet==1.4.1
future==0.16.0
flaky
idna==2.5
kiwisolver==1.0.1
lxml==4.3.1
matplotlib==2.2.2
eth-hash==0.2.0
eth-keys==0.3.3
eth-utils==2.0.0a0
ethereum==2.3.2
execnet==1.7.1
future==0.18.2
flaky==3.7.0
idna==2.10
kiwisolver==1.3.1
lxml==4.6.1
matplotlib==3.3.3
multidict==3.1.3
namedlist==1.7
numpy==1.14.4
namedlist==1.8
numpy==1.19.4
pbkdf2==1.3
Pillow==5.1.0
py==1.5.1
py-ecc==1.4.2
pycryptodome==3.6.1
Pillow==8.0.1
py==1.9.0
py-ecc==5.1.0
pycryptodome==3.9.9
pyethash==0.1.27
pyparsing==2.2.0
pyparsing==2.4.7
pysha3==1.0.2
pytest==5.3.1
pytest-forked==1.1.3
pytest-xdist==1.30.0
python-dateutil==2.7.3
pytz==2018.4
PyYAML==4.2b4
pytest==6.1.2
pytest-forked==1.3.0
pytest-xdist==1.34.0
python-dateutil==2.8.1
pytz==2020.4
PyYAML==5.3.1
repoze.lru==0.7
requests==2.20.1
rlp==1.0.1
requests==2.25.0
rlp==1.2.0
sauceclient==1.0.0
scrypt==0.8.6
scrypt==0.8.17
selenium==3.14.1
six==1.10.0
toolz==0.9.0
urllib3==1.24.3
yarl==0.12.0
zbarlight==2.3
docker
influxdb
yarl==1.6.3
zbarlight==3.0
docker==4.4.0
influxdb==5.3.1

View File

@ -9,12 +9,10 @@ class TestTransactionDApp(SingleDeviceTestCase):
@marks.testrail_id(5309)
@marks.critical
def test_send_transaction_from_daap(self):
def test_request_stt_from_daap(self):
sender = transaction_senders['K']
sign_in_view = SignInView(self.driver)
home_view = sign_in_view.recover_access(sender['passphrase'], unique_password)
address = sender['address']
initial_balance = self.network_api.get_balance(address)
wallet_view = home_view.wallet_button.click()
wallet_view.set_up_wallet()
initial_amount_STT = wallet_view.get_asset_amount_by_name('STT')
@ -23,7 +21,6 @@ class TestTransactionDApp(SingleDeviceTestCase):
status_test_dapp.assets_button.click()
send_transaction_view = status_test_dapp.request_stt_button.click()
send_transaction_view.sign_transaction(unique_password)
self.network_api.verify_balance_is_updated(initial_balance, address)
status_test_dapp.wallet_button.click()
send_transaction_view.just_fyi('Verify that wallet balance is updated')

View File

@ -9,12 +9,10 @@ class TestTransactionDApp(SingleDeviceTestCase):
@marks.testrail_id(6249)
@marks.critical
def test_keycard_send_transaction_from_daap(self):
def test_keycard_request_stt_from_daap(self):
sender = transaction_senders['K']
sign_in_view = SignInView(self.driver)
home_view = sign_in_view.recover_access(sender['passphrase'], keycard=True)
address = sender['address']
initial_balance = self.network_api.get_balance(address)
wallet_view = home_view.wallet_button.click()
wallet_view.set_up_wallet()
initial_amount_STT = wallet_view.get_asset_amount_by_name('STT')
@ -23,7 +21,6 @@ class TestTransactionDApp(SingleDeviceTestCase):
status_test_dapp.assets_button.click()
send_transaction_view = status_test_dapp.request_stt_button.click()
send_transaction_view.sign_transaction(keycard=True)
self.network_api.verify_balance_is_updated(initial_balance, address)
status_test_dapp.wallet_button.click()
send_transaction_view.just_fyi('Verify that wallet balance is updated')

View File

@ -496,6 +496,11 @@ class WalletView(BaseView):
self.swipe_down()
self.driver.info('Waiting %s seconds for %s to update' % (counter,asset))
elif not self.asset_by_name(asset).is_element_present(10):
# temp until Refresh button will be included in pull-to refresh
self.accounts_status_account.click()
self.transaction_history_button.click()
self.find_element_by_translation_id('refresh').click()
self.back_button.click()
counter += 10
time.sleep(10)
if scan_tokens: