зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1557232 - [marionette] Skip test_switch_tabs_in_different_windows_with_focus_change on Linux due to intermittent failures. r=marionette-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D54115 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a966f72bb8
Коммит
40e00a5be5
|
@ -4,6 +4,9 @@
|
|||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import sys
|
||||
from unittest import skipIf
|
||||
|
||||
from marionette_driver import By
|
||||
from marionette_driver.keys import Keys
|
||||
|
||||
|
@ -88,6 +91,8 @@ class TestSwitchToWindowContent(WindowManagerMixin, MarionetteTestCase):
|
|||
self.assertEqual(self.marionette.current_window_handle, self.start_tab)
|
||||
self.assertEqual(self.get_selected_tab_index(), self.selected_tab_index)
|
||||
|
||||
@skipIf(sys.platform.startswith("linux"),
|
||||
"Bug 1557232 - Original window sometimes doesn't receive focus")
|
||||
def test_switch_tabs_in_different_windows_with_focus_change(self):
|
||||
new_tab1 = self.open_tab(focus=True)
|
||||
self.assertEqual(self.marionette.current_window_handle, self.start_tab)
|
||||
|
|
Загрузка…
Ссылка в новой задаче