Bug 1323185 - Skip unit tests which should not be run with Fennec. r=maja_zf a=test-only
authorHenrik Skupin <mail@hskupin.info>
Tue, 17 Jan 2017 16:35:22 +0100
changeset 375688 53f4b1138f2676c47f878240b863cb074a3176af
parent 375687 23a648cc280c90a92222a6ee5eb714b37a31af54
child 375689 addfb6ec7605e8a96b456df1fdf1f2cae693ee9e
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaja_zf, test-only
bugs1323185
milestone53.0a2
Bug 1323185 - Skip unit tests which should not be run with Fennec. r=maja_zf a=test-only MozReview-Commit-ID: 5aiuT7vlm3f
testing/marionette/harness/marionette_harness/tests/unit/test_window_close_content.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_window_close_content.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_window_close_content.py
@@ -56,16 +56,17 @@ class TestCloseWindow(WindowManagerMixin
     def test_close_window_for_browser_tab(self):
         tab = self.open_tab()
         self.marionette.switch_to_window(tab)
 
         window_handles = self.marionette.close()
         self.assertNotIn(tab, window_handles)
         self.assertListEqual(self.start_tabs, window_handles)
 
+    @skip_if_mobile("Interacting with chrome windows not available for Fennec")
     def test_close_window_for_browser_window_with_single_tab(self):
         win = self.open_window()
         self.marionette.switch_to_window(win)
 
         self.assertEqual(len(self.start_tabs) + 1, len(self.marionette.window_handles))
         window_handles = self.marionette.close()
         self.assertNotIn(win, window_handles)
         self.assertListEqual(self.start_tabs, window_handles)