Skip to content

Commit 377aefd

Browse files
committed
test: fix wring width and height
1 parent 6f1b5d4 commit 377aefd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/common_w3c_actions.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ def w3c_scroll(driver)
1919
action_builder = driver.action
2020
input = action_builder.pointer_inputs[0]
2121
action_builder
22-
.move_to_location(window.width / 2, window.width * 8 / 10)
22+
.move_to_location(window.width / 2, window.height * 8 / 10)
2323
.pointer_down(:left)
2424
.pause(input, 1)
25-
.move_to_location(window.width / 2, window.width / 10)
25+
.move_to_location(window.width / 2, window.height / 10)
2626
.pause(input, 1)
2727
.release
2828
.perform

0 commit comments

Comments
 (0)