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

  1. 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

  2. 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

  3. 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."

  4. 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

  5. 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

  6. 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.”

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Uladislau SametsMay 20, 2020 at 3:10 PM

Hello,
Tested on the test env, review please

Done

Details

Assignee

Reporter

Tester Assignee

Labels

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 5, 2020 at 6:53 PM
Updated July 31, 2020 at 8:47 AM
Resolved May 20, 2020 at 8:36 PM
TestRail: Cases
TestRail: Runs