@@ -38,35 +38,6 @@ def test_request_public_key_status_test_daap(self):
38
38
if not status_test_dapp .element_by_text (user ['public_key' ]).is_element_displayed ():
39
39
self .driver .fail ('Public key is not returned' )
40
40
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
-
70
41
@marks .testrail_id (6232 )
71
42
@marks .medium
72
43
def test_switching_accounts_in_dapp (self ):
0 commit comments