diff options
author | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-07-15 15:28:55 +0200 |
---|---|---|
committer | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-07-21 20:49:50 +0200 |
commit | c097a6cac078137eecbf675d8c2da7ab7b3b1e3a (patch) | |
tree | 87f8eb7f1a7a95a9674e44d9298a4b600fcad320 /features | |
parent | Feature covering proper view of questions by category (diff) | |
download | recruiting-webapp-c097a6cac078137eecbf675d8c2da7ab7b3b1e3a.tar.gz recruiting-webapp-c097a6cac078137eecbf675d8c2da7ab7b3b1e3a.tar.bz2 recruiting-webapp-c097a6cac078137eecbf675d8c2da7ab7b3b1e3a.zip |
Cleaned question creation a bit
Diffstat (limited to 'features')
-rw-r--r-- | features/clean_ui.feature | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/features/clean_ui.feature b/features/clean_ui.feature index c1b14dc..d2a8e81 100644 --- a/features/clean_ui.feature +++ b/features/clean_ui.feature @@ -37,3 +37,18 @@ Feature: Clean UI And I should not see following: |question 1|question 2|question 3|question 4|question 6|hidden| And I should not see /There are \d+/ + + Scenario: Administrator creating new question + Given I am logged in as administrator + When I follow "Suggestion Questions" + And I follow "New Question" + Then I should not see "Approved" within ".section.content-body" + And I should not see "User" within ".section.content-body" + And I should see "You will add content in next step" + + When I fill in "Question" for "question[title]" + And I fill in "doc" for "question[documentation]" + And I press "Create Question" + Then I should see following: + |Add text content|Add multiple choice content| + |