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

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



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



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