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:
Henrik Skupin 2019-11-21 13:03:45 +00:00
Родитель a966f72bb8
Коммит 40e00a5be5
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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)