-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Discrepency between headless/headed window for Pinch Zoom #42386
Copy link
Copy link
Closed
Description
Describe the bug:
Two modes seem to have distinct behaviour for same automation script. This currently blocks adding a crash-test to #42350.
Script in #42320
def test_interspersed_touch_moves(session, test_actions_pointer_page):
pointerArea = session.find.css("#pointerArea", all=False)
# Two fingers
touch_chain_1 = session.actions.sequence(
"pointer",
"touch_pointer_1",
{"pointerType": "touch"})
touch_chain_2 = session.actions.sequence(
"pointer",
"touch_pointer_2",
{"pointerType": "touch"})
touch_chain_1 \
.pointer_move(0, 0, origin=pointerArea) \
.pointer_down() \
.pointer_move(10, 10, origin=pointerArea, duration=0) \
.pointer_up()
touch_chain_2 \
.pointer_move(1, 1, origin=pointerArea) \
.pointer_down() \
.pointer_move(20, 20, origin=pointerArea, duration=0) \
.pointer_up()
# Perform both action sequences in parallel.
session.actions.perform([touch_chain_1.dict, touch_chain_2.dict])Reactions are currently unavailable