You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature: Spawning a new accession record from an existing accession record
2
+
Background:
3
+
Given an administrator user is logged in
4
+
And an Accession has been created
5
+
And the Accession is opened in edit mode
6
+
Scenario: Accession Spawn Accession page is opened
7
+
When the user clicks on 'Spawn'
8
+
And the user clicks on 'Accession' in the dropdown menu
9
+
Then the New Accession page is opened
10
+
And the 'This Accession has been spawned from Accession . This record is unsaved. You must click Save for the record to be created in the system.' message is displayed
11
+
Scenario: Successfully spawn a new accession record from an existing accession record - non linked
12
+
Given the user is on the New Accession page spawned from the original accession
13
+
When the user fills in 'Identifier' with a unique identifier
14
+
And the user does not add any links to the original accession in the 'Related Accessions' form
15
+
And the user clicks on 'Save'
16
+
Then the Accession is created
17
+
And the new accession record is not linked to the original accession
18
+
Scenario: Successfully spawn a new accession record from an existing accession record - linked
19
+
Given the user is on the New Accession page spawned from the original accession
20
+
When the user fills in 'Identifier' with a unique identifier
21
+
And the user adds links to the original accession in the 'Related Accessions' form
22
+
And the user clicks on 'Save'
23
+
Then the Accession is created
24
+
And the new accession record is linked to the original accession in the 'Related Accessions' field
25
+
Scenario: Accession Spawn is not created due to missing required fields
26
+
Given the user is on the New Accession page spawned from the original accession
0 commit comments