File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
tests/bookmarks_and_history Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,7 @@ def open_history_menu(self) -> BasePage:
166166 @BasePage .context_chrome
167167 def open_clear_history_dialog (self ) -> BasePage :
168168 """Opens the clear history dialog and switches to iframe context"""
169- self .open_history_menu ()
170- self .element_visible ("clear-recent-history" )
171- self .element_clickable ("clear-recent-history" )
169+
172170 self .click_on ("clear-recent-history" )
173171
174172 self .element_visible ("iframe" )
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ def test_clear_all_history(driver: Firefox):
2424 page = GenericPage (driver )
2525 panel = PanelUi (driver )
2626
27- # Open Clear History menu
27+ # Open Clear History dialog
28+ panel .open_history_menu ()
2829 panel .open_clear_history_dialog ()
2930
3031 # Select the option to clear all the history
You can’t perform that action at this time.
0 commit comments