Skip to content

Commit

Permalink
Merge pull request #1437 from jdi-testing/issue_1430
Browse files Browse the repository at this point in the history
Issue 1430 fix wrong locator output
  • Loading branch information
Iogsotot authored Aug 2, 2023
2 parents e4c52b7 + a0222e6 commit ca75aa8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "JDN",
"description": "JDN – helps Test Automation Engineer to create Page Objects in the test automation framework and speed up test development",
"devtools_page": "index.html",
"version": "3.13.543",
"version": "3.13.544",
"icons": {
"128": "icon128.png"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jdn-ai-chrome-extension",
"version": "3.13.543",
"version": "3.13.544",
"description": "jdn-ai chrome extension",
"scripts": {
"start": "webpack --watch --env devenv",
Expand Down
2 changes: 1 addition & 1 deletion src/features/locators/utils/locatorOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const getLocatorString = (
locator.output
}")\npublic ${type} ${name};`;

export const getLocatorWithJDIAnnotation = (locator: string): string => `${AnnotationType.UI}}("${locator}")`;
export const getLocatorWithJDIAnnotation = (locator: string): string => `${AnnotationType.UI}("${locator}")`;

export const getLocatorWithSelenium = (locator: string, option: string): string =>
`${AnnotationType.FindBy}(${option} = "${locator}")`;

0 comments on commit ca75aa8

Please sign in to comment.