Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 21c8279

Browse files
kdimopulublacksmith-welder
authored andcommitted
gherkin scenarios for spawning a resource from an accession
1 parent bd83a84 commit 21c8279

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Feature: Resource Spawn from an Accession
2+
Background:
3+
Given an administrator user is logged in
4+
And an Accession has been created
5+
And the Accession with the title "Original Accession Title" is opened in edit mode
6+
7+
Scenario: Resource Spawn from Accession page is opened
8+
When the user clicks on 'Spawn'
9+
And the user clicks on 'Resource' in the spawn dropdown menu
10+
Then the New Resource page is displayed
11+
And the following info message is displayed
12+
| A new Resource has been spawned from Accession "Original Accession Title". This record is unsaved. You must click Save for the record to be created in the system. |
13+
14+
Scenario: Original Accession record is linked to the spawned Resource
15+
Given the user is on the New Resource page spawned from the original Accession
16+
When the user click on 'Related Accessions' at the sidebar
17+
Then the 'Related Accessions' form is displayed
18+
And the original Accession Title is filled in
19+
20+
Scenario: Backing out of creating a resource record
21+
Given the user is on the New Resource page spawned from the original Accession
22+
When the user clicks on the 'Return to Accession' button
23+
Then the original Accession Record page is displayed

0 commit comments

Comments
 (0)