Conversation
Test plan: 1. Prove t/db_dependent/Koha/Item/List.t
Test plan: 1 Prove t/db_dependent/api/v1/item_lists.t
Test plan:
1. Rebuild the JS bundles with
yarn js:build
2. Run the Cypress spec t/cypress/integration/ItemLists_spec.ts
In KTD you can do this with:
cypress run -s t/cypress/integration/ItemLists_spec.ts
Test plan:
1. Navigate to Item Lists, and create a new item list with your user as
the owner and any visibility.
2. Navigate to a Catalogue detail page, and select an item in its
holdings table.
3. Verify an "Add selected items to list" button appears above the
table.
4. Click this button, and add the item to the list you created earlier.
5. Return to the item list, clicking its name to view its items.
6. Verify the item you added appears in the list.
7. Remove the item from the list.
8. Navigate to Reports > Create from SQL, and create a new report with
any name and the following SQL:
SELECT itemnumber FROM items ORDER BY RAND() LIMIT 1
9. Run this report, and verify "Add items to list" appears under the
"Batch operations with 1 visible records" dropdown.
10. Use this option to add the item to the list you created earlier.
11. Verify the item has been added to the list, and remove it again.
12. Navigate to Search > Item Search, and perform an empty search to
list all items.
13. Select an item from the results, and verify "Batch add to item list"
appears in the "Batch operations" dropdown at the top of the results
table.
14. Use this option to add the item to the list you created earlier.
15. Verify the item has been added to the list, and remove it again.
|
(Automated Close) Please do not file pull requests here, this repo is merely a clone of https://git.koha-community.org/Koha-community/Koha and we use Bugzilla at https://bugs.koha-community.org to submit patches to its codebase.\n\nSee https://wiki.koha-community.org/wiki/Submitting_A_Patch for more information. Note that you can use to easily set-up a full development environment, which includes the command to easily push your patches with a single command, instead of manually fiddling with patch files!\n\nIf you have any more questions or need help, do not hesitate to ask in our Mattermost chat: https://chat.koha-community.org. Thank you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.