commit 6dd43ca6e1dbc7dc02c440ecd7b52c025d150d3c Author: Matthew Finkel sysrqb@torproject.org Date: Thu Aug 12 16:10:04 2021 +0000
Bug 40026: Fix onion_location test (expect v3 address) --- marionette/tor_browser_tests/test_onion_location.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/marionette/tor_browser_tests/test_onion_location.py b/marionette/tor_browser_tests/test_onion_location.py index daa0b27..6b2480d 100644 --- a/marionette/tor_browser_tests/test_onion_location.py +++ b/marionette/tor_browser_tests/test_onion_location.py @@ -91,7 +91,7 @@ class Test(WindowManagerMixin, MarionetteTestCase): Wait(m, timeout=m.timeout.page_load).until( lambda _: self.get_url() != 'https://www.torproject.org/') self.assertEqual( - self.get_url(), 'http://expyuzz4wqqyqhjn.onion/index.html') + self.get_url(), 'http://2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion/index....')
# Check that auto-redirects work m.navigate('https://www.torproject.org/') @@ -99,7 +99,7 @@ class Test(WindowManagerMixin, MarionetteTestCase): Wait(m, timeout=m.timeout.page_load).until( lambda _: self.get_url() != 'https://www.torproject.org/') self.assertEqual( - self.get_url(), 'http://expyuzz4wqqyqhjn.onion/index.html') + self.get_url(), 'http://2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion/index....')
# Go to preferences and disable auto-redirects new_tab = self.open_tab() @@ -127,7 +127,7 @@ class Test(WindowManagerMixin, MarionetteTestCase): Wait(m, timeout=5).until(lambda _: self.get_url() != 'https://www.torproject.org/') self.assertEqual( - self.get_url(), 'http://expyuzz4wqqyqhjn.onion/index.html') + self.get_url(), 'http://2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion/index....')
# Check learn more link with m.using_context('content'):