Example #1
0
 public void ShowsAllCssInOrder_example()
 {
     Assert.That(Browser,
                 Shows.AllCssInOrder("#inspectingContent ul li",
                                     "Some",
                                     "text",
                                     "in",
                                     "a",
                                     "list",
                                     "one",
                                     "two",
                                     "Me! Pick me!"));
     Assert.Throws <AssertionException>(() => Assert.That(Browser,
                                                          Shows.AllCssInOrder("#inspectingContent ul li",
                                                                              "Some",
                                                                              "text",
                                                                              "in",
                                                                              "a",
                                                                              "list",
                                                                              "two",
                                                                              "one",
                                                                              "Me! Pick me!")));
 }
Example #2
0
 public void ShowsAllCssInOrder_example()
 {
     Assert.That(browser, Shows.AllCssInOrder("#inspectingContent ul li", new[] { "Some", "text", "in", "a", "list", "one", "two", "Me! Pick me!" }));
 }