WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 181728
180416
WebDriver: test imported/w3c/webdriver/tests/set_window_rect.py::test_width_height_floats fails
https://bugs.webkit.org/show_bug.cgi?id=180416
Summary
WebDriver: test imported/w3c/webdriver/tests/set_window_rect.py::test_width_h...
Carlos Garcia Campos
Reported
2017-12-05 03:54:24 PST
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}
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2018-01-23 01:10:24 PST
*** This bug has been marked as a duplicate of
bug 181728
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug