June 9, 2022

How to fix "Selenium Tests running twice" issue in Azure Release pipeline

  June 9, 2022

 There can be a scenario sometimes that your test scripts will be executed in the Azure release pipeline twice even if the parallelization or multi-agent execution is not enabled.

These scripts may work in Local as expected, but this issue occurs when executed in Azure.

We can fix this by simply changing the following setting in VsTest Job



 In Advanced execution options > Batch tests 

The default option selected will be "Based on number of tests and agents"

Change it to "Based on test assemblies"

This would fix the twice running issue.




logoblog

Thanks for reading How to fix "Selenium Tests running twice" issue in Azure Release pipeline

Previous
« Prev Post

No comments:

Post a Comment

Bookmark this website for more workarounds and issue fixes.

Steps to get Tricentis Tosca Trial license activated (60 Days)

TOSCA is an automation tool that can do functional and regression testing for software products. It also includes GUI, command line interfac...