Skip to content

Commit

Permalink
Updated Unit Test for #2592 (#2595)
Browse files Browse the repository at this point in the history
* Update unit test for #2592

Update unit test for #2592
Signed-off-by: DCoomer [email protected]
Signed-off-by: DCoomer <[email protected]>

* Fixes #2587 Adds the ability to use click modifiers

Adds the ability to do click modifiers from CDP dispatchMouseEvent:
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchMouseEvent

Signed-off-by: DCoomer [email protected]
Signed-off-by: DCoomer <[email protected]>

* Boolean highlightOnAction (#2584)

Signed-off-by: DCoomer <[email protected]>

* Updated unit test for #2592

Updated Unit Test for #2592

Signed-off-by: DCoomer [email protected]
Signed-off-by: DCoomer <[email protected]>

* Update version to 1.3.4

Signed-off-by: DCoomer <[email protected]>

Co-authored-by: Дубовик Максим <[email protected]>
  • Loading branch information
DCoomer and lufton authored May 28, 2022
1 parent 9b59e2e commit 195a97d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/package",
"name": "taiko",
"version": "1.3.3",
"version": "1.3.4",
"description": "Taiko is a Node.js library for automating Chromium based browsers",
"main": "bin/taiko.js",
"bin": {
Expand Down
1 change: 1 addition & 0 deletions test/unit-tests/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ describe('Config tests', () => {
waitForStart: 100,
x: 32,
y: 45,
modifiers: 0,
};
const actualOptions = config.setClickOptions(options, 32, 45);
expect(actualOptions).to.deep.equal(exceptedOptions);
Expand Down

0 comments on commit 195a97d

Please sign in to comment.