Logo: Relish

  1. Sign in

Project: Storymachine

Story editing

When When I'm working with data for my project, I want to be able to edit
stories so I can correct errors and omissions.

Background
Given
I am logged in
And
I have a project
Scenarios
Edit story page
Given
I have a story
And
I am on my story's page
When
I click "Edit"
Then
I should be on the project's story edit page
Update story
Given
I have a story
And
I am on the project's story edit page
When
I change the story title
And
I click the submit button
Then
I should see a success message
And
I should be on the product's story page
And
the story title should be updated
Update story (try to remove title)
Given
I have a story
And
I am on the project's story edit page
When
I clear the story title
And
I click the submit button
Then
I should see the story form
And
I should see an error message
  • @wip
Update story (change answers)
Given
there are questions for my project
And
I have a story
And
there are answers for my story
And
I am on the project's story edit page
When
I change the values of my answers in the story form
And
I click the submit button
Then
my answers should be updated
And
I should be on the product's story page
And
I should see a success message
  • @wip
Update story (clear answer)
Given
there are questions for my project
And
I have a story
And
there are answers for my story
And
I am on the project's story edit page
When
I clear an answer's value
And
I click the submit button
Then
that answer should be blank on the story
And
I should be on the product's story page
And
I should see a success message

Last published over 5 years ago by Gregory Perry.