Running a automated test against a desktop WPF application works fine on my local machine and on Azure VM Windows Server 2012R2 when accessed via RDP.
However, when
Try running the test headless I had the same issue with TFS and this is the only way it works for me
args: [ '--headless', '--window-size=1920,1040', ],