Bug 1504201 - [marionette] Re-enable test TestScreenCaptureChrome.test_formats. r=webdriver-reviewers,ato a=test-only
authorHenrik Skupin <mail@hskupin.info>
Wed, 05 Jun 2019 13:01:54 +0000
changeset 536916 b4a6eae77dcef08cbfafb77adb86360f01347006
parent 536915 a8b7e99e3f6cf77e4e95112833841f708677dad1
child 536917 e5f23ab4c98d50b3fedbeff19e9e88f1bd2e5193
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswebdriver-reviewers, ato, test-only
bugs1504201
milestone68.0
Bug 1504201 - [marionette] Re-enable test TestScreenCaptureChrome.test_formats. r=webdriver-reviewers,ato a=test-only Differential Revision: https://phabricator.services.mozilla.com/D33780
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,19 +3,17 @@
 # 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,
@@ -199,17 +197,16 @@ 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)