Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sven Fuchs
committed
Jul 16, 2008
1 parent
efe305a
commit c793c4c
Showing
7 changed files
with
61 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,46 @@ | ||
# TODO | ||
# add assets to bucket | ||
# attach to article | ||
|
||
Story: Managing assets | ||
As an admin | ||
I want to manage my site's assets | ||
So I can get use them on the site | ||
|
||
# Scenario: An admin views the assets list | ||
# Given a site with no assets | ||
# And the user is logged in as admin | ||
# When the user visits admin sites assets list page | ||
# Then the page has an empty list | ||
# | ||
# Scenario: An admin uploads, updates and deletes an asset | ||
# Given a site with no assets | ||
# And the user is logged in as admin | ||
# When the user visits admin sites assets list page | ||
# And the user clicks on 'New asset' | ||
# Then the page has an admin asset creation form | ||
# When the user fills in the admin asset creation form with valid values | ||
# And the user clicks the 'Upload' button | ||
# Then a new asset is saved | ||
# And the user is redirected to admin sites assets list page | ||
# Then the page has a list of assets with at least one asset | ||
# When the user clicks on 'Edit' | ||
# Then the page has an admin asset edit form | ||
# When the user fills in the admin asset edit form | ||
# And the user clicks the 'Save' button | ||
# Then the asset is updated | ||
# When the user clicks on 'Delete' | ||
# Then the asset is deleted | ||
Scenario: An admin views the assets list | ||
Given a site with no assets | ||
And the user is logged in as admin | ||
When the user visits admin sites assets list page | ||
Then the page has an empty list | ||
|
||
Scenario: An admin uploads an asset | ||
Given a site with no assets | ||
And the user is logged in as admin | ||
When the user visits admin sites assets list page | ||
And the user clicks on 'New asset' | ||
Then the page has an admin asset creation form | ||
When the user fills in the admin asset creation form with valid values | ||
And the user clicks the 'Upload' button | ||
Then a new asset is saved | ||
And the user is redirected to admin sites assets list page | ||
Then the page has a list of assets with at least one asset | ||
|
||
Scenario: An admin updates an asset | ||
GivenScenario: An admin uploads an asset | ||
When the user clicks on 'Edit' | ||
Then the page has an admin asset edit form | ||
When the user fills in the admin asset edit form | ||
And the user clicks the 'Save' button | ||
Then the asset is updated | ||
|
||
Scenario: An admin deletes an asset | ||
GivenScenario: An admin uploads an asset | ||
When the user clicks on 'Delete' | ||
Then the asset is deleted | ||
|
||
Scenario: An admin adds an asset to the bucket | ||
Given a site with an asset | ||
And the user is logged in as admin | ||
GivenScenario: An admin uploads an asset | ||
When the user visits admin sites assets list page | ||
And the user clicks on 'Add to bucket' | ||
And the user adds an asset to the bucket | ||
Then the asset is added to the bucket | ||
And the asset immediately shows up on the page | ||
And the asset immediately shows up on the page | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters