Skip to content

Commit dc0025e

Browse files
improved logging to display full path (#159)
1 parent 3c68595 commit dc0025e

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
1414

1515
:microscope: - experimental
1616

17+
## [2.8.0]
18+
- :rocket: improved logging to display full path
19+
1720
## [2.7.1]
1821
- :rocket: updated dependencies
1922

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qavajs/steps-playwright",
3-
"version": "2.7.1",
3+
"version": "2.8.0",
44
"description": "steps to interact with playwright",
55
"main": "./index.js",
66
"scripts": {

src/pageObject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function element(this: any, path: string): Locator {
139139
argument: item.argument
140140
}); break;
141141
}
142-
logger.log(`${item.alias} -> ${current}`);
143142
}
143+
logger.log(`${path} -> ${current}`);
144144
return current
145145
}

0 commit comments

Comments
 (0)