You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
The text was updated successfully, but these errors were encountered:
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"
The text was updated successfully, but these errors were encountered: