From 1896bff84f3e7a1b9ef749cab12fe9e889fe2660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Standa=20Luke=C5=A1?= Date: Fri, 20 Dec 2024 21:13:15 +0100 Subject: [PATCH] One more test to ignore whitespace in dates --- src/Samples/Tests/Tests/Feature/DateTimeTranslationTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Samples/Tests/Tests/Feature/DateTimeTranslationTests.cs b/src/Samples/Tests/Tests/Feature/DateTimeTranslationTests.cs index 3005dabbf..235a34d68 100644 --- a/src/Samples/Tests/Tests/Feature/DateTimeTranslationTests.cs +++ b/src/Samples/Tests/Tests/Feature/DateTimeTranslationTests.cs @@ -102,7 +102,7 @@ public void Feature_TimeOnly_PropertyTranslations() textbox.Clear().SendKeys(stringDateTime).SendEnterKey(); var str = browser.Single("span[data-ui=timeOnlyToString]"); - AssertUI.TextEquals(str, "3:28:31 PM"); + AssertUI.Text(str, t => EqualsIgnoreSpace(t, "3:28:31 PM")); var props = browser.Single("span[data-ui=timeOnlyProperties]"); AssertUI.TextEquals(props, "15 hours 28 minues 31 seconds and 0 milliseconds"); });