Added the full range of help modal options

Fixed pylint violations
This commit is contained in:
JonahStanley
2013-08-19 08:56:55 -04:00
parent fc899ab116
commit ce5d9b93b1
2 changed files with 16 additions and 2 deletions

View File

@@ -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 "<FeedbackType>"
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 "<FeedbackType>" without saying who I am
Then I should see confirmation that the issue was received
Examples:
| FeedbackType |
| problem |
| suggestion |
| question |

View File

@@ -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'