Skip to content

Allow negative integer for offsetX/offsetY options #981

@romanresh

Description

@romanresh

In my test I need to drag an element (source) to the right side of another element (target). So, I use this code:
await t.dragToElement(source, target, { offsetX: -10 });
but this exception occurs: "The "offsetX" option is expected to be a positive integer, but it was -10.".

Provide the capability to set offsetX/offsetY options with negative number.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions