diff --git a/azure-pipelines-integrationtests.yml b/azure-pipelines-integrationtests.yml index ce9b38c44de9..b020277fde61 100644 --- a/azure-pipelines-integrationtests.yml +++ b/azure-pipelines-integrationtests.yml @@ -83,11 +83,23 @@ jobs: projects: 'samples/IntegrationTestApp/IntegrationTestApp.csproj' - task: DotNetCoreCLI@2 + displayName: 'Build test project' + inputs: + command: 'build' + projects: 'tests\Avalonia.IntegrationTests.Appium\Avalonia.IntegrationTests.Appium.csproj' + + - task: VSTest@2 displayName: 'Run Integration Tests' - retryCountOnTaskFailure: 3 inputs: - command: 'test' - projects: 'tests/Avalonia.IntegrationTests.Appium/Avalonia.IntegrationTests.Appium.csproj' + testAssemblyVer2: '**/Avalonia.IntegrationTests.Appium.dll' + runSettingsFile: 'tests\Avalonia.IntegrationTests.Appium\record-video.runsettings' + + - task: PublishTestResults@2 + displayName: 'Publish test results' + inputs: + testResultsFormat: 'XUnit' + testResultsFiles: '**/*.trx' + condition: succeededOrFailed() - task: Windows Application Driver@0 inputs: diff --git a/tests/Avalonia.IntegrationTests.Appium/record-video.runsettings b/tests/Avalonia.IntegrationTests.Appium/record-video.runsettings new file mode 100644 index 000000000000..9f11fd97a5a2 --- /dev/null +++ b/tests/Avalonia.IntegrationTests.Appium/record-video.runsettings @@ -0,0 +1,14 @@ + + + + + + + ​ + ​ + ​ + + + + +