WinAppDriver azure devops task closed before tests
Hi,
Like in the title - I've added WinAppDriver as a task into azure stage to not use simply python method with os.startfile. But the problem is that process is closing before next task starts. Is it better to run and close process by python script or azure task will be good but I need configuration for this?
How are you adding WinAppDriver task ?, are you adding the condition : always () ? as well ?
I add winappdriver task through stage tasks in releases. This is standard configuration
https://imgur.com/a/jFcCqXi
What and where is this condition "always()"?
Assumed it was a yaml pipeline with the task as in this demo https://github.com/microsoft/WinAppDriver/blob/master/Samples/JavaScript/.ado/azure-pipelines.yml but add ccondition: always() and inputs OperationType: "Start" for the start and then stop for the stop task. works for me.
@xkasjan77 Check https://github.com/microsoft/WinAppDriver/issues/1588 https://github.com/microsoft/WinAppDriver/issues/1434