I am trying to run automated tests using Cypress in Azure DevOps and publishing the tests results(Using PublishTestResult@2 Task) as an XML file using JUnit XML Reporter and merging them.
I am having trouble linking these published test results with the test cases in my ADO Test Plans, to my understanding JavaScript frameworks are currently not supported in Visual Studio to associate the tests with the test case ID, is there a workaround with this? Any help appreciated!
Tried using Visual Studio to associate the tests, publishing the results as an artifact to see if there was a way.
According to the document to Associate automated tests with test cases - Azure Test Plans | Microsoft Learn, please check if the types of tests are supported.
If our project is not using any of the supported framework and we cannot associate automated tests with test cases in a test plan, we are unable to Run automated tests from test plans because the release pipeline will need to know which accembly to test based on the link associated to the test case.
For this, you may raise a feature request, that will allow you to directly interact with the appropriate product group, and make it more convenient for the product group to collect and categorize your suggestions.
Hope the information would help.