8000 fix: Fixed not checking if dragTo is a valid element · gemini-testing/gemini@13566a1 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Commit 13566a1

Browse files
committed
fix: Fixed not checking if dragTo is a valid element
1 parent a9c5eed commit 13566a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/tests-api/actions-builder.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ module.exports = class ActionsBuilder {
133133
throw new TypeError('.dragAndDrop() "element" argument should be valid element or CSS selector');
134134
}
135135

136-
if (isInvalidElement(element)) {
136+
if (isInvalidElement(dragTo)) {
137137
throw new TypeError('.dragAndDrop() "dragTo" argument should be valid element or CSS selector');
138138
}
139139

0 commit comments

Comments
 (0)
0