UI tests should use CI runsettings in internal CI builds (#1686)

After the change in #1682, the internal CI build uses the .Dev app identity. Use the runsettings for UI tests that has the .Dev app identity.
This commit is contained in:
Matt Cooley 2021-09-16 15:10:57 -07:00 коммит произвёл GitHub
Родитель 951a555f17
Коммит 3432e4aed4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 19 добавлений и 2 удалений

Просмотреть файл

@ -34,12 +34,12 @@ jobs:
- template: ./templates/run-ui-tests.yaml
parameters:
platform: x64
runsettingsFileName: CalculatorUITests.release.runsettings
runsettingsFileName: CalculatorUITests.ci-internal.runsettings
- template: ./templates/run-ui-tests.yaml
parameters:
platform: x86
runsettingsFileName: CalculatorUITests.release.runsettings
runsettingsFileName: CalculatorUITests.ci-internal.runsettings
- template: ./templates/run-unit-tests.yaml
parameters:

Просмотреть файл

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector uri="datacollector://microsoft/VideoRecorder/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorder.VideoRecorderDataCollector, Microsoft.VisualStudio.TestTools.DataCollection.VideoRecorder, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Screen and Voice Recorder">
</DataCollector>
</DataCollectors>
</DataCollectionRunSettings>
<TestRunParameters>
<Parameter Name="AppId" Value="Microsoft.WindowsCalculator.Dev_8wekyb3d8bbwe!App" />
<Parameter Name="CurrencyWith3FractionalDigits" Value="Jordan - Dinar" />
<Parameter Name="CurrencyWithoutFractionalDigits" Value="Japan - Yen" />
</TestRunParameters>
</RunSettings>

Просмотреть файл

@ -13,6 +13,9 @@
<ProjectReference Include="..\CalculatorUITestFramework\CalculatorUITestFramework.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="CalculatorUITests.ci-internal.runsettings">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="CalculatorUITests.release.runsettings">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>