Reproduction example
https://codesandbox.io/s/heuristic-lake-3rk90q?file=/src/App.js
Prerequisites
- Set up any page that listens to
MouseEvent and log the pageX and pageY properties of the event (as specified in the docs)
- Simulate a
user.pointer event with additional pageX and pageY coords passed like await user.pointer({target: anyTarget, coords: { pageX: 100, pageY: 100 }})
- Expect the logs to contain the previously defined values for
pageX and pageY.
Expected behavior
The properties are properly passed to the mouse event and get logged correctly.
Works correctly in 14.3.
Actual behavior
The value of these properties is undefined.
Broken as of 14.4.0.
User-event version
14.4.3
Environment
See sandbox
Additional context
When the assignProps was changed in this commit, those two properties were omitted.
Reproduction example
https://codesandbox.io/s/heuristic-lake-3rk90q?file=/src/App.js
Prerequisites
MouseEventand log thepageXandpageYproperties of the event (as specified in the docs)user.pointerevent with additionalpageXandpageYcoords passed likeawait user.pointer({target: anyTarget, coords: { pageX: 100, pageY: 100 }})pageXandpageY.Expected behavior
The properties are properly passed to the mouse event and get logged correctly.
Works correctly in 14.3.
Actual behavior
The value of these properties is
undefined.Broken as of 14.4.0.
User-event version
14.4.3
Environment
See sandbox
Additional context
When the
assignPropswas changed in this commit, those two properties were omitted.