Skip to content

Commit e448f92

Browse files
committed
Add test which proves 'no change required' for #53
1 parent 5adcf5c commit e448f92

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

CSF.Extensions.WebDriver.Tests/Identification/BrowserInfoMatcherTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ public void MatchesShouldReturnTrueWhenOnlyTheBrowserNameMatches(BrowserInfoMatc
1313
Assert.That(() => sut.Matches(browserId, browserInfo), Is.True);
1414
}
1515

16+
[Test,AutoMoqData]
17+
public void MatchesShouldUseACaseInsensitiveMatchForBrowserName(BrowserInfoMatcher sut)
18+
{
19+
var browserId = new BrowserId("FOOBROWSER", "BarPlatform", MissingBrowserVersion.Instance);
20+
var browserInfo = new BrowserInfo { Name = "foobrowser" };
21+
Assert.That(() => sut.Matches(browserId, browserInfo), Is.True);
22+
}
23+
1624
[Test,AutoMoqData]
1725
public void MatchesShouldReturnFalseIfTheBrowserNameDoesNotMatch(BrowserInfoMatcher sut)
1826
{

0 commit comments

Comments
 (0)