forked from gigascience/gigadb-website
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
showing datasets on user profile (#60)
user story and acceptance test scenarios drafted
- Loading branch information
Rija Menage
committed
Jan 21, 2018
1 parent
8c87a09
commit 2ae0c43
Showing
1 changed file
with
27 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,30 @@ | ||
Feature: shows datasets authored by a user on his/her profile | ||
As a gigadb user, | ||
I want to see on my profile the datasets that I have authored | ||
So that I can manage them conveniently from one place | ||
So that I can manage them conveniently from one place | ||
|
||
|
||
Scenario: user is associated to an author of existing dataset | ||
Given I am logged in as "user@gigadb.org" | ||
And I am linked to author "Zhang, G" of dataset "/dataset/100002" | ||
When I am on "/user/view_profile" | ||
Then I should see "Your Authored Datasets" | ||
And I should see "Genomic data from Adelie penguin (Pygoscelis adeliae)" | ||
|
||
Scenario: no association with dataset author made | ||
Given I am logged in as "user@gigadb.org" | ||
When I am on "/user/view_profile" | ||
Then I should not see "Your Authored Datasets" | ||
|
||
Scenario: user has a pending claim on a dataset author | ||
Given I am logged in as "user@gigadb.org" | ||
When I am on "/user/view_profile" | ||
Then I should not see "Your Authored Datasets" | ||
|
||
|
||
Scenario: user is associated to an author with no existing dataset | ||
Given I am logged in as "user@gigadb.org" | ||
And I am linked to author "Doe, J" | ||
When I am on "/user/view_profile" | ||
Then I should see "Your Authored Datasets" | ||
And I should not see any results under the section "Your Authored Datasets" |