Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot save incomplete work #21

Open
eliza411 opened this issue Apr 29, 2013 · 0 comments
Open

Cannot save incomplete work #21

eliza411 opened this issue Apr 29, 2013 · 0 comments
Assignees
Labels

Comments

@eliza411
Copy link

Feature: Save incomplete work
In order to save progress as I learn
As a web user
I need to be able to save work that is not finished

Background:
Given I am on the edit page of an existing feature

Scenario: Missing feature line
When I delete the Feature: line
And I click "Save"
Then I should see "You must enter a feature title"
And I should see the text area so that I can make my correction
And I should not see "Expected Comment or Scenario or Outline or Step token, but got Text on line: 1"

Scenario: Flawed scenario step
When I enter "I should see something" as a line in the scenario
And I click "Save"
Then I should see "The Feature was successfully updated."
And I should not see "Expected Comment or Scenario or Outline or Step token, but got Text on line:"
And my changes should be saved

Scenario: Scenario outline is missing Examples line
When I create a Scenario outline
And I don't create the Examples
Then I should see "The Feature was successfully updated."
And I should not see "Expected Examples token, but got EOS"

Scenario: Scenario is missing the Example table
When I create a Scenario outline
And I include the Examples line
But I haven't created the Examples table
Then I should see "The Feature was successfully updates."
And I should not see "Expected TableRow token but got EOS"

@ghost ghost assigned lotyrin Apr 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants