[tbb-commits] [tor-browser-bundle-testsuite/master] Enable noscript test

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


commit 72d4af38812d87fc43e66891bc1e049f83f9ddb1
Author: Alex Catarineu <acat at torproject.org>
Date:   Mon May 18 17:44:23 2020 +0200

    Enable noscript test
---
 TBBTestSuite/TestSuite/BrowserBundleTests.pm  | 2 --
 marionette/tor_browser_tests/test_noscript.py | 3 +--
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/TBBTestSuite/TestSuite/BrowserBundleTests.pm b/TBBTestSuite/TestSuite/BrowserBundleTests.pm
index b7014f4..4a8908e 100644
--- a/TBBTestSuite/TestSuite/BrowserBundleTests.pm
+++ b/TBBTestSuite/TestSuite/BrowserBundleTests.pm
@@ -397,8 +397,6 @@ our @tests = (
         prefs           => {
             'extensions.torbutton.security_slider' => 2,
         },
-        # Bug 28876: temporarily disable test
-        enable          => sub { undef },
     },
     {
         name            => 'fp_screen_dimensions',
diff --git a/marionette/tor_browser_tests/test_noscript.py b/marionette/tor_browser_tests/test_noscript.py
index 6c3fdeb..8083098 100644
--- a/marionette/tor_browser_tests/test_noscript.py
+++ b/marionette/tor_browser_tests/test_noscript.py
@@ -7,7 +7,6 @@ from marionette_harness import MarionetteTestCase
 
 import testsuite
 
-
 class Test(MarionetteTestCase):
 
     def setUp(self):
@@ -21,7 +20,7 @@ class Test(MarionetteTestCase):
 
 
     def test_noscript(self):
-        self.marionette.set_search_timeout(1000)
+        self.marionette.timeout.implicit = 1
 
         with self.marionette.using_context('content'):
 





More information about the tbb-commits mailing list