22Feature : Check if you need an appointment page
33 Scenario : The page is accessible
44 Given I am logged in
5+ And I have answered have you ever smoked with an eligible response
6+ And I have answered date of birth with an eligible date of birth
57 When I go to "/check-if-you-need-an-appointment"
68 Then there are no accessibility violations
79
810 Scenario : Form errors
911 Given I am logged in
12+ And I have answered have you ever smoked with an eligible response
13+ And I have answered date of birth with an eligible date of birth
1014 When I go to "/check-if-you-need-an-appointment"
1115 And I click "Continue"
1216 Then I am on "/check-if-you-need-an-appointment"
@@ -15,20 +19,26 @@ Feature: Check if you need an appointment page
1519
1620 Scenario : Eligibility exit if needs face to face appointment
1721 Given I am logged in
22+ And I have answered have you ever smoked with an eligible response
23+ And I have answered date of birth with an eligible date of birth
1824 When I go to "/check-if-you-need-an-appointment"
1925 Then I see a back link to "/date-of-birth"
2026 When I check "Yes, one or more of these things applies to me and I need a face-to-face appointment" and submit
2127 Then I am on "/call-us-to-book-an-appointment"
2228
2329 Scenario : Navigating backwards and forwards
2430 Given I am logged in
31+ And I have answered have you ever smoked with an eligible response
32+ And I have answered date of birth with an eligible date of birth
2533 When I go to "/check-if-you-need-an-appointment"
2634 Then I see a back link to "/date-of-birth"
2735 When I check "No, I can continue online" and submit
2836 Then I am on "/height"
2937
3038 Scenario : Checking responses and changing them
3139 Given I am logged in
40+ And I have answered have you ever smoked with an eligible response
41+ And I have answered date of birth with an eligible date of birth
3242 When I go to "/check-if-you-need-an-appointment"
3343 And I check "No, I can continue online" and submit
3444 When I click "Back"
0 commit comments