mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Use consistent version of TestFramework in all projects
This commit is contained in:
parent
3a755218df
commit
4d08bf63b7
3 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Appium.WebDriver" Version="4.0.0.6-beta" />
|
<PackageReference Include="Appium.WebDriver" Version="4.3.1" />
|
||||||
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
|
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -56,9 +56,9 @@ namespace CalculatorUITestFramework
|
||||||
// Note: Multiple calculator windows (instances) share the same process Id
|
// Note: Multiple calculator windows (instances) share the same process Id
|
||||||
var options = new AppiumOptions();
|
var options = new AppiumOptions();
|
||||||
|
|
||||||
if (context.Properties.TryGetValue("AppId", out object appId))
|
if (context.Properties.Contains("AppId"))
|
||||||
{
|
{
|
||||||
options.AddAdditionalCapability("app", (string)appId);
|
options.AddAdditionalCapability("app", (string)context.Properties["AppId"]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
|
||||||
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
|
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
|
||||||
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
|
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
|
||||||
<PackageReference Include="Appium.WebDriver" Version="4.0.0.6-beta" />
|
<PackageReference Include="Appium.WebDriver" Version="4.3.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\CalculatorUITestFramework\CalculatorUITestFramework.csproj" />
|
<ProjectReference Include="..\CalculatorUITestFramework\CalculatorUITestFramework.csproj" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue