protected void NavigateToDecisionPage(DecisionJourney decisionJourneyPage) { decisionJourneyPage.Validate(); if (ShouldSelectYes(decisionJourneyPage)) { decisionJourneyPage.SelectYes(); } else { decisionJourneyPage.SelectNo(); } decisionJourneyPage.Continue(); }
protected void SelectAnswer(DecisionJourney page, AnswerType answer) { switch (answer) { case AnswerType.Yes: page.SelectYes(); break; case AnswerType.No: page.SelectNo(); break; case AnswerType.NotSure: page.SelectNotSure(); break; } }
public void WhenIndividualProvidesAdditionalInformationForNotConsentingToVideoHearingAs(string detail) { _aboutYou.SelectNo(detail); }