Exemplo n.º 1
0
 public void ShowsCssContaining_example()
 {
     Assert.That(Browser, Shows.CssContaining("#inspectingContent ul li", "Some", "text", "in", "a", "list"));
     Assert.Throws <AssertionException>(() => Assert.That(Browser,
                                                          Shows.CssContaining("#inspectingContent ul li",
                                                                              "missing",
                                                                              "from",
                                                                              "a",
                                                                              "list")));
 }
Exemplo n.º 2
0
 public void ShowsCssContaining_example()
 {
     Assert.That(browser, Shows.CssContaining("#inspectingContent ul li", "Some", "text", "in", "a", "list"));
 }