diff --git a/src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs b/src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs index c780a6b61f..db5b0ea1e0 100644 --- a/src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs +++ b/src/Samples/Tests/Tests/Complex/SPAErrorReportingTests.cs @@ -4,6 +4,7 @@ using DotVVM.Samples.Tests.Base; using DotVVM.Testing.Abstractions; using OpenQA.Selenium.Chrome; +using OpenQA.Selenium.Chromium; using Riganti.Selenium.Core; using Riganti.Selenium.Core.Abstractions.Attributes; using Riganti.Selenium.DotVVM; @@ -31,7 +32,7 @@ public void Complex_SPAErrorReporting_NavigationAndPostbacks() void SetOfflineMode(bool offline) { - ((ChromeDriver)browser.Driver).NetworkConditions = new ChromeNetworkConditions() { + ((ChromeDriver)browser.Driver).NetworkConditions = new ChromiumNetworkConditions() { IsOffline = offline, Latency = TimeSpan.FromMilliseconds(5), DownloadThroughput = 500 * 1024, diff --git a/src/Samples/Tests/Tests/DotVVM.Samples.Tests.csproj b/src/Samples/Tests/Tests/DotVVM.Samples.Tests.csproj index 1e4167c204..8af473670d 100644 --- a/src/Samples/Tests/Tests/DotVVM.Samples.Tests.csproj +++ b/src/Samples/Tests/Tests/DotVVM.Samples.Tests.csproj @@ -6,7 +6,7 @@ - + @@ -14,13 +14,13 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - + + + + + + +