Skip to content

Commit d624de6

Browse files
committed
Add UI test for the question skipping
1 parent 47b839f commit d624de6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

features/types_tobacco_smoking.feature

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ Feature: Types tobacco smoking page
2727
When I check "Cigarettes"
2828
And I submit the form
2929
Then I am on "/cigarettes-smoking-frequency"
30+
When I click "Back"
31+
Then I am on "/types-tobacco-smoking"
32+
And I see "Cigarettes" selected
33+
When I check "Pipe"
34+
And I click "Continue"
35+
Then I am on "/cigarettes-smoking-current"
36+
And I see a back link to "/types-tobacco-smoking"
3037

3138
Scenario: Checking responses and changing them
3239
Given I am logged in

0 commit comments

Comments
 (0)