Skip to content

Commit

Permalink
Support allure metadata in playwright annotations (closes allure-fram…
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Aftakhov committed Jan 14, 2025
1 parent 0fcfab2 commit 441db21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/allure-playwright/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class AllureReporter implements ReporterV2 {
(annotation) => annotation.type !== "skip" && annotation.type !== "fixme",
).map((annotation) => ({
name: annotation.type,
value: annotation.description?.startsWith("@") ? annotation.description.substring(1) : annotation.description,
value: annotation.description!,
}));
result.labels!.push(...annotations);
}
Expand Down

0 comments on commit 441db21

Please sign in to comment.