Logo: Relish

  1. Sign in

Project: Storymachine

Question creation

When starting a project I want to add and configure questions so participants
can provide data alongside their stories during

Background
Given
I am logged in
And
I have a project
Scenarios
New question page
Given
I am on the question index page for my project
When
I click "New Question"
Then
I should be on the question creation page for my project
Add question (missing required fields)
Given
I am on the question creation page for my project
And
I haven't filled out the form
When
I click the submit button
Then
I should see an error message
And
I should see the question form
Add question
Given
I am on the question creation page for my project
When
I fill the question form with values for a type question
And
I click the submit button
Then
I should see a success message
And
I should be on question index page for my project
And
my question should have been created
Examples:
type
short answer
long answer
choice
multiple choices

Last published over 5 years ago by Gregory Perry.