-
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
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
staff_features/digital_objects/digital_object_publish.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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Feature: Digital Object Publish | ||
Background: | ||
Given an administrator user is logged in | ||
And a Digital Object has been created | ||
Scenario: Publish the Digital Object from toolbar | ||
Given the Digital Object is opened in edit mode | ||
When the user clicks on 'Publish All' | ||
And the user clicks on 'Publish All' in the modal | ||
Then the 'Digital Object' published message is displayed | ||
And the 'View Published' button is displayed | ||
Scenario: Publish the Digital Object from the Publish checkbox in the Basic Information section | ||
Given the Digital Object is opened in edit mode | ||
When the user checks 'Publish' | ||
And the user clicks on 'Save' | ||
Then the 'Digital Object' updated message is displayed | ||
And the 'View Published' button is displayed | ||
Scenario: View a published Digital Object in the public interface | ||
Given the Digital Object is opened in edit mode | ||
And the Digital Object is published | ||
When the user clicks on 'View Published' | ||
Then the Digital Object opens on a new tab in the public interface |
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