Skip to content

fix(test): deduplicate tags when same tag appears in multiple scopes#40421

Open
Thavamani13 wants to merge 1 commit intomicrosoft:mainfrom
Thavamani13:fix-40368
Open

fix(test): deduplicate tags when same tag appears in multiple scopes#40421
Thavamani13 wants to merge 1 commit intomicrosoft:mainfrom
Thavamani13:fix-40368

Conversation

@Thavamani13
Copy link
Copy Markdown

@Thavamani13 Thavamani13 commented Apr 25, 2026

Summary

  • testInfo.tags was returning duplicate entries when the same tag appeared in multiple scopes (e.g. both describe and test options, or both title strings)
  • Fix deduplicates by wrapping the combined tag array in new Set()
image

Fixes #40368

@Thavamani13
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Tags are duplicated in HTML report

1 participant