[tbb-commits] [tor-browser-bundle-testsuite/master] Disable navigation timing test for >= 79

gk at torproject.org gk at torproject.org
Thu Oct 15 18:41:27 UTC 2020


commit 0f220abf788eb987e5b158d0b376d2f88c6907e2
Author: Alex Catarineu <acat at torproject.org>
Date:   Mon Aug 3 15:45:25 2020 +0200

    Disable navigation timing test for >= 79
---
 marionette/tor_browser_tests/test_navigation-timing.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/marionette/tor_browser_tests/test_navigation-timing.py b/marionette/tor_browser_tests/test_navigation-timing.py
index 0b0c125..9d38697 100644
--- a/marionette/tor_browser_tests/test_navigation-timing.py
+++ b/marionette/tor_browser_tests/test_navigation-timing.py
@@ -7,11 +7,12 @@ from marionette_driver import By
 from marionette_driver.errors import MarionetteException
 
 from marionette_harness import MarionetteTestCase
+import testsuite
 
-class Test(MarionetteTestCase):
+class Test(testsuite.TorBrowserTest):
 
     def setUp(self):
-        MarionetteTestCase.setUp(self)
+        testsuite.TorBrowserTest.setUp(self)
 
         self.TEST_URL = "https://www.mediawiki.org/wiki/MediaWiki"
 
@@ -40,6 +41,9 @@ class Test(MarionetteTestCase):
                 }
 
     def test_navigation_timing(self):
+        if (self.get_version() >= 79):
+            # Navigation timing was reenabled in 79 (https://bugzilla.mozilla.org/show_bug.cgi?id=1637985)
+            return
 
         with self.marionette.using_context('content'):
             self.marionette.navigate(self.TEST_URL)





More information about the tbb-commits mailing list