Bug 1364389 - Remove superfluous test r?ato draft
authorDavid Burns <dburns@mozilla.com>
Tue, 01 Aug 2017 06:20:27 +0100
changeset 619386 76624c2abc73bdcdb7492ae704788dfcacea1dce
parent 619385 4ceeb07cf6b927678610dc6a289ebfd0b56174fe
child 640380 b95aa54f34424082d1296efefc7bb571416c5b70
push id71661
push userbmo:dburns@mozilla.com
push dateTue, 01 Aug 2017 23:09:37 +0000
reviewersato
bugs1364389
milestone56.0a1
Bug 1364389 - Remove superfluous test r?ato This is tested more extensively with the new * window rect tests. MozReview-Commit-ID: 3Ks3lq5oX8m
testing/web-platform/tests/webdriver/tests/contexts.py
--- a/testing/web-platform/tests/webdriver/tests/contexts.py
+++ b/testing/web-platform/tests/webdriver/tests/contexts.py
@@ -54,26 +54,8 @@ def test_window_resize_by_script(session
 
     session.execute_script("window.resizeTo(800, 900)")
     size2 = session.window.size
     while size1 == size2:
         size2 = session.window.size
         assert size2 == (800, 900)
     assert size2 == {"width": 200, "height": 100}
 """
-
-def test_window_position_types(http, session):
-    if not window_position_supported(session):
-        pytest.skip()
-
-    with http.get("/session/%s/window/position" % session.session_id) as resp:
-        assert resp.status == 200
-        body = json.load(resp)
-    assert "value" in body
-    assert "x" in body["value"]
-    assert "y" in body["value"]
-    assert isinstance(body["value"]["x"], int)
-    assert isinstance(body["value"]["y"], int)
-
-    pos = session.window.position
-    assert isinstance(pos, tuple)
-    assert isinstance(pos[0], int)
-    assert isinstance(pos[1], int)