From 0f4944f3b5676bb5c510773baae7bf8681539b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Leh=C3=B3czky?= Date: Fri, 23 Aug 2024 01:21:39 +0200 Subject: [PATCH] Fixing that invalid HTML tripped requests to /Settings/general after a Chrome update --- .../Services/OrchardCoreUITestExecutorConfiguration.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs b/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs index 9fb9534bc..1423dfa04 100644 --- a/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs +++ b/Lombiq.Tests.UI/Services/OrchardCoreUITestExecutorConfiguration.cs @@ -59,7 +59,10 @@ public class OrchardCoreUITestExecutorConfiguration !logEntry.Message.ContainsOrdinalIgnoreCase("HTML Imports is deprecated") && // The 404 is because of how browsers automatically request /favicon.ico even if a favicon is declared to be // under a different URL. - !logEntry.IsNotFoundLogEntry("/favicon.ico"); + !logEntry.IsNotFoundLogEntry("/favicon.ico") && + // Workaround for https://github.com/OrchardCMS/OrchardCore/issues/16606. + !(logEntry.Message.ContainsOrdinalIgnoreCase("/Settings/general") && + logEntry.Message.ContainsOrdinalIgnoreCase("A em tag was parsed inside of a