public void by_css_with_a_template() { var fixture = new ScreenFixture <ViewModel>(); var grammar = new ClickFixture()["click3"].As <ClickGrammar>(); grammar.Template.ShouldEqual("launch the something"); }
public void by_css_with_a_label_but_no_template() { var grammar = new ClickFixture()["click2"].As <ClickGrammar>(); grammar.Template.ShouldEqual("Click the big thing"); }
public void by_css_no_label_no_template() { var grammar = new ClickFixture()["click1"].As <ClickGrammar>(); grammar.Template.ShouldEqual("Click CssSelector: .big"); }