File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ def test_auto_saved_generated_password_context_menu(driver: Firefox):
33
33
34
34
# Open login autofill test page and select "Suggest Strong Password..." from password field context menu
35
35
login_autofill .open ()
36
- password_field = login_autofill .get_element ("password-login-field" )
37
- login_autofill .context_click (password_field )
36
+ login_autofill .context_click ("password-login-field" )
38
37
context_menu .click_and_hide_menu ("context-menu-suggest-strong-password" )
39
38
40
39
# Select "Use a Securely Generated Password" in password field and check the "Update password" doorhanger
41
40
# is displayed
42
41
with driver .context (driver .CONTEXT_CHROME ):
43
42
login_autofill .get_element ("generated-securely-password" ).click ()
43
+ login_autofill .click_on ("generated-securely-password" )
44
44
nav .element_visible ("password-notification-key" )
45
45
nav .click_on ("password-notification-key" )
46
46
update_doorhanger = autofill_popup_panel .get_element (
Original file line number Diff line number Diff line change @@ -59,9 +59,7 @@ def test_update_login_via_doorhanger(driver: Firefox):
59
59
new_login_autofill .open ()
60
60
61
61
# Select Reveal password from password field context menu for headed run purpose only
62
- password_field = login_autofill .get_element ("password-login-field" )
63
- login_autofill .context_click (password_field )
64
- # login_autofill.context_click("password-login-field")
62
+ login_autofill .context_click ("password-login-field" )
65
63
66
64
context_menu .click_and_hide_menu ("context-menu-reveal-password" )
67
65
You can’t perform that action at this time.
0 commit comments