[Webkit-unassigned] [Bug 180416] New: WebDriver: test imported/w3c/webdriver/tests/set_window_rect.py::test_width_height_floats fails
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 5 03:54:24 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=180416
Bug ID: 180416
Summary: WebDriver: test
imported/w3c/webdriver/tests/set_window_rect.py::test_
width_height_floats fails
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebDriver
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: bburg at apple.com
session = <webdriver.client.Session object at 0x7f2e044424d0>
def test_width_height_floats(session):
"""
8. If width or height is neither null nor a Number from 0 to 2^31 -
1, return error with error code invalid argument.
"""
response = set_window_rect(session, {"width": 500.5, "height": 420})
value = assert_success(response)
> assert value["width"] == 500
E assert 420 == 500
response = <Responsetatus=200 body={"value": {"y": 0, "x": 0, "height": 0, "width": 420}}>
session = <webdriver.client.Session object at 0x7f2e044424d0>
value = {'height': 0, 'width': 420, 'x': 0, 'y': 0}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171205/23ee5296/attachment.html>
More information about the webkit-unassigned
mailing list