-
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.
- Loading branch information
1 parent
b665782
commit 05b981f
Showing
15 changed files
with
100 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Feature: Accession Create | ||
Background: | ||
Given I am logged in as an admin user | ||
Given the user is logged in as an administrator | ||
Scenario: Accession is created | ||
Given I am on the New Accession page | ||
Given the user is on the New Accession page | ||
When the user fills in all the required fields | ||
When the user clicks on Save | ||
Then a new accession is created | ||
Scenario: Accession is not created | ||
Given I am on the New Accession page | ||
Given the user is on the New Accession page | ||
When the user does not fill in all the required fields | ||
When the user clicks on Save | ||
Then a new accession is not created |
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,23 +1,23 @@ | ||
Feature: Accession Delete | ||
Background: | ||
Given I am logged in as an admin user | ||
Given the user is logged in as an administrator | ||
Scenario: Accession is deleted from the search results | ||
Given an accession has been created | ||
And the accession is in the search results | ||
When I click on the checkbox of the accession | ||
And I click on Delete | ||
And I click on Delete Records | ||
When the user clicks on the checkbox of the accession | ||
And the user clicks on Delete | ||
And the user clicks on Delete Records | ||
And the message "Records deleted" is displayed | ||
And the message "No records found" is displayed | ||
Scenario: Accession is deleted from the view page | ||
Given an accession has been created | ||
And I am in the accession details page | ||
When I click on Delete | ||
And I confirm the delete action | ||
And the user is on the accession details page | ||
When the user clicks on Delete | ||
And the user confirms the delete action | ||
Then the accession is deleted | ||
Scenario: Cancel accession delete from the view page | ||
Given an accession has been created | ||
And I am in the accession details page | ||
When I click on Delete | ||
When I click on Cancel | ||
And the user is on the accession details page | ||
When the user clicks on Delete | ||
When the user clicks on Cancel | ||
Then the accession is not deleted |
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,19 +1,19 @@ | ||
Feature: Accessions Search | ||
Background: | ||
Given I am logged in as an admin user | ||
Given the user is logged in as an administrator | ||
Scenario: Search accession by title | ||
Given an accession has been created | ||
When I click on Browse | ||
And I click on Accessions | ||
And I search for the accession title | ||
When the user clicks on Browse | ||
And the user clicks on Accessions | ||
And the user searches for the accession title | ||
Then the accession is in the search results | ||
Scenario: Sort accessions by title | ||
Given two accessions have been created | ||
And the accessions are on the search results sorted by ascending title | ||
When I click on Title | ||
When the user clicks on Title | ||
Then the accessions are sorted by descending title | ||
Scenario: View accession | ||
Given an accession has been created | ||
When the accession is in the search results | ||
And I click on the View button | ||
Then I can view the accession details page | ||
And the user clicks on the View button | ||
Then the user can view the accession details 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 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
14 changes: 7 additions & 7 deletions
14
staff-features/digital-objects/digital_object_create.feature
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,15 +1,15 @@ | ||
Feature: Create repository | ||
Scenario: Repository is created from an admin user | ||
Given I am logged in as an admin user | ||
When I click on System | ||
And I click on Manage Repositories | ||
And I click on Create Repository | ||
And I fill in the Repository Short Name | ||
And I fill in the Repository Name | ||
And I click on Save | ||
Given the user is logged in as an administrator | ||
When the user clicks on System | ||
And the user clicks on Manage Repositories | ||
And the user clicks on Create Repository | ||
And the user fills in the Repository Short Name | ||
And the user fills in the Repository Name | ||
And the user clicks on Save | ||
Then the message "Repository Created" is displayed | ||
And the repository is created | ||
Scenario: Repository is not created from a view-only user | ||
Given I am logged in as a view-only user | ||
When I click on System | ||
Given the user is logged in as a view-only user | ||
When the user clicks on System | ||
Then the Manage Repositories button should not be in the dropdown menu |
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
22 changes: 11 additions & 11 deletions
22
staff-features/resources/update_basic_information.feature
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,23 +1,23 @@ | ||
Feature: Update Resource Basic Information | ||
Background: | ||
Given I am logged in as an admin user | ||
Given the user is logged in as an administrator | ||
Given a resource has been created | ||
Scenario: Successfully update resource basic information | ||
Given I am on the resource edit page | ||
When I select "Records" from "Resource Type" | ||
When I check Publish? | ||
When I check Restrictions Apply? | ||
When I fill in Repository Processing Note with "Repository Processing Note" | ||
When I click on Save Resource | ||
Given the user is on the resource edit page | ||
When the user selects "Records" from "Resource Type" | ||
When the user checks Publish? | ||
When the user checks Restrictions Apply? | ||
When the user fills in Repository Processing Note with "Repository Processing Note" | ||
When the user clicks on Save Resource | ||
Then the resource is updated | ||
Then Resource Type has value Records | ||
Then Publish? is checked | ||
Then Restrictions Apply? is checked | ||
Then Repository Processing Note has value "Repository Processing Note" | ||
Scenario: Revert changes | ||
Given I am on the resource edit page | ||
When I change the resource Title | ||
When I change the resource Identifier | ||
When I click on Revert Changes | ||
Given the user is on the resource edit page | ||
When the user changes the resource Title | ||
When the user changes the resource Identifier | ||
When the user clicks on Revert Changes | ||
Then the resource Title does not change | ||
Then the resource Identifier does not change |
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
Oops, something went wrong.