Logo: Relish

  1. Sign in

Project: Storymachine

Story creation

When I'm working with data for my project, I want to create stories and enter
their information so that I can perform analysis and refer to it later.

Background
Given
I am logged in
And
I have a project
Scenarios
New story page
Given
I am on my project's story index page
When
I click "New Story"
Then
I should be on the project's story creation page
Create story (no questions)
Given
I am on the project's story creation page
When
I fill out the story form
And
I click the submit button
Then
I should see a success message
And
I should be on my new story's page
Create story (missing info)
Given
I am on the project's story creation page
When
I haven't filled out the form
And
I click the submit button
Then
I should see the story form
And
I should see an error message
  • @wip
Create story form (by question type)
Given
my project has a type question
And
I am on the project's story creation page
Then
the story form should have the question label for its field label
And
the story form should have a(n) input field for the question
Examples:
type input
short answer text
long answer textarea
choice radio
multiple choices checkbox
range range
  • @wip
Create story (with questions)
Given
my project has every type of question
And
I am on the project's story creation page
When
I fill out the story form with answers for the questions
And
I click the submit button
Then
my story should have answers
And
I should see a success message
And
I should be on my new story's page

Last published over 5 years ago by Gregory Perry.