Search code examples
seleniumazure-devopssafari

Automated UI tests on safari with Azure DevOps ##[error]The current operating system is not capable of running this task


I need to automate some UI webtest with safari on Azure DevOps and was wondering if anyone knows how to do it?

i found out that the VSBuild on azure devops does not work on macos VM's. So are there any known solutions to this problem?


Solution

  • Visual Studio Build task is only supported on agents running Windows: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/build/visual-studio-build?view=azure-devops

    enter image description here

    For MacOS, you could use "MS build" and "dotnet build" for the build task, and test with "dotnet test" task.

    enter image description here