public void TextContentShouldMatchWithInnerText() { var divs = Ie.Divs.Filter(Find.ById(new Regex("^innerTextTest"))); foreach (Div div in divs) { Assert.That(Firefox.Div(div.Id).Text, Is.EqualTo(div.Text), "failed for div: " + div.Id); } }
public void TextContentShouldMatchWithInnerText() { var divs = Ie.Divs.Filter(Find.ById(new Regex("^innerTextTest"))); foreach (Div div in divs) { if (div.Id == "innerTextTest7") { continue; // See also following Ignored test } Assert.That(Firefox.Div(div.Id).Text, Is.EqualTo(div.Text), "failed for div: " + div.Id); } }
public void TextContent_not_the_same_between_ie_and_firefox_is_an_JSElement_issue() { var div = Ie.Div("innerTextTest7"); Assert.That(Firefox.Div("innerTextTest7").Text, Is.Not.EqualTo(div.Text), "Congratulations you have fixed this issue! And yes because of that this test is failing :-)"); }