Bug 1364389 - Remove superfluous test r?ato
This is tested more extensively with the new * window rect tests.
MozReview-Commit-ID: 3Ks3lq5oX8m
--- 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)