Beispiel #1
0
        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");
        }
Beispiel #2
0
        public void by_css_with_a_label_but_no_template()
        {
            var grammar = new ClickFixture()["click2"].As <ClickGrammar>();

            grammar.Template.ShouldEqual("Click the big thing");
        }
Beispiel #3
0
        public void by_css_no_label_no_template()
        {
            var grammar = new ClickFixture()["click1"].As <ClickGrammar>();

            grammar.Template.ShouldEqual("Click CssSelector: .big");
        }