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.

Verify Zip file contents without extracting using C# + Selenium

While doing automation testing, we may get a scenario where we need to download a zip file and to validate the contents inside it. One way t...