Skip to content

Commit

Permalink
fix mouseOver exporting as mouseDown
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedicto Tan committed Sep 20, 2019
1 parent d085c34 commit c676938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "code-export-node-nr-synthetics",
"version": "1.0.3",
"version": "1.0.4",
"description": "New Relic Synthetics language export for Selenium IDE",
"repository": "https://github.com/tanben/code-export-node-nr-synthetics",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions src/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,8 @@ async function emitMouseMove(locator) {
const locator1= await location.emit(locator)
const locator1Msg= locator1.replace(/\'/g, "\\\'").replace(/\"/g, '\\\"')

let nrcommand=global.nrsynthetics.mouseDown.toString()
.replace(/__LOG_MSG__/g, `Mouse movde`)
let nrcommand=global.nrsynthetics.mouseMove.toString()
.replace(/__LOG_MSG__/g, `Mouse move`)
.replace(/__LOCATOR__/g, locator1)


Expand Down

0 comments on commit c676938

Please sign in to comment.