Skip to content

Commit fb23608

Browse files
committed
Remove argument in an adjacent test after method modification
1 parent 6566d09 commit fb23608

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/menus/test_frequently_used_context_menu.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ def key_press_release(key: Key):
4949

5050
context_menu.click_and_hide_menu("context-menu-save-page-as")
5151

52-
downloads_button = nav.get_download_button()
53-
5452
# short sleep to ensure menu is shown
5553
sleep(0.5)
5654

@@ -75,7 +73,7 @@ def key_press_release(key: Key):
7573
key_press_release(Key.enter)
7674

7775
# Wait for the animation to complete
78-
nav.wait_for_download_animation_finish(downloads_button)
76+
nav.wait_for_download_animation_finish()
7977

8078
# verify and delete downloaded file
8179
saved_image_location = util.get_saved_file_path("Example Domain.html")

0 commit comments

Comments
 (0)