Skip to content

Commit

Permalink
General cleanup of scenarios, still have a few scenarios pending whic…
Browse files Browse the repository at this point in the history
…h will be covered shortly.
  • Loading branch information
baphled committed Jul 15, 2010
1 parent 0eb3c67 commit ad67509
Showing 1 changed file with 1 addition and 39 deletions.
40 changes: 1 addition & 39 deletions features/enhanced/form_submission_via_ajax.feature
Expand Up @@ -54,24 +54,6 @@ Feature: Form submission via AJAX
| edit story | story | update |
| edit step | step | update |

Scenario Outline: The order button should still function
Given there is a <item>
When I am on the <page> page
And the <item> is filled in
Then there should be an AJAX call
And the order button should be visible
When I click the "Order" button
Then I should see the handlers

Examples:
| page | item | form action |
| new project | project | fill in |
| new feature | feature | fill in |
| new story | story | fill in |
| edit project | project | update |
| edit feature | feature | update |
| edit story | story | update |

# @TODO Add more pagination related scenarios later
Scenario Outline: We should still be able to use the pagination
Given there is a <item>
Expand All @@ -96,15 +78,11 @@ Examples:
When I am on the <page> page
And I <form action> the <item> form
Then there should be an AJAX request
And I click panel for the first item in the sortable list
And I "click" on the one of the items panel
Then the panels icons should be visible

Examples:
| page | item | form action |
| new project | project | fill in |
| new feature | feature | fill in |
| new story | story | fill in |
| new step | step | fill in |
| edit project | project | update |
| edit feature | feature | update |
| edit story | story | update |
Expand Down Expand Up @@ -146,19 +124,3 @@ Examples:
| edit feature | feature | update |
| edit story | story | update |
| edit step | step | update |

Scenario Outline: Should be able to sort the responding
Given there is a <item>
When I am on the <page> page
And I <form action> the <item> form
Then there should be an AJAX request
And the order button should be visible
When I click the "Order" button
Then I should see the handlers

Examples:
| page | item | form action |
| edit project | project | update |
| edit feature | feature | update |
| edit story | story | update |
| edit step | step | update |

0 comments on commit ad67509

Please sign in to comment.