Bug 1504201 - [marionette] Re-enable test TestScreenCaptureChrome.test_formats. r=webdriver-reviewers,ato
authorHenrik Skupin <mail@hskupin.info>
Wed, 05 Jun 2019 13:01:54 +0000
changeset 476966 59b4cb73739761714c191fac114981b452c9e7ca
parent 476965 da42679e0f9aaab9e950bbb22df89fba3c65208b
child 476967 8f325eb79d2811306ef4c7c2608a443fd17eb57f
push id36114
push useraiakab@mozilla.com
push dateWed, 05 Jun 2019 21:59:57 +0000
treeherdermozilla-central@57763214c9e8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswebdriver-reviewers, ato
bugs1504201
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1504201 - [marionette] Re-enable test TestScreenCaptureChrome.test_formats. r=webdriver-reviewers,ato 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)