Run MAVEN UI test on Azure devops deployment group

326 Views Asked by At

I have an Azure pipeline that runs a Maven UI test on a deployment group on a local server, the issue is that the test runs a headless test, but we need to make it UI visual test. I have found some articles that help the self-hosted agent solve this issue as below Visible UI testing but for the deployment group I could not find any related part. how could I run a UI test for Maven (Not just selenium tests) on the azure Deployment group with Visible UI

1

There are 1 best solutions below

0
RoyWang-MSFT On

Based on your description and concern, the reason why you could not run MAVEN UI test on Azure devops deployment group is that the agents in devops deployment group are run as service, and the agents run as service are not available for UI visual test.

Also, according to the document: Visible UI testing , you could also get to know it as mentioned below:

Agents that are configured to run as service can run Selenium tests only with headless browsers. If you are not using a headless browser, or if you are running UI tests for desktop apps, Windows agents must be configured to run as an interactive process with auto-logon enabled.