Skip to content

Commit abbe349

Browse files
churikflexsurfer
authored andcommitted
removed web allow permissions test
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
1 parent e7122dc commit abbe349

File tree

2 files changed

+1
-30
lines changed

2 files changed

+1
-30
lines changed

test/appium/tests/atomic/dapps_and_browsing/test_dapps.py

-29
Original file line numberDiff line numberDiff line change
@@ -38,35 +38,6 @@ def test_request_public_key_status_test_daap(self):
3838
if not status_test_dapp.element_by_text(user['public_key']).is_element_displayed():
3939
self.driver.fail('Public key is not returned')
4040

41-
@marks.testrail_id(6234)
42-
@marks.high
43-
def test_always_allow_web3_permissions(self):
44-
user = basic_user
45-
sign_in_view = SignInView(self.driver)
46-
sign_in_view.recover_access(passphrase=user['passphrase'])
47-
dapp_view = sign_in_view.dapp_tab_button.click()
48-
49-
dapp_view.just_fyi('check that web3 permissions window is shown')
50-
if not dapp_view.element_by_text_part('ÐApps can access my wallet').is_element_displayed():
51-
self.errors.append('Permissions window is not shown!')
52-
53-
dapp_view.just_fyi('check that can enable "Always allow" and Dapp will not ask for permissions')
54-
dapp_view.always_allow_radio_button.click()
55-
dapp_view.close_web3_permissions_window_button.click()
56-
dapp_view.open_url(test_dapp_url)
57-
status_test_dapp = dapp_view.get_status_test_dapp_view()
58-
if status_test_dapp.allow_button.is_element_displayed():
59-
self.driver.append('DApp is asking permissions (Always allow is enabled)')
60-
61-
dapp_view.just_fyi('check that after relogin window is not reappearing and DApps are still not asking for permissions')
62-
sign_in_view.relogin()
63-
sign_in_view.dapp_tab_button.click()
64-
dapp_view.open_url(test_dapp_url)
65-
if status_test_dapp.allow_button.is_element_displayed():
66-
self.driver.append('DApp is asking permissions after relogin (Always allow is enabled)')
67-
self.errors.verify_no_errors()
68-
69-
7041
@marks.testrail_id(6232)
7142
@marks.medium
7243
def test_switching_accounts_in_dapp(self):

test/appium/tests/atomic/transactions/test_daaps_transactions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_sign_typed_message(self):
7171
wallet_view.set_up_wallet()
7272
status_test_dapp = home_view.open_status_test_dapp()
7373
status_test_dapp.wait_for_d_aap_to_load()
74-
status_test_dapp.transactions_button.click()
74+
status_test_dapp.transactions_button.click_until_presence_of_element(status_test_dapp.sign_typed_message_button)
7575
send_transaction_view = status_test_dapp.sign_typed_message_button.click()
7676
send_transaction_view.enter_password_input.send_keys(common_password)
7777
send_transaction_view.sign_button.click_until_presence_of_element(send_transaction_view.ok_button)

0 commit comments

Comments
 (0)