@@ -45,6 +45,7 @@ def open_panel_menu(self) -> BasePage:
45
45
panel_root = self .get_element ("panel-ui-button" )
46
46
panel_root .click ()
47
47
self .menu = self .Menu (self , root = panel_root )
48
+ sleep (2 ) # Bug 1974080
48
49
return self
49
50
50
51
def navigate_to_about_addons (self ):
@@ -135,9 +136,6 @@ def open_history_menu(self) -> BasePage:
135
136
Opens the History menu
136
137
"""
137
138
self .open_panel_menu ()
138
- # Bug 1974080
139
- if self .sys_platform () == "Windows" :
140
- sleep (2 )
141
139
self .click_on ("panel-ui-history" )
142
140
return self
143
141
@@ -169,9 +167,6 @@ def redirect_to_about_logins_page(self) -> BasePage:
169
167
Opens the about:logins page by clicking the Password option in Hamburger Menu"
170
168
"""
171
169
self .open_panel_menu ()
172
- # Bug 1974080
173
- if self .sys_platform () == "Windows" :
174
- sleep (2 )
175
170
self .get_element ("password-button" ).click ()
176
171
return self
177
172
@@ -183,9 +178,6 @@ def open_bookmarks_panel_from_hamburger_menu(self) -> BasePage:
183
178
Opens the Bookmarks panel from the Hamburger Menu
184
179
"""
185
180
self .open_panel_menu ()
186
- # Bug 1974080
187
- if self .sys_platform () == "Windows" :
188
- sleep (2 )
189
181
self .click_on ("panel-ui-bookmarks" )
190
182
return self
191
183
@@ -257,9 +249,6 @@ def get_bookmark_tags(self, tags: List[str]) -> List[str]:
257
249
def clear_recent_history (self , execute = True ) -> BasePage :
258
250
"""Clears recent history. Case of execute=True may not be complete"""
259
251
self .open_panel_menu ()
260
- # Bug 1974080
261
- if self .sys_platform () == "Windows" :
262
- sleep (2 )
263
252
self .get_element ("panel-ui-history" ).click ()
264
253
265
254
self .element_exists ("clear-recent-history" )
@@ -282,9 +271,6 @@ def confirm_history_clear(self):
282
271
def reopen_recently_closed_tabs (self ) -> BasePage :
283
272
"""Reopen all recently closed tabs"""
284
273
self .open_panel_menu ()
285
- # Bug 1974080
286
- if self .sys_platform () == "Windows" :
287
- sleep (2 )
288
274
self .click_on ("panel-ui-history" )
289
275
290
276
self .click_on ("panel-ui-history-recently-closed" )
0 commit comments