22Feature : Date of birth page
33 Scenario : The page is accessible
44 Given I am logged in
5- And I have answered have you ever smoked with "Yes, I used to smoke"
5+ And I have answered have you ever smoked with an eligible response
66 When I go to "/date-of-birth"
77 Then there are no accessibility violations
88
99 Scenario : Form errors
1010 Given I am logged in
1111 And I have started the questionnaire
12- And I have answered have you ever smoked with "Yes, I used to smoke"
12+ And I have answered have you ever smoked with an eligible response
1313 When I go to "/date-of-birth"
1414 When I click "Continue"
1515 Then I am on "/date-of-birth"
@@ -27,23 +27,23 @@ Feature: Date of birth page
2727
2828 Scenario : Eligibility of people not in age range
2929 Given I am logged in
30- And I have answered have you ever smoked with "Yes, I used to smoke"
30+ And I have answered have you ever smoked with an eligible response
3131 When I go to "/date-of-birth"
3232 And I fill in and submit my date of birth with "01-01-1900"
3333 Then I am on "/age-range-exit"
3434 And I see a title "You are not eligible for lung cancer screening"
3535
3636 Scenario : Navigating backwards and forwards
3737 Given I am logged in
38- And I have answered have you ever smoked with "Yes, I used to smoke"
38+ And I have answered have you ever smoked with an eligible response
3939 When I go to "/date-of-birth"
4040 Then I see a back link to "/have-you-ever-smoked"
4141 When I fill in and submit my date of birth as 55 years ago
4242 Then I am on "/check-if-you-need-an-appointment"
4343
4444 Scenario : Checking responses and changing them
4545 Given I am logged in
46- And I have answered have you ever smoked with "Yes, I used to smoke"
46+ And I have answered have you ever smoked with an eligible response
4747 When I go to "/date-of-birth"
4848 And I fill in and submit my date of birth as 55 years ago
4949 When I go to "/check-your-answers"
0 commit comments