-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIIN-2557-settings-options-for-number-generators #2734
base: master
Are you sure you want to change the base?
UIIN-2557-settings-options-for-number-generators #2734
Conversation
src/settings/NumberGeneratorSettings/NumberGeneratorSettingsForm.js
Outdated
Show resolved
Hide resolved
expect(screen.getByRole('button', { name: 'Collapse all' })).toBeInTheDocument(); | ||
}); | ||
|
||
it('should disable useSharedNumber-checkbox and show warning if clicking callNumber or accessionNumber to use manually', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please re-format the tests to follow this format:
describe('when condition', () => {
it('should do this', () => {});
});
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, this one tests contains too many expect statements, at this point it's not clear what is expected. Please split this test into several smaller ones with 1-2 clear expect statements at the end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @BogdanDenis !
I re-formated and splitted the tests.
|
UIIN-2557 Inventory Settings Options for using number generators for item barcode, accession number and call number
Purpose
Options for enabling / using the number generators for item barcode, call number and accession number needs to be available in Inventory Settings
Holdings level: call number
Item level: item barcode, accession number, call number
User story statement(s):
As a staff person I want to enable the number generators for item barcode, call number and / or accession number in Inventory App by selecting options in the Inventory Settings. In Settings under Inventory > Holdings, Items in the second/middle pane an entry “Number generator options” is displayed. Clicking on the “Number generator options” the third pane will be displayed with options:
(Default black banner for help text above options) Fields which are usually filled using a numeric sequence can use the number generator. When the generator is switched on the field can either be fixed to prevent manual update, or made fully editable. When switched off, the field must be filled manually.
Refs
https://folio-org.atlassian.net/browse/UIIN-2557
Screenshots