[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 0f220abf788eb987e5b158d0b376d2f88c6907e2
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits