Fix overlapping windows in drag test.
Does not currently affect the test, but the minimum size reported by the toolbar is incorrect (see issue #842239). If the display is small and the minimum window width grows at all, the target point for the drag operation ends up still in the first (and focused) window, so the test fails. This change forces the endpoint of the drag onto the second window, and raises an error if it cannot do so. Bug: 898632 Change-Id: If4ee828e3309de247b1940a6b7f8ea98cffd5063 Reviewed-on: https://chromium-review.googlesource.com/c/1372711Reviewed-by:Bret Sepulveda <bsep@chromium.org> Commit-Queue: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/master@{#615690}
Showing
Please register or sign in to comment