Skip to content

Commit 412b6d6

Browse files
improved tags displaying in annotation (#25)
1 parent 3d45bfe commit 412b6d6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
1212

1313
## [1.3.0]
1414
- :rocket: added `tags` function to translate cucumber tag expression to grep parameter
15+
- :rocket: improved tags displaying in annotation
1516

1617
## [1.2.0]
1718
- :rocket: reworked hooks via playwright hooks

src/cucumber.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ for (const feature of features) {
6464
const annotation = [
6565
{ type: 'name', description: testCase.name },
6666
{ type: 'testId', description: testCase.id },
67-
{ type: 'tags', description: JSON.stringify(testCase.tags) }
67+
{ type: 'tags', description: JSON.stringify(tag) }
6868
];
6969
test(testCase.name, { tag, annotation: annotation }, async () => {
7070
const testInfo = test.info();

0 commit comments

Comments
 (0)