I have a nodejs web application that I build in Azure Pipelines. I am planning to deploy the generated artifacts on a Azure VM (probably a dev test labs), as part of one of the pipeline steps.
I want to now run browser tests by pointing the browser to the hosted URL in the Azure VM. I want to use the Azure windows and linux VMs in a build pipeline to run the tests on this remote Azure VM and publish the results to the pipeline. These would be karma tests essentially running on the nodejs server.
In my current design, the test results are going to be available on the Azure VM hosting the nodejs application.
- What I don't understand is how can I get these test results back to the Azure Pipeline for publishing the same?
- Is there a way I can architect this solution without having to setup my Azure VM as a pipeline agent in Azure DevOps?
- Is there a standard pattern to design such continuous test infrastructure using Azure DevOps?
Thanks