public void ByNameExecutesCaseInsensitiveQueryInNodeContextTest()
{
const string Html = @"
<html>
<head />
<body>
<form name='Test'>
<input type='text' id='DataId' name='Data' />
</form>
<form name='SecondTest'>
<input type='checkbox' name='IsSet' />
</form>
</body>
</html>
";
var page = new HtmlPageStub(Html);
var form = page.Find<HtmlForm>().ByName("Test");
var actual = form.Find<HtmlFormElement>().ByName("DATA");
actual.Should().NotBeNull();
actual.Should().BeAssignableTo<HtmlInput>();
actual.Name.Should().Be("Data");
}