bug 1496432: webdriver: rename support.wait to sync; r=whimboo
authorAndreas Tolfsen <ato@sny.no>
Fri, 05 Oct 2018 15:56:52 +0000
changeset 495545 330058affbc35dee11c94c549de075d0b5f479f3
parent 495544 ed24c0367ff3235166bd70e79dc6c39e3683d561
child 495546 26607bdd2fbf548e94a62a7565d585a5125a09ce
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswhimboo
bugs1496432
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1496432: webdriver: rename support.wait to sync; r=whimboo "sync", short for synchronisation, is a better name for a primitive to reconcile state between the local and remote ends. Differential Revision: https://phabricator.services.mozilla.com/D7735
testing/web-platform/tests/webdriver/tests/conftest.py
testing/web-platform/tests/webdriver/tests/get_title/get.py
testing/web-platform/tests/webdriver/tests/perform_actions/pointer.py
testing/web-platform/tests/webdriver/tests/support/sync.py
testing/web-platform/tests/webdriver/tests/support/wait.py
--- a/testing/web-platform/tests/webdriver/tests/conftest.py
+++ b/testing/web-platform/tests/webdriver/tests/conftest.py
@@ -4,17 +4,17 @@ import os
 import urlparse
 
 import pytest
 import webdriver
 
 from tests.support import defaults
 from tests.support.helpers import cleanup_session
 from tests.support.http_request import HTTPRequest
-from tests.support.wait import wait
+from tests.support.sync import wait
 
 
 _current_session = None
 _custom_session = False
 
 
 def pytest_configure(config):
     # register the capabilities marker
--- a/testing/web-platform/tests/webdriver/tests/get_title/get.py
+++ b/testing/web-platform/tests/webdriver/tests/get_title/get.py
@@ -1,11 +1,11 @@
 from tests.support.asserts import assert_error, assert_success
 from tests.support.inline import inline
-from tests.support.wait import wait
+from tests.support.sync import wait
 
 
 def read_global(session, name):
     return session.execute_script("return %s;" % name)
 
 
 def get_title(session):
     return session.transport.send(
--- a/testing/web-platform/tests/webdriver/tests/perform_actions/pointer.py
+++ b/testing/web-platform/tests/webdriver/tests/perform_actions/pointer.py
@@ -1,17 +1,17 @@
 import pytest
 
 from webdriver.error import NoSuchWindowException
 
 from tests.perform_actions.support.mouse import get_inview_center, get_viewport_rect
 from tests.perform_actions.support.refine import filter_dict, get_events
 from tests.support.asserts import assert_move_to_coordinates
 from tests.support.inline import inline
-from tests.support.wait import wait
+from tests.support.sync import wait
 
 
 def link_doc(dest):
     content = "<a href=\"{}\" id=\"link\">destination</a>".format(dest)
     return inline(content)
 
 
 def test_null_response_value(session, mouse_chain):
rename from testing/web-platform/tests/webdriver/tests/support/wait.py
rename to testing/web-platform/tests/webdriver/tests/support/sync.py