diff --git a/Lombiq.Tests.UI/Services/HtmlValidationConfiguration.cs b/Lombiq.Tests.UI/Services/HtmlValidationConfiguration.cs index f2bc8762c..0216b4767 100644 --- a/Lombiq.Tests.UI/Services/HtmlValidationConfiguration.cs +++ b/Lombiq.Tests.UI/Services/HtmlValidationConfiguration.cs @@ -69,5 +69,5 @@ public class HtmlValidationConfiguration }; public static readonly Predicate EnableOnValidatablePagesHtmlValidationAndAssertionOnPageChangeRule = - UrlCheckHelper.IsValidatablePage; + context => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == null && UrlCheckHelper.IsValidatablePage(context); }