Skip to content

Commit b958319

Browse files
exyitomasherceg
authored andcommitted
One more test to ignore whitespace in dates
1 parent 3e504ba commit b958319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Samples/Tests/Tests/Feature/DateTimeTranslationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void Feature_TimeOnly_PropertyTranslations()
102102
textbox.Clear().SendKeys(stringDateTime).SendEnterKey();
103103

104104
var str = browser.Single("span[data-ui=timeOnlyToString]");
105-
AssertUI.TextEquals(str, "3:28:31 PM");
105+
AssertUI.Text(str, t => EqualsIgnoreSpace(t, "3:28:31 PM"));
106106
var props = browser.Single("span[data-ui=timeOnlyProperties]");
107107
AssertUI.TextEquals(props, "15 hours 28 minues 31 seconds and 0 milliseconds");
108108
});

0 commit comments

Comments
 (0)