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

Commit 38de3f6

Browse files
Fix specs
1 parent ec304c5 commit 38de3f6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

staff_features/accessions/accession_edit.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Feature: Accession Edit
2727
Then the Accession Title field has the original value
2828
Scenario: Accession update fails due to invalid date input
2929
Given the Accession is opened in edit mode
30-
When the user fills in 'Date' with '2024-13-15'
30+
When the user fills in 'Accession Date' with '2024-13-15'
3131
And the user clicks on 'Save'
3232
Then the following error message is displayed
3333
| Accession Date - Not a valid date |

staff_features/accessions/step_definitions/accession_shared.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
fill_in 'accession_id_0_', with: "Accession #{@uuid}"
77
fill_in 'Title', with: "Accession Title #{@uuid}"
8+
fill_in 'Accession Date', with: ORIGINAL_ACCESSION_DATE
89
check 'Publish?'
910

1011
fill_in 'accession_content_description_', with: "Content Description #{@uuid}"

0 commit comments

Comments
 (0)