diff --git a/lms/djangoapps/courseware/features/help.feature b/lms/djangoapps/courseware/features/help.feature index ff381c666b..61305b7cfa 100644 --- a/lms/djangoapps/courseware/features/help.feature +++ b/lms/djangoapps/courseware/features/help.feature @@ -7,12 +7,25 @@ Feature: The help module should work Scenario: I can submit a problem when I am not logged in Given I visit the homepage When I open the help form - And I report a "problem" + And I report a "" Then I should see confirmation that the issue was received + Examples: + | FeedbackType | + | problem | + | suggestion | + | question | + + Scenario: I can submit a problem when I am logged in Given I am in a course When I open the help form - And I report a "problem" without saying who I am + And I report a "" without saying who I am Then I should see confirmation that the issue was received + Examples: + | FeedbackType | + | problem | + | suggestion | + | question | + diff --git a/lms/djangoapps/courseware/features/help.py b/lms/djangoapps/courseware/features/help.py index 7691328f00..cf566ad95f 100644 --- a/lms/djangoapps/courseware/features/help.py +++ b/lms/djangoapps/courseware/features/help.py @@ -3,6 +3,7 @@ from lettuce import world, step + @step(u'I open the help form') def open_help_modal(step): help_css = 'div.help-tab'