[tbb-commits] [tor-browser-bundle-testsuite/master] Fix user-timing-worker test

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


commit e102b9b86988121fc1c14ca2a05bfb9a2ca1dae4
Author: Alex Catarineu <acat at torproject.org>
Date:   Sun May 17 20:21:40 2020 +0200

    Fix user-timing-worker test
---
 marionette/tor_browser_tests/test_page.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/marionette/tor_browser_tests/test_page.py b/marionette/tor_browser_tests/test_page.py
index bc1eb69..d03367c 100644
--- a/marionette/tor_browser_tests/test_page.py
+++ b/marionette/tor_browser_tests/test_page.py
@@ -1,6 +1,3 @@
-from marionette_driver import By
-from marionette_driver.errors import MarionetteException
-
 from marionette_harness import MarionetteTestCase
 
 import testsuite
@@ -28,7 +25,7 @@ class Test(MarionetteTestCase):
     def test_page(self):
         with self.marionette.using_context('content'):
             self.marionette.navigate(self.test_page_url)
-            self.marionette.set_search_timeout(self.timeout)
+            self.marionette.timeout.implicit = self.timeout/1000
             elt = self.marionette.find_element('id', 'test_result');
             self.assertEqual(elt.text, 'OK')
 





More information about the tbb-commits mailing list