WebDriver: test imported/selenium/py/test/selenium/webdriver/common/api_example_tests...
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jan 2018 09:43:46 +0000 (09:43 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Jan 2018 09:43:46 +0000 (09:43 +0000)
commit9be83a4be9a9b39b67512524cc1887693cab3833
tree9192a1e00669eeb763e1fa92c843654f638bd742
parent8069ef80391f06aa7ee7fc407ed9dbe4b44f8fd3
WebDriver: test imported/selenium/py/test/selenium/webdriver/common/api_example_tests.py::testChangeWindowSize fails
https://bugs.webkit.org/show_bug.cgi?id=181728

Reviewed by Sergio Villar Senin.

Source/WebDriver:

Due to a copy-paste error we are getting the window height using the width variable.

Fixes: imported/selenium/py/test/selenium/webdriver/common/api_example_tests.py::testChangeWindowSize
       imported/selenium/py/test/selenium/webdriver/common/position_and_size_tests.py::testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort
       imported/w3c/webdriver/tests/get_window_rect.py::test_payload
       imported/w3c/webdriver/tests/set_window_rect.py::test_width_height_floats
       imported/w3c/webdriver/tests/set_window_rect.py::test_height_width
       imported/w3c/webdriver/tests/set_window_rect.py::test_height_width_larger_than_max
       imported/w3c/webdriver/tests/contexts/resizing_and_positioning.py::test_window_resize

* Session.cpp:
(WebDriver::Session::getToplevelBrowsingContextRect):

WebDriverTests:

Remove expectations for tests that are now passing.

* TestExpectations.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebDriver/ChangeLog
Source/WebDriver/Session.cpp
WebDriverTests/ChangeLog
WebDriverTests/TestExpectations.json