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"); });