コード例 #1
0
        public void GivenYoussefHasNavigatedToTheTicketWithTheTitle(string title)
        {
            var youssef = cast.Get <Youssef>();

            stage.ShineTheSpotlightOn(youssef);
            Given(youssef).WasAbleTo(OpenTheTicket.Titled(title));
        }
コード例 #2
0
        public void WhenYoussefNavigatesToTheTicketWithTheTitle(string title)
        {
            var youssef = cast.Get <Youssef>();

            stage.ShineTheSpotlightOn(youssef);
            When(youssef).AttemptsTo(OpenTheTicket.Titled(title));
        }
コード例 #3
0
ファイル: ReadingCommentSteps.cs プロジェクト: csf-dev/agiil
        public void ThenTheyReadTheFirstCommentOnTheTicket(string ticketName)
        {
            var theActor = stage.GetTheActorInTheSpotlight();

            Then(theActor).Should(OpenTheTicket.Titled(ticketName));
            var elements = Then(theActor).ShouldSee(Elements.InThePageBody()
                                                    .ThatAre(TicketDetail.CommentBodies)
                                                    .Called("the comments"));

            context.Set(elements.Elements.First(), CurrentCommentKey);
        }
コード例 #4
0
ファイル: ReadATicketSteps.cs プロジェクト: csf-dev/agiil
        public void ThenTheyOpenATicketWithTheTitle(string title)
        {
            var theActor = stage.GetTheActorInTheSpotlight();

            Then(theActor).Should(OpenTheTicket.Titled(title));
        }
コード例 #5
0
        public void WhenTheyNavigateToTheTicketWithTheTitle(string title)
        {
            var theActor = stage.GetTheActorInTheSpotlight();

            When(theActor).AttemptsTo(OpenTheTicket.Titled(title));
        }