From e160f6dc66dd4b07f1bede2757625b4c6fc5cd88 Mon Sep 17 00:00:00 2001 From: Ren Date: Tue, 12 Mar 2019 12:53:05 +0100 Subject: [PATCH 1/3] Upgraded Seleno.Tests project to .net version 4.7.1 --- .../TestStack.Seleno.Tests.csproj | 7 ++-- src/TestStack.Seleno.Tests/app.config | 32 +++++++++---------- src/TestStack.Seleno.Tests/packages.config | 6 ++-- 3 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/TestStack.Seleno.Tests/TestStack.Seleno.Tests.csproj b/src/TestStack.Seleno.Tests/TestStack.Seleno.Tests.csproj index a8f0fc60..699a8066 100644 --- a/src/TestStack.Seleno.Tests/TestStack.Seleno.Tests.csproj +++ b/src/TestStack.Seleno.Tests/TestStack.Seleno.Tests.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,9 +10,10 @@ Properties TestStack.Seleno.Tests TestStack.Seleno.Tests - v4.0 + v4.7.1 512 ..\ + true @@ -23,6 +24,7 @@ prompt 4 true + false pdbonly @@ -31,6 +33,7 @@ TRACE prompt 4 + false diff --git a/src/TestStack.Seleno.Tests/app.config b/src/TestStack.Seleno.Tests/app.config index 04cfcd10..b1318271 100644 --- a/src/TestStack.Seleno.Tests/app.config +++ b/src/TestStack.Seleno.Tests/app.config @@ -1,35 +1,35 @@ - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - \ No newline at end of file + diff --git a/src/TestStack.Seleno.Tests/packages.config b/src/TestStack.Seleno.Tests/packages.config index 26f660dc..a74b7d59 100644 --- a/src/TestStack.Seleno.Tests/packages.config +++ b/src/TestStack.Seleno.Tests/packages.config @@ -2,15 +2,15 @@ - - + + - + From ed059e02c1ee8e7d3999a1a142ef11ab5c82d1e2 Mon Sep 17 00:00:00 2001 From: Ren Date: Tue, 12 Mar 2019 12:53:53 +0100 Subject: [PATCH 2/3] Upgraded Seleno project to .net version 4.7.1 --- src/TestStack.Seleno/TestStack.Seleno.csproj | 7 +++++-- src/TestStack.Seleno/app.config | 8 ++++---- src/TestStack.Seleno/packages.config | 6 +++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/TestStack.Seleno/TestStack.Seleno.csproj b/src/TestStack.Seleno/TestStack.Seleno.csproj index 956dac1f..19dc5107 100644 --- a/src/TestStack.Seleno/TestStack.Seleno.csproj +++ b/src/TestStack.Seleno/TestStack.Seleno.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,9 +10,10 @@ Properties TestStack.Seleno TestStack.Seleno - v4.0 + v4.7.1 512 ..\ + true @@ -24,6 +25,7 @@ 4 false bin\Debug\TestStack.Seleno.XML + false pdbonly @@ -33,6 +35,7 @@ prompt 4 bin\Release\TestStack.Seleno.XML + false diff --git a/src/TestStack.Seleno/app.config b/src/TestStack.Seleno/app.config index b78e3517..15d8f67f 100644 --- a/src/TestStack.Seleno/app.config +++ b/src/TestStack.Seleno/app.config @@ -1,11 +1,11 @@ - + - - + + - \ No newline at end of file + diff --git a/src/TestStack.Seleno/packages.config b/src/TestStack.Seleno/packages.config index 97d3f7b3..ff94414d 100644 --- a/src/TestStack.Seleno/packages.config +++ b/src/TestStack.Seleno/packages.config @@ -2,14 +2,14 @@ - + - + - + \ No newline at end of file From a51775eb4dc98cb2b57164d23f5d0c50a3f91ab1 Mon Sep 17 00:00:00 2001 From: Ren Date: Tue, 12 Mar 2019 13:05:15 +0100 Subject: [PATCH 3/3] Upgraded nuget packages in Seleno and Seleno.Tests projects --- .../App.config | 2 +- .../WebServers/WebApplicationTests.cs | 4 +- ...ton_from_radio_group_with_none_selected.cs | 2 +- ...e_script_timing_out_before_it_completes.cs | 3 +- .../TestStack.Seleno.Tests.csproj | 97 +++++++++---------- src/TestStack.Seleno.Tests/app.config | 32 +++--- src/TestStack.Seleno.Tests/packages.config | 70 ++++++++++--- 7 files changed, 125 insertions(+), 85 deletions(-) diff --git a/src/TestStack.Seleno.AcceptanceTests/App.config b/src/TestStack.Seleno.AcceptanceTests/App.config index ff929dfa..a8f14c76 100644 --- a/src/TestStack.Seleno.AcceptanceTests/App.config +++ b/src/TestStack.Seleno.AcceptanceTests/App.config @@ -24,7 +24,7 @@ - + diff --git a/src/TestStack.Seleno.Tests/Configuration/WebServers/WebApplicationTests.cs b/src/TestStack.Seleno.Tests/Configuration/WebServers/WebApplicationTests.cs index 85b5d242..04a8bc8b 100644 --- a/src/TestStack.Seleno.Tests/Configuration/WebServers/WebApplicationTests.cs +++ b/src/TestStack.Seleno.Tests/Configuration/WebServers/WebApplicationTests.cs @@ -13,7 +13,7 @@ public class WebApplicationTests public void WebApplication_should_have_PortNumber() { Action action = () => new WebApplication(Substitute.For(), 0); - action.ShouldThrow() + action.Should().Throw() .Where(exception => exception.Message.StartsWith("portNumber must be greater than zero")); } @@ -21,7 +21,7 @@ public void WebApplication_should_have_PortNumber() public void WebApplication_should_have_Location() { Action action = () => new WebApplication(null, 1000); - action.ShouldThrow() + action.Should().Throw() .Where(exception => exception.Message.StartsWith("You must specify a location")); } diff --git a/src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_attempting_to_retrieve_selected_button_from_radio_group_with_none_selected.cs b/src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_attempting_to_retrieve_selected_button_from_radio_group_with_none_selected.cs index f8e630d8..971d3eb8 100644 --- a/src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_attempting_to_retrieve_selected_button_from_radio_group_with_none_selected.cs +++ b/src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_attempting_to_retrieve_selected_button_from_radio_group_with_none_selected.cs @@ -32,7 +32,7 @@ public void When_getting_selected_radio_button() public void Then_it_should_throw_NoSuchElementException() { - _exceptionThrown = _selectedButtonInRadioGroupAction.ShouldThrow(); + _exceptionThrown = _selectedButtonInRadioGroupAction.Should().Throw(); } public void AndThen_exception_message_should_be_No_selected_radio_button_has_been_found() diff --git a/src/TestStack.Seleno.Tests/PageObjects/Actions/Executor/When_executing_predicate_script_timing_out_before_it_completes.cs b/src/TestStack.Seleno.Tests/PageObjects/Actions/Executor/When_executing_predicate_script_timing_out_before_it_completes.cs index ec5a7172..5544f87e 100644 --- a/src/TestStack.Seleno.Tests/PageObjects/Actions/Executor/When_executing_predicate_script_timing_out_before_it_completes.cs +++ b/src/TestStack.Seleno.Tests/PageObjects/Actions/Executor/When_executing_predicate_script_timing_out_before_it_completes.cs @@ -28,8 +28,9 @@ public void When_executing_predicate_script() public void Then_it_should_throw_a_TimeOut_Exception() { var timing = 0.001d.ToString(CultureInfo.CurrentCulture); + _executeTimingOutScriptAction - .ShouldThrow() + .Should().Throw() .WithMessage(string.Format("The predicate script took longer than {0} seconds to verify statement", timing)); } } diff --git a/src/TestStack.Seleno.Tests/TestStack.Seleno.Tests.csproj b/src/TestStack.Seleno.Tests/TestStack.Seleno.Tests.csproj index 699a8066..755c2a78 100644 --- a/src/TestStack.Seleno.Tests/TestStack.Seleno.Tests.csproj +++ b/src/TestStack.Seleno.Tests/TestStack.Seleno.Tests.csproj @@ -1,5 +1,6 @@  + Debug AnyCPU @@ -14,6 +15,8 @@ 512 ..\ + + true @@ -36,86 +39,72 @@ false - - False - ..\packages\Autofac.3.5.2\lib\net40\Autofac.dll + + ..\packages\Autofac.4.9.1\lib\net45\Autofac.dll - - False - ..\packages\AutofacContrib.NSubstitute.3.3.2\lib\NET40\AutofacContrib.NSubstitute.dll + + ..\packages\AutofacContrib.NSubstitute.4.0.1\lib\NET45\AutofacContrib.NSubstitute.dll - - False - ..\packages\Castle.Core.3.3.3\lib\net40-client\Castle.Core.dll + + ..\packages\Castle.Core.4.3.1\lib\net45\Castle.Core.dll - - ..\packages\NBuilder.3.0.1.1\lib\FizzWare.NBuilder.dll + + ..\packages\NBuilder.6.0.0\lib\net40\FizzWare.NBuilder.dll - - False - ..\packages\FluentAssertions.3.3.0\lib\net40\FluentAssertions.dll + + ..\packages\FluentAssertions.5.6.0\lib\net47\FluentAssertions.dll - - False - ..\packages\FluentAssertions.3.3.0\lib\net40\FluentAssertions.Core.dll - - - False - ..\packages\Humanizer.1.0\lib\NET40\Humanizer.dll + + ..\packages\Humanizer.Core.2.5.16\lib\netstandard2.0\Humanizer.dll True ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - False - ..\packages\NSubstitute.1.7.2.0\lib\NET40\NSubstitute.dll + + ..\packages\NSubstitute.4.0.0\lib\net46\NSubstitute.dll - - False - ..\packages\NUnit.2.6.4\lib\nunit.framework.dll + + ..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll + + + + ..\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll + - - False - ..\packages\Microsoft.AspNet.WebPages.1.0.20105.408\lib\net40\System.Web.Helpers.dll + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll - - False - ..\packages\Microsoft.AspNet.Mvc.3.0.50813.1\lib\net40\System.Web.Mvc.dll + + ..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll - - False - ..\packages\Microsoft.AspNet.Razor.1.0.20105.408\lib\net40\System.Web.Razor.dll + + ..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll - - False - ..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.dll + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.dll - - False - ..\packages\Microsoft.AspNet.WebPages.1.0.20105.408\lib\net40\System.Web.WebPages.Deployment.dll + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Deployment.dll - - False - ..\packages\Microsoft.AspNet.WebPages.1.0.20105.408\lib\net40\System.Web.WebPages.Razor.dll + + ..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll - - ..\packages\TestStack.BDDfy.4.2.0\lib\net40\TestStack.BDDfy.dll - True + + ..\packages\TestStack.BDDfy.4.3.2\lib\net40\TestStack.BDDfy.dll - - ..\packages\Selenium.WebDriver.2.53.0\lib\net40\WebDriver.dll - True + + ..\packages\Selenium.WebDriver.3.141.0\lib\net45\WebDriver.dll @@ -225,6 +214,12 @@ + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +