mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Updated nuget packages
This commit is contained in:
parent
90058750a0
commit
418bc3bc32
3 changed files with 5 additions and 5 deletions
|
@ -40,10 +40,10 @@ namespace CalculatorTest
|
||||||
appCapabilities.SetCapability("app", CalculatorAppId);
|
appCapabilities.SetCapability("app", CalculatorAppId);
|
||||||
appCapabilities.SetCapability("deviceName", "WindowsPC");
|
appCapabilities.SetCapability("deviceName", "WindowsPC");
|
||||||
session = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), appCapabilities);
|
session = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), appCapabilities);
|
||||||
Thread.Sleep(150000);
|
Thread.Sleep(120000);
|
||||||
Assert.IsNotNull(session);
|
Assert.IsNotNull(session);
|
||||||
// Set implicit timeout to 5 seconds to make element search to retry every 500 ms for at most three times
|
// Set implicit timeout to 5 seconds to make element search to retry every 500 ms for at most three times
|
||||||
session.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(5);
|
session.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(1.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,8 +57,8 @@
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="WebDriver, Version=3.141.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="WebDriver, Version=3.8.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Selenium.WebDriver.3.141.0\lib\net45\WebDriver.dll</HintPath>
|
<HintPath>..\..\packages\Selenium.WebDriver.3.8.0\lib\net45\WebDriver.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="WebDriver.Support, Version=3.8.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="WebDriver.Support, Version=3.8.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Selenium.Support.3.8.0\lib\net45\WebDriver.Support.dll</HintPath>
|
<HintPath>..\..\packages\Selenium.Support.3.8.0\lib\net45\WebDriver.Support.dll</HintPath>
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
<package id="MSTest.TestFramework" version="2.0.0-beta2" targetFramework="net45" />
|
<package id="MSTest.TestFramework" version="2.0.0-beta2" targetFramework="net45" />
|
||||||
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
|
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
|
||||||
<package id="Selenium.Support" version="3.8.0" targetFramework="net45" />
|
<package id="Selenium.Support" version="3.8.0" targetFramework="net45" />
|
||||||
<package id="Selenium.WebDriver" version="3.141.0" targetFramework="net45" />
|
<package id="Selenium.WebDriver" version="3.8.0" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
Loading…
Add table
Add a link
Reference in a new issue