[Webdriver] Close the window after the drag and drop pointer test
Right now the Action API cannot generate the drag and drop actions by sending the mouse press, mouse move and mouse release, because the drag and drop events are generated from the OS level. Therefore, Webdriver WPT test test_drag_and_drop_with_draggable_element will fail and the dragged element is still been dragged, the rest of tests will fail because all the following mouse actions would not work correctly. I add a fixture_session function to open a new window for every test. Bug: 850071 Change-Id: Iaa00e8980567cebc70046fd244ecdc1376bf785a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368713Reviewed-by:John Chen <johnchen@chromium.org> Commit-Queue: Lan Wei <lanwei@chromium.org> Cr-Commit-Position: refs/heads/master@{#801898}
Showing
Please register or sign in to comment