Bug 1504201 - [marionette] Temporarily skip TestScreenCaptureChrome.test_formats on Linux. r=whimboo a=testonly
authorHenrik Skupin <mail@hskupin.info>
Wed, 02 Jan 2019 11:26:06 +0100
changeset 509286 0864e90347bf14b1ec57009f094b2435ae97a110
parent 509285 94c0af81ee0710cb021280a726eccee2c84c23a1
child 509287 a29c670353d190b99da8eb06fdfeada036ef8f7c
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswhimboo, testonly
bugs1504201
milestone65.0
Bug 1504201 - [marionette] Temporarily skip TestScreenCaptureChrome.test_formats on Linux. r=whimboo a=testonly
testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py
@@ -3,17 +3,19 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from __future__ import absolute_import
 
 import base64
 import hashlib
 import imghdr
 import struct
+import sys
 import tempfile
+import unittest
 import urllib
 
 from marionette_driver import By
 from marionette_driver.errors import NoSuchElementException, NoSuchWindowException
 from marionette_harness import (
     MarionetteTestCase,
     skip,
     skip_if_mobile,
@@ -200,16 +202,17 @@ class TestScreenCaptureChrome(WindowMana
         dialog = self.open_dialog()
         self.marionette.switch_to_window(dialog)
         self.marionette.close_chrome_window()
 
         self.assertRaises(NoSuchWindowException, self.marionette.screenshot)
         self.marionette.switch_to_window(self.start_window)
 
     @skip_if_mobile("Fennec doesn't support other chrome windows")
+    @unittest.skipIf(sys.platform.startswith("linux"), "Bug 1504201")
     def test_formats(self):
         dialog = self.open_dialog()
         self.marionette.switch_to_window(dialog)
 
         self.assert_formats()
 
         self.marionette.close_chrome_window()
         self.marionette.switch_to_window(self.start_window)