diff --git a/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI.csproj b/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI.csproj
index e3b9b8f..bdf67b2 100644
--- a/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI.csproj
+++ b/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI.csproj
@@ -28,7 +28,7 @@
-
+
diff --git a/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/TestCases/ApplicationInsightsTestCases.cs b/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/TestCases/ApplicationInsightsTestCases.cs
index 47c9e7c..0e63923 100644
--- a/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/TestCases/ApplicationInsightsTestCases.cs
+++ b/Lombiq.Hosting.Azure.ApplicationInsights.Tests.UI/TestCases/ApplicationInsightsTestCases.cs
@@ -12,19 +12,17 @@ public static class ApplicationInsightsTestCases
{
public static Task ApplicationInsightsTrackingInOfflineOperationShouldWorkAsync(
ExecuteTestAfterSetupAsync executeTestAfterSetupAsync,
- Browser browser,
+ Browser browser = default,
Func changeConfigurationAsync = null) =>
executeTestAfterSetupAsync(
async context =>
{
- await context.EnableFeatureDirectlyAsync("Lombiq.Hosting.Azure.ApplicationInsights");
-
await context.EnablePrivacyConsentBannerFeatureAndAcceptPrivacyConsentAsync();
var appInsightsExist = context.ExecuteScript("return window.appInsights === 'enabled'") as bool?;
- // Our custom message helps debugging, otherwise from the test output you could only tell that a value should be
- // true but is false which is less than helpful.
+ // Our custom message helps debugging, otherwise from the test output you could only tell that a value
+ // should be true but is false which is less than helpful.
appInsightsExist.ShouldBe(expected: true, "The Application Insights module is not working or is not in offline mode.");
},
browser,