From 7b89e319003c51a6d0599518a9b884c220fc0076 Mon Sep 17 00:00:00 2001 From: seraphima Date: Thu, 1 Feb 2024 19:54:36 +0100 Subject: [PATCH] change path, remove unnecessary --- .pipelines/ci/templates/run-ui-tests-ci.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.pipelines/ci/templates/run-ui-tests-ci.yml b/.pipelines/ci/templates/run-ui-tests-ci.yml index 6f93fe513e..b5a8a09ad6 100644 --- a/.pipelines/ci/templates/run-ui-tests-ci.yml +++ b/.pipelines/ci/templates/run-ui-tests-ci.yml @@ -36,18 +36,6 @@ jobs: - task: VisualStudioTestPlatformInstaller@1 displayName: Ensure VSTest Platform - - task: PowerShell@2 - displayName: 'Run UI Tests' - inputs: - targetType: filePath - filePath: $(build.sourcesdirectory)\.pipelines\scripts\runUiTests.ps1 - arguments: >- - -SearchFolder '$(Build.ArtifactStagingDirectory)\${{ parameters.platform }}\**\UITests-FancyZonesEditor.dll' - -VsConsolePath '$(Agent.ToolsDirectory)\VsTest\**\${{ parameters.platform }}\tools\net462\Common7\IDE\Extensions\TestPlatform' - -MatchPattern '**\UITests-*.dll' - -LogPath '$(Build.ArtifactStagingDirectory)\Logs' - -ResultPath "$(Build.ArtifactStagingDirectory)\TestResults" - - task: VSTest@2 displayName: 'UI Tests' condition: ne(variables['BuildPlatform'], 'arm64') # No arm64 agents to run the tests. @@ -57,7 +45,7 @@ jobs: testSelector: 'testAssemblies' searchFolder: '$(Build.ArtifactStagingDirectory)' vstestLocationMethod: 'location' # otherwise fails to find vstest.console.exe - vstestLocation: '$(Agent.ToolsDirectory)\VsTest\17.10.0-preview-24080-01\x64\tools\net462\Common7\IDE\Extensions\TestPlatform' + vstestLocation: '$(Agent.ToolsDirectory)\VsTest\**\${{ parameters.platform }}\tools\net462\Common7\IDE\Extensions\TestPlatform' uiTests: true testAssemblyVer2: | **\UITests-FancyZones.dll