Describe the bug
Selecting a tag in the dropdown of the search box does not add the tag to the search box, it adds the text of the tag. Meaning what is added does not start with "@" char.
To Reproduce
Version: 2.6.3
Node Version: 20.16.0
Have you tried the latest version (including node), and does the issue still exist? yes
Steps to reproduce the actual behavior:
Create a Playwright test with a tag. I used the "latest" way to create tags which is to use the testDetails.Tag array instead of adding the tag to the test name.
Run the test to generate the reporter with monocart-reporter.
Open the report.
Go to the search box, click on it and select one of the tags from the dropdown.
The selected tag gets added to the input but without the "@" char at start which means it doesn't filter by the tag it just searches for the tag's text.
Expected behavior
After selecting a tag from the dropdown of the search box it should add it to the search box starting with the "@" char so that the filter is performed on the tag and not the text of the tag.
Errors or Screenshots
Here I have two tags:
Selecting the "Console" tag results in searching for the tag's text:
But what it should do is search for the tag itself:
Describe the bug Selecting a tag in the dropdown of the search box does not add the tag to the search box, it adds the text of the tag. Meaning what is added does not start with "@" char.
To Reproduce
Expected behavior After selecting a tag from the dropdown of the search box it should add it to the search box starting with the "@" char so that the filter is performed on the tag and not the text of the tag.
Errors or Screenshots Here I have two tags:
Selecting the "Console" tag results in searching for the tag's text:
But what it should do is search for the tag itself: