UI check for field character and Leader length in quickMARC
Description
*Purpose: * To make sure each field contains three characters, i.e. 050, in the first text box of each row AND that the Leader has 24 character spaces when saving an edited record in quickMARC for basic MARC record validation in SRS
As a staff person I want to make sure that each field has three characters/symbols in the first text box of each row AND the Leader has 24 character spaces so that the edited record can be saved to SRS
Scenario 1
Given the edited record
When I click “Save and close”
Then a UI check to make sure that each field has three characters/symbols in the first text box of each row occurs
Scenario 2
Given that each field has three characters/symbols in the first text box of each row
When I click “Save and close”
Then the record is saved to SRS in MARC format
Scenario 3
Given that a field has fewer than three characters/symbols in the first text box of each row
When I click “Save and close”
Then a toast appears “Record cannot be saved. Each field must contain three characters in the first text box of each row."
Scenario 4
Given the edited record
When I click “Save and close”
Then a UI check to make sure that the Leader contains 24 characters, including null spaces
Scenario 5
Given that the Leader contains 24 characters, including null spaces
When I click “Save and close”
Then the record is saved to SRS in MARC format
Scenario 6
Given that the Leader has more or less than 24 characters, including null spaces
When I click “Save and close”
Then a toast appears “Record cannot be saved. The Leader must contain 24 characters, including null spaces.”
*Purpose: * To make sure each field contains three characters, i.e. 050, in the first text box of each row AND that the Leader has 24 character spaces when saving an edited record in quickMARC for basic MARC record validation in SRS
As a staff person
I want to make sure that each field has three characters/symbols in the first text box of each row AND the Leader has 24 character spaces so that the edited record can be saved to SRS
Scenario 1
Given the edited record
When I click “Save and close”
Then a UI check to make sure that each field has three characters/symbols in the first text box of each row occurs
Scenario 2
Given that each field has three characters/symbols in the first text box of each row
When I click “Save and close”
Then the record is saved to SRS in MARC format
Scenario 3
Given that a field has fewer than three characters/symbols in the first text box of each row
When I click “Save and close”
Then a toast appears “Record cannot be saved. Each field must contain three characters in the first text box of each row."
Scenario 4
Given the edited record
When I click “Save and close”
Then a UI check to make sure that the Leader contains 24 characters, including null spaces
Scenario 5
Given that the Leader contains 24 characters, including null spaces
When I click “Save and close”
Then the record is saved to SRS in MARC format
Scenario 6
Given that the Leader has more or less than 24 characters, including null spaces
When I click “Save and close”
Then a toast appears “Record cannot be saved. The Leader must contain 24 characters, including null spaces.”