From 64c42ba852bfd1f03eeb7bc928762f4ff745ec87 Mon Sep 17 00:00:00 2001 From: Valery Pilko Date: Mon, 2 Mar 2026 17:53:11 +0400 Subject: [PATCH 1/2] FAT-25021 Added leading, trailing spaces query checks --- ...-barcode-keyword-and-barcode-options.cy.js | 42 ++++++++++- ...y-hrid-keyword-and-item-hrid-options.cy.js | 74 ++++++++++++++++++- ...y-uuid-keyword-and-item-uuid-options.cy.js | 74 ++++++++++++++++++- 3 files changed, 179 insertions(+), 11 deletions(-) diff --git a/cypress/e2e/inventory/search-in-inventory/search-item-by-barcode-keyword-and-barcode-options.cy.js b/cypress/e2e/inventory/search-in-inventory/search-item-by-barcode-keyword-and-barcode-options.cy.js index b3f4d67c2f..f4086db579 100644 --- a/cypress/e2e/inventory/search-in-inventory/search-item-by-barcode-keyword-and-barcode-options.cy.js +++ b/cypress/e2e/inventory/search-in-inventory/search-item-by-barcode-keyword-and-barcode-options.cy.js @@ -73,19 +73,55 @@ describe('Inventory', () => { ItemRecordView.closeDetailView(); InventorySearchAndFilter.waitLoading(); - // Step 3: Select "Barcode" search option + // Step 3: Search for item with simple barcode using "Keyword" search option with leading space + InventoryInstances.searchByTitle(` ${simpleBarcode}`); + ItemRecordView.verifyItemBarcode(simpleBarcode); + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + + // Step 4: Search for item with parentheses in barcode using "Keyword" search option with trailing space + InventoryInstances.searchByTitle(`${barcodeWithParentheses} `); + ItemRecordView.verifyItemBarcode(barcodeWithParentheses); + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + + // Step 5: Search for item with simple barcode using "Keyword" search option with leading and trailing spaces + InventoryInstances.searchByTitle(` ${simpleBarcode} `); + ItemRecordView.verifyItemBarcode(simpleBarcode); + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + + // Step 6: Select "Barcode" search option InventorySearchAndFilter.selectSearchOption(searchOptions.barcode); InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.barcode); - // Step 4: Search for item with simple barcode using "Barcode" search option + // Step 7: Search for item with simple barcode using "Barcode" search option InventoryInstances.searchByTitle(simpleBarcode); ItemRecordView.verifyItemBarcode(simpleBarcode); - // Step 5: Close item detail view and search for item with parentheses using "Barcode" search option + // Step 8: Close item detail view and search for item with parentheses using "Barcode" search option ItemRecordView.closeDetailView(); InventorySearchAndFilter.waitLoading(); InventoryInstances.searchByTitle(barcodeWithParentheses); ItemRecordView.verifyItemBarcode(barcodeWithParentheses); + + // Step 9: Close item detail view and search for item with simple barcode using "Barcode" search option with trailing space + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventoryInstances.searchByTitle(`${simpleBarcode} `); + ItemRecordView.verifyItemBarcode(simpleBarcode); + + // Step 10: Close item detail view and search for item with parentheses using "Barcode" search option with leading space + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventoryInstances.searchByTitle(` ${barcodeWithParentheses}`); + ItemRecordView.verifyItemBarcode(barcodeWithParentheses); + + // Step 11: Close item detail view and search for item with simple barcode using "Barcode" search option with leading and trailing spaces + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventoryInstances.searchByTitle(` ${simpleBarcode} `); + ItemRecordView.verifyItemBarcode(simpleBarcode); }, ); }); diff --git a/cypress/e2e/inventory/search-in-inventory/search-item-by-hrid-keyword-and-item-hrid-options.cy.js b/cypress/e2e/inventory/search-in-inventory/search-item-by-hrid-keyword-and-item-hrid-options.cy.js index 7558cd7f26..29f6dd59cf 100644 --- a/cypress/e2e/inventory/search-in-inventory/search-item-by-hrid-keyword-and-item-hrid-options.cy.js +++ b/cypress/e2e/inventory/search-in-inventory/search-item-by-hrid-keyword-and-item-hrid-options.cy.js @@ -68,21 +68,87 @@ describe('Inventory', () => { InventorySearchAndFilter.itemTabIsDefault(); InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); - // Step 2: Search for item using item HRID with "Keyword" search option + // Step 2: Search for item using item HRID via "Keyword" search option InventoryInstances.searchByTitle(itemHrids[0]); ItemRecordView.verifyHrid(itemHrids[0]); - // Step 3: Close item detail view and select "Item HRID" search option + // Step 3: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 4: Search for item using item HRID via "Keyword" search option with leading space + InventoryInstances.searchByTitle(` ${itemHrids[0]}`); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 5: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 6: Search for item using item HRID via "Keyword" search option with trailing space + InventoryInstances.searchByTitle(`${itemHrids[0]} `); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 7: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 8: Search for item using item HRID via "Keyword" search option with leading and trailing spaces + InventoryInstances.searchByTitle(` ${itemHrids[0]} `); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 9: Close item detail view and select "Item HRID" search option ItemRecordView.closeDetailView(); InventorySearchAndFilter.waitLoading(); InventorySearchAndFilter.selectSearchOption(searchOptions.itemHrid); InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.itemHrid); - // Step 4: Search for item using item HRID with "Item HRID" search option + // Step 10: Search for item using item HRID via "Item HRID" search option InventoryInstances.searchByTitle(itemHrids[0]); ItemRecordView.verifyHrid(itemHrids[0]); - // Step 5: Repeat test with additional item HRIDs + // Step 11: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 12: Search for item using item HRID via "Item HRID" search option with leading space + InventorySearchAndFilter.selectSearchOption(searchOptions.itemHrid); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.itemHrid); + InventoryInstances.searchByTitle(` ${itemHrids[0]}`); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 13: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 14: Search for item using item HRID via "Item HRID" search option with trailing space + InventorySearchAndFilter.selectSearchOption(searchOptions.itemHrid); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.itemHrid); + InventoryInstances.searchByTitle(`${itemHrids[0]} `); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 15: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 16: Search for item using item HRID via "Item HRID" search option with leading and trailing spaces + InventorySearchAndFilter.selectSearchOption(searchOptions.itemHrid); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.itemHrid); + InventoryInstances.searchByTitle(` ${itemHrids[0]} `); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 17: Repeat test with additional item HRIDs ItemRecordView.closeDetailView(); InventorySearchAndFilter.waitLoading(); InventoryInstances.searchByTitle(itemHrids[1]); diff --git a/cypress/e2e/inventory/search-in-inventory/search-item-by-uuid-keyword-and-item-uuid-options.cy.js b/cypress/e2e/inventory/search-in-inventory/search-item-by-uuid-keyword-and-item-uuid-options.cy.js index 386212c57d..2226b64b29 100644 --- a/cypress/e2e/inventory/search-in-inventory/search-item-by-uuid-keyword-and-item-uuid-options.cy.js +++ b/cypress/e2e/inventory/search-in-inventory/search-item-by-uuid-keyword-and-item-uuid-options.cy.js @@ -65,7 +65,7 @@ describe('Inventory', () => { 'C813025 Search for Item by UUID field using "Keyword" and "Item UUID" search options (spitfire)', { tags: ['extendedPath', 'spitfire', 'C813025'] }, () => { - // Step 1: Search for item using item UUID with "Keyword" search option + // Step 1: Search for an item by UUID using the “Keyword” search option InventorySearchAndFilter.switchToItem(); InventorySearchAndFilter.itemTabIsDefault(); InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); @@ -73,17 +73,83 @@ describe('Inventory', () => { InventoryInstances.searchByTitle(itemUuids[0]); ItemRecordView.verifyHrid(itemHrids[0]); - // Step 2: Close item detail view and select "Item UUID" search option + // Step 2: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 3: Search for an item by UUID via the “Keyword” search option with a leading space + InventoryInstances.searchByTitle(` ${itemUuids[0]}`); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 4: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 5: Search for an item by UUID via the “Keyword” search option with a trailing space + InventoryInstances.searchByTitle(`${itemUuids[0]} `); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 6. Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 7: Search for an item by UUID via the “Keyword” search option with a leading and trailing spaces + InventoryInstances.searchByTitle(` ${itemUuids[0]} `); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 8: Close item detail view and select "Item UUID" search option ItemRecordView.closeDetailView(); InventorySearchAndFilter.waitLoading(); InventorySearchAndFilter.selectSearchOption(searchOptions.itemUuid); InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.itemUuid); - // Step 3: Search for item using item UUID with "Item UUID" search option + // Step 9: Search for item using item UUID via the "Item UUID" search option InventoryInstances.searchByTitle(itemUuids[0]); ItemRecordView.verifyHrid(itemHrids[0]); - // Step 4: Repeat test with additional item UUIDs + // Step 10: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 11: Search for item using item UUID via the "Item UUID" search option with leading space + InventorySearchAndFilter.selectSearchOption(searchOptions.itemUuid); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.itemUuid); + InventoryInstances.searchByTitle(` ${itemUuids[0]}`); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 12: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 13: Search for item using item UUID via the "Item UUID" search option with trailing space + InventorySearchAndFilter.selectSearchOption(searchOptions.itemUuid); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.itemUuid); + InventoryInstances.searchByTitle(`${itemUuids[0]} `); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 14: Close item detail view and click "Reset all" button + ItemRecordView.closeDetailView(); + InventorySearchAndFilter.waitLoading(); + InventorySearchAndFilter.resetAll(); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.keyword); + + // Step 15: Search for item using item UUID via the "Item UUID" search option with leading and trailing spaces + InventorySearchAndFilter.selectSearchOption(searchOptions.itemUuid); + InventorySearchAndFilter.verifyDefaultSearchOptionSelected(searchOptions.itemUuid); + InventoryInstances.searchByTitle(` ${itemUuids[0]} `); + ItemRecordView.verifyHrid(itemHrids[0]); + + // Step 16: Repeat test with additional item UUIDs ItemRecordView.closeDetailView(); InventorySearchAndFilter.waitLoading(); InventoryInstances.searchByTitle(itemUuids[1]); From 00bada88f011ab4b4676fa2c47a60907ea57a553 Mon Sep 17 00:00:00 2001 From: Valery Pilko Date: Mon, 2 Mar 2026 22:04:40 +0400 Subject: [PATCH 2/2] FAT-23683 Remove Number of linked bibs checks --- ...linked-bib-promoted-to-shared-case-1.cy.js | 211 ------------- ...linked-bib-promoted-to-shared-case-2.cy.js | 237 -------------- ...linked-bib-promoted-to-shared-case-3.cy.js | 223 ------------- ...linked-bib-promoted-to-shared-case-4.cy.js | 294 ------------------ ...linked-bib-promoted-to-shared-case-5.cy.js | 276 ---------------- ...-csv-report-when-edited-deleted-user.cy.js | 2 - ...authority-headings-updates-010-field.cy.js | 2 - .../marc-authority-reporting-api.cy.js | 4 - ...reporting-controlled-updated-heading.cy.js | 2 - .../marc-authority-reporting.cy.js | 203 ------------ ...c-autority-reporting-updated-heading.cy.js | 2 - cypress/fixtures/marcAuthFileForC375231_1.mrc | 1 - cypress/fixtures/marcAuthFileForC916257.mrc | 1 - cypress/fixtures/marcAuthFileForC926158.mrc | 1 - cypress/fixtures/marcAuthFileForC926159.mrc | 1 - cypress/fixtures/marcAuthFileForC926161.mrc | 1 - .../fixtures/marcAuthFileLocalForC926160.mrc | 1 - .../fixtures/marcAuthFileSharedForC926160.mrc | 1 - cypress/fixtures/marcBibFileForC916257.mrc | 1 - cypress/fixtures/marcBibFileForC926158.mrc | 1 - cypress/fixtures/marcBibFileForC926159.mrc | 1 - cypress/fixtures/marcBibFileForC926160.mrc | 1 - cypress/fixtures/marcBibFileForC926161.mrc | 1 - 23 files changed, 1468 deletions(-) delete mode 100644 cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-1.cy.js delete mode 100644 cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-2.cy.js delete mode 100644 cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-3.cy.js delete mode 100644 cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-4.cy.js delete mode 100644 cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-5.cy.js delete mode 100644 cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting.cy.js delete mode 100644 cypress/fixtures/marcAuthFileForC375231_1.mrc delete mode 100644 cypress/fixtures/marcAuthFileForC916257.mrc delete mode 100644 cypress/fixtures/marcAuthFileForC926158.mrc delete mode 100644 cypress/fixtures/marcAuthFileForC926159.mrc delete mode 100644 cypress/fixtures/marcAuthFileForC926161.mrc delete mode 100644 cypress/fixtures/marcAuthFileLocalForC926160.mrc delete mode 100644 cypress/fixtures/marcAuthFileSharedForC926160.mrc delete mode 100644 cypress/fixtures/marcBibFileForC916257.mrc delete mode 100644 cypress/fixtures/marcBibFileForC926158.mrc delete mode 100644 cypress/fixtures/marcBibFileForC926159.mrc delete mode 100644 cypress/fixtures/marcBibFileForC926160.mrc delete mode 100644 cypress/fixtures/marcBibFileForC926161.mrc diff --git a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-1.cy.js b/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-1.cy.js deleted file mode 100644 index 15a06aa5b6..0000000000 --- a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-1.cy.js +++ /dev/null @@ -1,211 +0,0 @@ -import Permissions from '../../../../../support/dictionary/permissions'; -import Affiliations, { tenantNames } from '../../../../../support/dictionary/affiliations'; -import Users from '../../../../../support/fragments/users/users'; -import TopMenu from '../../../../../support/fragments/topMenu'; -import InventoryInstances from '../../../../../support/fragments/inventory/inventoryInstances'; -import getRandomPostfix from '../../../../../support/utils/stringTools'; -import InventoryInstance from '../../../../../support/fragments/inventory/inventoryInstance'; -import DataImport from '../../../../../support/fragments/data_import/dataImport'; -import { DEFAULT_JOB_PROFILE_NAMES, APPLICATION_NAMES } from '../../../../../support/constants'; -import QuickMarcEditor from '../../../../../support/fragments/quickMarcEditor'; -import ConsortiumManager from '../../../../../support/fragments/settings/consortium-manager/consortium-manager'; -import MarcAuthority from '../../../../../support/fragments/marcAuthority/marcAuthority'; -import MarcAuthorities from '../../../../../support/fragments/marcAuthority/marcAuthorities'; -import InventorySearchAndFilter from '../../../../../support/fragments/inventory/inventorySearchAndFilter'; -import LinkedToLocalAuthoritiesModal from '../../../../../support/fragments/inventory/modals/linkedToLocalAuthoritiesModal'; -import DateTools from '../../../../../support/utils/dateTools'; -import TopMenuNavigation from '../../../../../support/fragments/topMenuNavigation'; -import ExportManagerSearchPane from '../../../../../support/fragments/exportManager/exportManagerSearchPane'; -import FileManager from '../../../../../support/utils/fileManager'; - -describe('MARC', () => { - describe('MARC Authority', () => { - describe('Reporting MARC authority', () => { - const testData = { - authorityTitle: 'C916257 Coates, Ta-Nehisi', - tag1XX: '100', - instanceTitle: 'C916257 Instance (from Local to Shared)', - updated1XXFieldValue: 'C916257 Coates, Ta-Nehisi UPDATED', - authoritySearchOption: 'Keyword', - instanceSearchOption: 'Keyword (title, contributor, identifier, HRID, UUID)', - originalHeading: 'C916257 Coates, Ta-Nehisi', - newHeading: 'C916257 Coates, Ta-Nehisi UPDATED', - identifier: 'n1106202514', - expectedLinkedCount: '0', - }; - - const linkingTagAndValues = { - rowIndex: 32, - tag: '100', - content: '$a C916257 Coates, Ta-Nehisi, $e author. $0 n1106202514', - zeroSubfield: '$0 http://id.loc.gov/authorities/names/n1106202514', - }; - - const users = {}; - - const marcFiles = [ - { - marc: 'marcBibFileForC916257.mrc', - fileNameImported: `testMarcFileC916257.${getRandomPostfix()}.mrc`, - propertyName: 'instance', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_INSTANCE_AND_SRS, - }, - { - marc: 'marcAuthFileForC916257.mrc', - fileNameImported: `testMarcFileC916257.${getRandomPostfix()}.mrc`, - propertyName: 'authority', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_AUTHORITY, - }, - ]; - - const Dropdowns = { - HELDBY: 'Held by', - }; - - const createdRecordIDs = []; - - before('Create users, data', () => { - cy.getAdminToken(); - - cy.createTempUser([ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]) - .then((userProperties) => { - users.userProperties = userProperties; - }) - .then(() => { - cy.assignAffiliationToUser(Affiliations.College, users.userProperties.userId); - cy.setTenant(Affiliations.College); - cy.assignPermissionsToExistingUser(users.userProperties.userId, [ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]); - }) - .then(() => { - cy.setTenant(Affiliations.College); - marcFiles.forEach((marcFile) => { - DataImport.uploadFileViaApi( - marcFile.marc, - marcFile.fileNameImported, - marcFile.jobProfileToRun, - ).then((response) => { - response.forEach((record) => { - createdRecordIDs.push(record[marcFile.propertyName].id); - }); - }); - }); - cy.resetTenant(); - cy.login(users.userProperties.username, users.userProperties.password, { - path: TopMenu.inventoryPath, - waiter: InventoryInstances.waitContentLoading, - }).then(() => { - ConsortiumManager.switchActiveAffiliation(tenantNames.central, tenantNames.college); - InventoryInstances.waitContentLoading(); - ConsortiumManager.checkCurrentTenantInTopMenu(tenantNames.college); - InventoryInstances.waitContentLoading(); - InventorySearchAndFilter.clearDefaultFilter(Dropdowns.HELDBY); - InventoryInstances.searchByTitle(createdRecordIDs[0]); - InventoryInstances.selectInstance(); - InventoryInstance.editMarcBibliographicRecord(); - QuickMarcEditor.clickLinkIconInTagField(linkingTagAndValues.rowIndex); - MarcAuthorities.switchToSearch(); - InventoryInstance.verifySelectMarcAuthorityModal(); - InventoryInstance.clickLinkButton(); - QuickMarcEditor.verifyAfterLinkingUsingRowIndex( - linkingTagAndValues.tag, - linkingTagAndValues.rowIndex, - linkingTagAndValues.zeroSubfield, - ); - QuickMarcEditor.pressSaveAndClose(); - QuickMarcEditor.checkAfterSaveAndClose(); - }); - }); - }); - - after('Delete users, data', () => { - cy.resetTenant(); - cy.getAdminToken(); - Users.deleteViaApi(users.userProperties.userId); - cy.setTenant(Affiliations.Consortia); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - cy.setTenant(Affiliations.College); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - MarcAuthority.deleteViaAPI(createdRecordIDs[1]); - }); - - it( - 'C916257 Check "MARC authority headings update" report for updated local MARC authority which had link with promoted to shared MARC bib (consortia) (spitfire)', - { tags: ['extendedPathECS', 'spitfire', 'C916257'] }, - () => { - // 1. Share linked Local "MARC bibliographic" record - cy.wait(3000); - InventoryInstance.clickShareLocalInstanceButton(); - InventoryInstance.clickShareInstance(); - LinkedToLocalAuthoritiesModal.waitLoading(); - LinkedToLocalAuthoritiesModal.clickProceed(); - cy.wait(3000); - InventoryInstance.checkSharedTextInDetailView(true); - - // 2. Go to “MARC authority” app and open detail view of Local "MARC authority" record, which was previously linked with local MARC bibliographic record (promoted to Shared) - cy.visit(TopMenu.marcAuthorities); - MarcAuthorities.searchBy(testData.authoritySearchOption, testData.authorityTitle); - MarcAuthorities.selectTitle(testData.authorityTitle); - - // 3.Update 1XX field of opened MARC authority record - MarcAuthority.edit(); - QuickMarcEditor.updateExistingField(testData.tag1XX, testData.updated1XXFieldValue); - QuickMarcEditor.checkContent(testData.updated1XXFieldValue, 9); - QuickMarcEditor.pressSaveAndClose(); - - // 4. Trigger “MARC authority headings updates” report generation - cy.setTenant(Affiliations.College); - const today = DateTools.getFormattedDate({ date: new Date() }, 'MM/DD/YYYY'); - const tomorrow = DateTools.getTomorrowDayDateForFiscalYear(); - MarcAuthorities.clickActionsAndReportsButtons(); - MarcAuthorities.fillReportModal(today, tomorrow); - MarcAuthorities.clickExportButton(); - cy.intercept('POST', '/data-export-spring/jobs').as('getId'); - - // 5. Go to “Export manager” app and download generated report - cy.wait('@getId', { timeout: 10000 }).then((item) => { - MarcAuthorities.checkCalloutAfterExport(item.response.body.name); - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.EXPORT_MANAGER); - ExportManagerSearchPane.searchByAuthorityControl(); - ExportManagerSearchPane.downloadLastCreatedJob(item.response.body.name); - cy.wait(1000); - }); - - // 6. Open exported report and check “Number of bibliographic records linked” column for updated local "MARC authority" record - const downloadedReportDate = DateTools.getFormattedDate({ date: new Date() }); - const fileNameMask = `${downloadedReportDate}*`; - FileManager.verifyFile( - MarcAuthorities.verifyMARCAuthorityFileName, - fileNameMask, - MarcAuthorities.verifyContentOfHeadingsUpdateReportParsed, - [ - 1, - testData.originalHeading, - testData.newHeading, - testData.identifier, - testData.expectedLinkedCount, - ], - ); - FileManager.deleteFolder(Cypress.config('downloadsFolder')); - }, - ); - }); - }); -}); diff --git a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-2.cy.js b/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-2.cy.js deleted file mode 100644 index f96daae288..0000000000 --- a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-2.cy.js +++ /dev/null @@ -1,237 +0,0 @@ -import Permissions from '../../../../../support/dictionary/permissions'; -import Affiliations, { tenantNames } from '../../../../../support/dictionary/affiliations'; -import Users from '../../../../../support/fragments/users/users'; -import TopMenu from '../../../../../support/fragments/topMenu'; -import InventoryInstances from '../../../../../support/fragments/inventory/inventoryInstances'; -import getRandomPostfix from '../../../../../support/utils/stringTools'; -import InventoryInstance from '../../../../../support/fragments/inventory/inventoryInstance'; -import DataImport from '../../../../../support/fragments/data_import/dataImport'; -import { DEFAULT_JOB_PROFILE_NAMES, APPLICATION_NAMES } from '../../../../../support/constants'; -import QuickMarcEditor from '../../../../../support/fragments/quickMarcEditor'; -import ConsortiumManager from '../../../../../support/fragments/settings/consortium-manager/consortium-manager'; -import MarcAuthority from '../../../../../support/fragments/marcAuthority/marcAuthority'; -import MarcAuthorities from '../../../../../support/fragments/marcAuthority/marcAuthorities'; -import InventorySearchAndFilter from '../../../../../support/fragments/inventory/inventorySearchAndFilter'; -import LinkedToLocalAuthoritiesModal from '../../../../../support/fragments/inventory/modals/linkedToLocalAuthoritiesModal'; -import DateTools from '../../../../../support/utils/dateTools'; -import TopMenuNavigation from '../../../../../support/fragments/topMenuNavigation'; -import ExportManagerSearchPane from '../../../../../support/fragments/exportManager/exportManagerSearchPane'; -import FileManager from '../../../../../support/utils/fileManager'; - -describe('MARC', () => { - describe('MARC Authority', () => { - describe('Reporting MARC authority', () => { - const testData = { - authorityTitle: 'C926158 Beatles', - tag1XX: '110', - updated1XXFieldValue: '$a C926158 Beatles UPDATED', - authoritySearchOption: 'Keyword', - instanceSearchOption: 'Keyword (title, contributor, identifier, HRID, UUID)', - originalHeading: 'C926158 Beatles', - newHeading: 'C926158 Beatles UPDATED', - identifier: 'n11112025', - expectedLinkedCount: '1', - }; - - const linkingTagAndValues = { - firstInstance: { - tag: '110', - content: '$a C926158 Beatles. $0 n11112025 $4 prf', - zeroSubfield: '$0 http://id.loc.gov/authorities/names/n11112025', - }, - secondInstance: { - tag: '710', - content: '$a C926158 Beatles. $0 n11112025', - zeroSubfield: '$0 http://id.loc.gov/authorities/names/n11112025', - }, - }; - - const users = {}; - - const marcFiles = [ - { - marc: 'marcBibFileForC926158.mrc', - fileNameImported: `testMarcFileC926158.${getRandomPostfix()}.mrc`, - propertyName: 'instance', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_INSTANCE_AND_SRS, - }, - { - marc: 'marcAuthFileForC926158.mrc', - fileNameImported: `testMarcFileC926158.${getRandomPostfix()}.mrc`, - propertyName: 'authority', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_AUTHORITY, - }, - ]; - - const Dropdowns = { - HELDBY: 'Held by', - }; - - const createdRecordIDs = []; - - before('Create users, data', () => { - cy.getAdminToken(); - cy.setTenant(Affiliations.College); - MarcAuthorities.deleteMarcAuthorityByTitleViaAPI('C926158*'); - cy.resetTenant(); - - cy.createTempUser([ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]) - .then((userProperties) => { - users.userProperties = userProperties; - }) - .then(() => { - cy.assignAffiliationToUser(Affiliations.College, users.userProperties.userId); - cy.setTenant(Affiliations.College); - cy.assignPermissionsToExistingUser(users.userProperties.userId, [ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]); - }) - .then(() => { - cy.setTenant(Affiliations.College); - marcFiles.forEach((marcFile) => { - DataImport.uploadFileViaApi( - marcFile.marc, - marcFile.fileNameImported, - marcFile.jobProfileToRun, - ).then((response) => { - response.forEach((record) => { - createdRecordIDs.push(record[marcFile.propertyName].id); - }); - }); - }); - cy.resetTenant(); - cy.login(users.userProperties.username, users.userProperties.password, { - path: TopMenu.inventoryPath, - waiter: InventoryInstances.waitContentLoading, - }).then(() => { - ConsortiumManager.switchActiveAffiliation(tenantNames.central, tenantNames.college); - InventoryInstances.waitContentLoading(); - ConsortiumManager.checkCurrentTenantInTopMenu(tenantNames.college); - InventoryInstances.waitContentLoading(); - InventorySearchAndFilter.clearDefaultFilter(Dropdowns.HELDBY); - - // link first Instance: - InventoryInstances.searchByTitle(createdRecordIDs[0]); - InventoryInstances.selectInstance(); - InventoryInstance.editMarcBibliographicRecord(); - QuickMarcEditor.clickLinkIconInTagFieldByTag(linkingTagAndValues.firstInstance.tag); - InventoryInstance.verifySelectMarcAuthorityModal(); - InventoryInstance.clickLinkButton(); - QuickMarcEditor.verifyAfterLinkingAuthority( - linkingTagAndValues.firstInstance.tag, - linkingTagAndValues.firstInstance.zeroSubfield, - ); - QuickMarcEditor.pressSaveAndClose(); - QuickMarcEditor.checkAfterSaveAndClose(); - - // link second Instance: - InventoryInstances.searchByTitle(createdRecordIDs[1]); - InventoryInstances.selectInstance(); - InventoryInstance.editMarcBibliographicRecord(); - QuickMarcEditor.clickLinkIconInTagFieldByTag(linkingTagAndValues.secondInstance.tag); - InventoryInstance.verifySelectMarcAuthorityModal(); - InventoryInstance.clickLinkButton(); - QuickMarcEditor.verifyAfterLinkingAuthority( - linkingTagAndValues.secondInstance.tag, - linkingTagAndValues.secondInstance.zeroSubfield, - ); - QuickMarcEditor.pressSaveAndClose(); - QuickMarcEditor.checkAfterSaveAndClose(); - }); - }); - }); - - after('Delete users, data', () => { - cy.resetTenant(); - cy.getAdminToken(); - Users.deleteViaApi(users.userProperties.userId); - cy.setTenant(Affiliations.Consortia); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[1]); - cy.setTenant(Affiliations.College); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[1]); - MarcAuthority.deleteViaAPI(createdRecordIDs[2]); - }); - - it( - 'C926158 Check "MARC authority headings update" report when local MARC authority is linked to multiple local MARC bibs and one is promoted to shared (consortia) (spitfire)', - { tags: ['criticalPathECS', 'spitfire', 'C926158'] }, - () => { - // 1. Share one of the linked Local "MARC bibliographic" records - cy.wait(3000); - InventoryInstance.clickShareLocalInstanceButton(); - InventoryInstance.clickShareInstance(); - LinkedToLocalAuthoritiesModal.waitLoading(); - LinkedToLocalAuthoritiesModal.clickProceed(); - cy.wait(3000); - InventoryInstance.checkSharedTextInDetailView(true); - - // 2. Go to "MARC authority" app and open detail view of Local "MARC authority" record, which was previously linked with both local MARC bibliographic records (one now promoted to Shared) - cy.visit(TopMenu.marcAuthorities); - MarcAuthorities.searchBy(testData.authoritySearchOption, testData.authorityTitle); - MarcAuthorities.selectTitle(testData.authorityTitle); - - // 3.Update 1XX field of opened MARC authority record - MarcAuthority.edit(); - QuickMarcEditor.updateExistingField(testData.tag1XX, testData.updated1XXFieldValue); - QuickMarcEditor.checkContentByTag(testData.tag1XX, testData.updated1XXFieldValue); - cy.wait(2000); - QuickMarcEditor.pressSaveAndCloseButton(); - QuickMarcEditor.confirmUpdateLinkedBibs(testData.expectedLinkedCount); - - // 4. Trigger “MARC authority headings updates” report generation - cy.setTenant(Affiliations.College); - const today = DateTools.getFormattedDate({ date: new Date() }, 'MM/DD/YYYY'); - const tomorrow = DateTools.getTomorrowDayDateForFiscalYear(); - MarcAuthorities.clickActionsAndReportsButtons(); - MarcAuthorities.fillReportModal(today, tomorrow); - MarcAuthorities.clickExportButton(); - cy.intercept('POST', '/data-export-spring/jobs').as('getId'); - - // 5. Go to “Export manager” app and download generated report - cy.wait('@getId', { timeout: 10000 }).then((item) => { - MarcAuthorities.checkCalloutAfterExport(item.response.body.name); - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.EXPORT_MANAGER); - ExportManagerSearchPane.searchByAuthorityControl(); - ExportManagerSearchPane.downloadLastCreatedJob(item.response.body.name); - cy.wait(1000); - }); - - // 6. Open exported report and check “Number of bibliographic records linked” column for updated local "MARC authority" record - const downloadedReportDate = DateTools.getFormattedDate({ date: new Date() }); - const fileNameMask = `${downloadedReportDate}*`; - FileManager.verifyFile( - MarcAuthorities.verifyMARCAuthorityFileName, - fileNameMask, - MarcAuthorities.verifyContentOfHeadingsUpdateReportParsed, - [ - 1, - testData.originalHeading, - testData.newHeading, - testData.identifier, - testData.expectedLinkedCount, - ], - ); - FileManager.deleteFolder(Cypress.config('downloadsFolder')); - }, - ); - }); - }); -}); diff --git a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-3.cy.js b/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-3.cy.js deleted file mode 100644 index 73dab567a0..0000000000 --- a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-3.cy.js +++ /dev/null @@ -1,223 +0,0 @@ -import Permissions from '../../../../../support/dictionary/permissions'; -import Affiliations, { tenantNames } from '../../../../../support/dictionary/affiliations'; -import Users from '../../../../../support/fragments/users/users'; -import TopMenu from '../../../../../support/fragments/topMenu'; -import InventoryInstances from '../../../../../support/fragments/inventory/inventoryInstances'; -import getRandomPostfix from '../../../../../support/utils/stringTools'; -import InventoryInstance from '../../../../../support/fragments/inventory/inventoryInstance'; -import DataImport from '../../../../../support/fragments/data_import/dataImport'; -import { DEFAULT_JOB_PROFILE_NAMES, APPLICATION_NAMES } from '../../../../../support/constants'; -import QuickMarcEditor from '../../../../../support/fragments/quickMarcEditor'; -import ConsortiumManager from '../../../../../support/fragments/settings/consortium-manager/consortium-manager'; -import MarcAuthority from '../../../../../support/fragments/marcAuthority/marcAuthority'; -import MarcAuthorities from '../../../../../support/fragments/marcAuthority/marcAuthorities'; -import InventorySearchAndFilter from '../../../../../support/fragments/inventory/inventorySearchAndFilter'; -import DateTools from '../../../../../support/utils/dateTools'; -import TopMenuNavigation from '../../../../../support/fragments/topMenuNavigation'; -import ExportManagerSearchPane from '../../../../../support/fragments/exportManager/exportManagerSearchPane'; -import FileManager from '../../../../../support/utils/fileManager'; - -describe('MARC', () => { - describe('MARC Authority', () => { - describe('Reporting MARC authority', () => { - const testData = { - authorityTitle: 'C926159 Marvel comics ComiCon', - tag1XX: '130', - updated1XXFieldValue: '$a C926159 Marvel comics UPDATED $t ComiCon $w 630', - authoritySearchOption: 'Keyword', - instanceSearchOption: 'Keyword (title, contributor, identifier, HRID, UUID)', - originalHeading: 'C926159 Marvel comics ComiCon', - newHeading: 'C926159 Marvel comics UPDATED ComiCon', - identifier: 'fst18141111', - expectedLinkedCount: '1', - }; - - const linkingTagAndValues = { - tag: '630', - content: - '$a C926159 Marvel comics. $2 fast $0 fst18141111 $v Periodicals. $z United States $w 830', - zeroSubfield: '$0 http://id.worldcat.org/fast/fst18141111', - }; - - const users = {}; - - const sharedMarcFiles = [ - { - marc: 'marcAuthFileForC926159.mrc', - fileNameImported: `testMarcFileC926159.${getRandomPostfix()}.mrc`, - propertyName: 'authority', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_AUTHORITY, - }, - ]; - - const localMarcFiles = [ - { - marc: 'marcBibFileForC926159.mrc', - fileNameImported: `testMarcFileC926159.${getRandomPostfix()}.mrc`, - propertyName: 'instance', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_INSTANCE_AND_SRS, - }, - ]; - - const Dropdowns = { - HELDBY: 'Held by', - }; - - const createdRecordIDs = []; - - before('Create users, data', () => { - cy.getAdminToken(); - MarcAuthorities.deleteMarcAuthorityByTitleViaAPI('C926159*'); - - cy.createTempUser([ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]) - .then((userProperties) => { - users.userProperties = userProperties; - }) - .then(() => { - cy.assignAffiliationToUser(Affiliations.College, users.userProperties.userId); - cy.setTenant(Affiliations.College); - cy.assignPermissionsToExistingUser(users.userProperties.userId, [ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]); - }) - .then(() => { - cy.setTenant(Affiliations.College); - localMarcFiles.forEach((marcFile) => { - DataImport.uploadFileViaApi( - marcFile.marc, - marcFile.fileNameImported, - marcFile.jobProfileToRun, - ).then((response) => { - response.forEach((record) => { - createdRecordIDs.push(record[marcFile.propertyName].id); - }); - }); - }); - cy.setTenant(Affiliations.Consortia); - sharedMarcFiles.forEach((marcFile) => { - DataImport.uploadFileViaApi( - marcFile.marc, - marcFile.fileNameImported, - marcFile.jobProfileToRun, - ).then((response) => { - response.forEach((record) => { - createdRecordIDs.push(record[marcFile.propertyName].id); - }); - }); - }); - cy.resetTenant(); - cy.login(users.userProperties.username, users.userProperties.password, { - path: TopMenu.inventoryPath, - waiter: InventoryInstances.waitContentLoading, - }).then(() => { - ConsortiumManager.switchActiveAffiliation(tenantNames.central, tenantNames.college); - InventoryInstances.waitContentLoading(); - ConsortiumManager.checkCurrentTenantInTopMenu(tenantNames.college); - InventoryInstances.waitContentLoading(); - InventorySearchAndFilter.clearDefaultFilter(Dropdowns.HELDBY); - InventoryInstances.searchByTitle(createdRecordIDs[0]); - InventoryInstances.selectInstance(); - InventoryInstance.editMarcBibliographicRecord(); - QuickMarcEditor.clickLinkIconInTagFieldByTag(linkingTagAndValues.tag); - InventoryInstance.verifySelectMarcAuthorityModal(); - InventoryInstance.clickLinkButton(); - QuickMarcEditor.verifyAfterLinkingAuthority( - linkingTagAndValues.tag, - linkingTagAndValues.zeroSubfield, - ); - QuickMarcEditor.pressSaveAndClose(); - QuickMarcEditor.checkAfterSaveAndClose(); - }); - }); - }); - - after('Delete users, data', () => { - cy.resetTenant(); - cy.getAdminToken(); - Users.deleteViaApi(users.userProperties.userId); - cy.setTenant(Affiliations.Consortia); - MarcAuthority.deleteViaAPI(createdRecordIDs[1]); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - cy.setTenant(Affiliations.College); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - }); - - it( - 'C926159 Check "MARC authority headings update" report for updated shared MARC authority, which still has link with promoted to shared MARC bib (consortia) (spitfire)', - { tags: ['extendedPathECS', 'spitfire', 'C926159'] }, - () => { - // 1. Share linked Local "MARC bibliographic" record - cy.wait(3000); - InventoryInstance.clickShareLocalInstanceButton(); - InventoryInstance.clickShareInstance(); - cy.wait(3000); - InventoryInstance.checkSharedTextInDetailView(true); - - // 2. Go to "MARC authority" app and open detail view of Shared "MARC authority" record, which was previously linked with the local MARC bibliographic record (now promoted to Shared) - cy.visit(TopMenu.marcAuthorities); - MarcAuthorities.searchBy(testData.authoritySearchOption, testData.authorityTitle); - MarcAuthorities.selectIncludingTitle(testData.authorityTitle); - - // 3.Update 1XX field of opened shared MARC authority record - MarcAuthority.edit(); - QuickMarcEditor.updateExistingField(testData.tag1XX, testData.updated1XXFieldValue); - QuickMarcEditor.checkContentByTag(testData.tag1XX, testData.updated1XXFieldValue); - cy.wait(2000); - QuickMarcEditor.pressSaveAndCloseButton(); - QuickMarcEditor.confirmUpdateLinkedBibs(testData.expectedLinkedCount); - - // 4. Trigger “MARC authority headings updates” report generation - cy.setTenant(Affiliations.College); - const today = DateTools.getFormattedDate({ date: new Date() }, 'MM/DD/YYYY'); - const tomorrow = DateTools.getTomorrowDayDateForFiscalYear(); - MarcAuthorities.clickActionsAndReportsButtons(); - MarcAuthorities.fillReportModal(today, tomorrow); - MarcAuthorities.clickExportButton(); - cy.intercept('POST', '/data-export-spring/jobs').as('getId'); - - // 5. Go to “Export manager” app and download generated report - cy.wait('@getId', { timeout: 10000 }).then((item) => { - MarcAuthorities.checkCalloutAfterExport(item.response.body.name); - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.EXPORT_MANAGER); - ExportManagerSearchPane.searchByAuthorityControl(); - ExportManagerSearchPane.downloadLastCreatedJob(item.response.body.name); - cy.wait(1000); - }); - - // 6. Open exported report and check “Number of bibliographic records linked” column for updated local "MARC authority" record - const downloadedReportDate = DateTools.getFormattedDate({ date: new Date() }); - const fileNameMask = `${downloadedReportDate}*`; - FileManager.verifyFile( - MarcAuthorities.verifyMARCAuthorityFileName, - fileNameMask, - MarcAuthorities.verifyContentOfHeadingsUpdateReportParsed, - [ - 1, - testData.originalHeading, - testData.newHeading, - testData.identifier, - testData.expectedLinkedCount, - ], - ); - FileManager.deleteFolder(Cypress.config('downloadsFolder')); - }, - ); - }); - }); -}); diff --git a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-4.cy.js b/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-4.cy.js deleted file mode 100644 index a6aae43eb0..0000000000 --- a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-4.cy.js +++ /dev/null @@ -1,294 +0,0 @@ -import Permissions from '../../../../../support/dictionary/permissions'; -import Affiliations, { tenantNames } from '../../../../../support/dictionary/affiliations'; -import Users from '../../../../../support/fragments/users/users'; -import TopMenu from '../../../../../support/fragments/topMenu'; -import InventoryInstances from '../../../../../support/fragments/inventory/inventoryInstances'; -import getRandomPostfix from '../../../../../support/utils/stringTools'; -import InventoryInstance from '../../../../../support/fragments/inventory/inventoryInstance'; -import DataImport from '../../../../../support/fragments/data_import/dataImport'; -import { DEFAULT_JOB_PROFILE_NAMES, APPLICATION_NAMES } from '../../../../../support/constants'; -import QuickMarcEditor from '../../../../../support/fragments/quickMarcEditor'; -import ConsortiumManager from '../../../../../support/fragments/settings/consortium-manager/consortium-manager'; -import MarcAuthority from '../../../../../support/fragments/marcAuthority/marcAuthority'; -import MarcAuthorities from '../../../../../support/fragments/marcAuthority/marcAuthorities'; -import LinkedToLocalAuthoritiesModal from '../../../../../support/fragments/inventory/modals/linkedToLocalAuthoritiesModal'; -import InventorySearchAndFilter from '../../../../../support/fragments/inventory/inventorySearchAndFilter'; -import DateTools from '../../../../../support/utils/dateTools'; -import TopMenuNavigation from '../../../../../support/fragments/topMenuNavigation'; -import ExportManagerSearchPane from '../../../../../support/fragments/exportManager/exportManagerSearchPane'; -import FileManager from '../../../../../support/utils/fileManager'; - -describe('MARC', () => { - describe('MARC Authority', () => { - describe('Reporting MARC authority', () => { - const testData = { - authoritySearchOption: 'Keyword', - instanceSearchOption: 'Keyword (title, contributor, identifier, HRID, UUID)', - firstAuthority: { - authorityTitle: 'C926160 Coates, Ta-Nehisi', - tag1XX: '100', - updated1XXFieldValue: '$a C926160 Coates, Ta-Nehisi UPDATED', - originalHeading: 'C926160 Coates, Ta-Nehisi', - newHeading: 'C926160 Coates, Ta-Nehisi UPDATED', - identifier: 'n9261606241', - expectedLinkedCount: '0', - }, - secondAuthority: { - authorityTitle: 'C926160 Stelfreeze, Brian', - tag1XX: '100', - updated1XXFieldValue: '$a C926160 Stelfreeze, Brian UPDATED', - originalHeading: 'C926160 Stelfreeze, Brian', - newHeading: 'C926160 Stelfreeze, Brian UPDATED', - identifier: 'n92616027', - expectedLinkedCount: '1', - }, - }; - - const linkingTagAndValues = [ - { - tag: '100', - content: '$a C926160 Coates, Ta-Nehisi, $e author. $0 n9261606241', - zeroSubfield: '$0 http://id.loc.gov/authorities/names/n9261606241', - }, - { - tag: '700', - content: '$a C926160 Stelfreeze, Brian, $e artist. $0 n92616027 ', - zeroSubfield: '$0 http://id.loc.gov/authorities/names/n92616027', - }, - ]; - - const users = {}; - - const sharedMarcFiles = [ - { - marc: 'marcAuthFileSharedForC926160.mrc', - fileNameImported: `testMarcFileC926160.${getRandomPostfix()}.mrc`, - propertyName: 'authority', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_AUTHORITY, - }, - ]; - - const localMarcFiles = [ - { - marc: 'marcBibFileForC926160.mrc', - fileNameImported: `testMarcFileC926160.${getRandomPostfix()}.mrc`, - propertyName: 'instance', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_INSTANCE_AND_SRS, - }, - { - marc: 'marcAuthFileLocalForC926160.mrc', - fileNameImported: `testMarcFileC926160.${getRandomPostfix()}.mrc`, - propertyName: 'authority', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_AUTHORITY, - }, - ]; - - const Dropdowns = { - HELDBY: 'Held by', - }; - - const createdRecordIDs = []; - - before('Create users, data', () => { - cy.getAdminToken(); - MarcAuthorities.deleteMarcAuthorityByTitleViaAPI('C926160*'); - cy.setTenant(Affiliations.College); - MarcAuthorities.deleteMarcAuthorityByTitleViaAPI('C926160*'); - cy.resetTenant(); - - cy.createTempUser([ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]) - .then((userProperties) => { - users.userProperties = userProperties; - }) - .then(() => { - cy.assignAffiliationToUser(Affiliations.College, users.userProperties.userId); - cy.setTenant(Affiliations.College); - cy.assignPermissionsToExistingUser(users.userProperties.userId, [ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]); - }) - .then(() => { - cy.setTenant(Affiliations.College); - localMarcFiles.forEach((marcFile) => { - DataImport.uploadFileViaApi( - marcFile.marc, - marcFile.fileNameImported, - marcFile.jobProfileToRun, - ).then((response) => { - response.forEach((record) => { - createdRecordIDs.push(record[marcFile.propertyName].id); - }); - }); - }); - cy.setTenant(Affiliations.Consortia); - sharedMarcFiles.forEach((marcFile) => { - DataImport.uploadFileViaApi( - marcFile.marc, - marcFile.fileNameImported, - marcFile.jobProfileToRun, - ).then((response) => { - response.forEach((record) => { - createdRecordIDs.push(record[marcFile.propertyName].id); - }); - }); - }); - cy.resetTenant(); - cy.login(users.userProperties.username, users.userProperties.password, { - path: TopMenu.inventoryPath, - waiter: InventoryInstances.waitContentLoading, - }).then(() => { - ConsortiumManager.switchActiveAffiliation(tenantNames.central, tenantNames.college); - InventoryInstances.waitContentLoading(); - ConsortiumManager.checkCurrentTenantInTopMenu(tenantNames.college); - InventoryInstances.waitContentLoading(); - InventorySearchAndFilter.clearDefaultFilter(Dropdowns.HELDBY); - InventoryInstances.searchByTitle(createdRecordIDs[0]); - InventoryInstances.selectInstance(); - InventoryInstance.editMarcBibliographicRecord(); - - // link 100 and 700 fields: - linkingTagAndValues.forEach((field) => { - QuickMarcEditor.clickLinkIconInTagFieldByTag(field.tag); - InventoryInstance.verifySelectMarcAuthorityModal(); - InventoryInstance.clickLinkButton(); - QuickMarcEditor.verifyAfterLinkingAuthority(field.tag, field.zeroSubfield); - }); - QuickMarcEditor.pressSaveAndClose(); - QuickMarcEditor.checkAfterSaveAndClose(); - }); - }); - }); - - after('Delete users, data', () => { - cy.resetTenant(); - cy.getAdminToken(); - Users.deleteViaApi(users.userProperties.userId); - cy.setTenant(Affiliations.Consortia); - MarcAuthority.deleteViaAPI(createdRecordIDs[2]); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - cy.setTenant(Affiliations.College); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - MarcAuthority.deleteViaAPI(createdRecordIDs[1]); - }); - - it( - 'C926160 Check "MARC authority headings update" report for updated local and shared MARC authority, after local MARC bib is promoted to shared (consortia) (spitfire)', - { tags: ['extendedPathECS', 'spitfire', 'C926160'] }, - () => { - // 1. Share linked Local "MARC bibliographic" record - cy.wait(3000); - InventoryInstance.clickShareLocalInstanceButton(); - InventoryInstance.clickShareInstance(); - LinkedToLocalAuthoritiesModal.waitLoading(); - LinkedToLocalAuthoritiesModal.clickProceed(); - cy.wait(3000); - InventoryInstance.checkSharedTextInDetailView(true); - - // 2. Go to "MARC authority" app and open detail view of Local "MARC authority" record, which was previously linked with the local MARC bibliographic record (now promoted to Shared) - cy.visit(TopMenu.marcAuthorities); - MarcAuthorities.searchBy( - testData.authoritySearchOption, - testData.firstAuthority.authorityTitle, - ); - MarcAuthorities.selectIncludingTitle(testData.firstAuthority.authorityTitle); - - // 3. Update 1XX field of opened local MARC authority record - MarcAuthority.edit(); - QuickMarcEditor.updateExistingField( - testData.firstAuthority.tag1XX, - testData.firstAuthority.updated1XXFieldValue, - ); - QuickMarcEditor.checkContentByTag( - testData.firstAuthority.tag1XX, - testData.firstAuthority.updated1XXFieldValue, - ); - QuickMarcEditor.pressSaveAndClose(); - - // 4. Go to "MARC authority" app and open detail view of Shared "MARC authority" record, which was previously linked with the local MARC bibliographic record (now promoted to Shared) - MarcAuthorities.searchBy( - testData.authoritySearchOption, - testData.secondAuthority.authorityTitle, - ); - MarcAuthorities.selectIncludingTitle(testData.secondAuthority.authorityTitle); - - // 5. Update 1XX field of opened shared MARC authority record - MarcAuthority.edit(); - QuickMarcEditor.updateExistingField( - testData.secondAuthority.tag1XX, - testData.secondAuthority.updated1XXFieldValue, - ); - QuickMarcEditor.checkContentByTag( - testData.secondAuthority.tag1XX, - testData.secondAuthority.updated1XXFieldValue, - ); - cy.wait(2000); - QuickMarcEditor.pressSaveAndCloseButton(); - QuickMarcEditor.confirmUpdateLinkedBibs(testData.secondAuthority.expectedLinkedCount); - - // 6. Trigger “MARC authority headings updates” report generation - cy.setTenant(Affiliations.College); - const today = DateTools.getFormattedDate({ date: new Date() }, 'MM/DD/YYYY'); - const tomorrow = DateTools.getTomorrowDayDateForFiscalYear(); - MarcAuthorities.clickActionsAndReportsButtons(); - MarcAuthorities.fillReportModal(today, tomorrow); - MarcAuthorities.clickExportButton(); - cy.intercept('POST', '/data-export-spring/jobs').as('getId'); - - // 7. Go to “Export manager” app and download generated report - cy.wait('@getId', { timeout: 10000 }).then((item) => { - MarcAuthorities.checkCalloutAfterExport(item.response.body.name); - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.EXPORT_MANAGER); - ExportManagerSearchPane.searchByAuthorityControl(); - ExportManagerSearchPane.downloadLastCreatedJob(item.response.body.name); - cy.wait(1000); - }); - - // 8. Open exported report and check "Number of bibliographic records linked" column for both updated MARC authority records - const downloadedReportDate = DateTools.getFormattedDate({ date: new Date() }); - const fileNameMask = `${downloadedReportDate}*`; - FileManager.verifyFile( - MarcAuthorities.verifyMARCAuthorityFileName, - fileNameMask, - MarcAuthorities.verifyContentOfHeadingsUpdateReportParsed, - [ - 1, - testData.secondAuthority.originalHeading, - testData.secondAuthority.newHeading, - testData.secondAuthority.identifier, - testData.secondAuthority.expectedLinkedCount, - ], - ); - FileManager.verifyFile( - MarcAuthorities.verifyMARCAuthorityFileName, - fileNameMask, - MarcAuthorities.verifyContentOfHeadingsUpdateReportParsed, - [ - 2, - testData.firstAuthority.originalHeading, - testData.firstAuthority.newHeading, - testData.firstAuthority.identifier, - testData.firstAuthority.expectedLinkedCount, - ], - ); - FileManager.deleteFolder(Cypress.config('downloadsFolder')); - }, - ); - }); - }); -}); diff --git a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-5.cy.js b/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-5.cy.js deleted file mode 100644 index 9ec5944c9d..0000000000 --- a/cypress/e2e/consortia/marc/marc-authority/reporting/check-headings-report-after-linked-bib-promoted-to-shared-case-5.cy.js +++ /dev/null @@ -1,276 +0,0 @@ -import Permissions from '../../../../../support/dictionary/permissions'; -import Affiliations, { tenantNames } from '../../../../../support/dictionary/affiliations'; -import Users from '../../../../../support/fragments/users/users'; -import TopMenu from '../../../../../support/fragments/topMenu'; -import InventoryInstances from '../../../../../support/fragments/inventory/inventoryInstances'; -import getRandomPostfix from '../../../../../support/utils/stringTools'; -import InventoryInstance from '../../../../../support/fragments/inventory/inventoryInstance'; -import DataImport from '../../../../../support/fragments/data_import/dataImport'; -import { DEFAULT_JOB_PROFILE_NAMES, APPLICATION_NAMES } from '../../../../../support/constants'; -import QuickMarcEditor from '../../../../../support/fragments/quickMarcEditor'; -import ConsortiumManager from '../../../../../support/fragments/settings/consortium-manager/consortium-manager'; -import MarcAuthority from '../../../../../support/fragments/marcAuthority/marcAuthority'; -import MarcAuthorities from '../../../../../support/fragments/marcAuthority/marcAuthorities'; -import LinkedToLocalAuthoritiesModal from '../../../../../support/fragments/inventory/modals/linkedToLocalAuthoritiesModal'; -import InventorySearchAndFilter from '../../../../../support/fragments/inventory/inventorySearchAndFilter'; -import DateTools from '../../../../../support/utils/dateTools'; -import TopMenuNavigation from '../../../../../support/fragments/topMenuNavigation'; -import ExportManagerSearchPane from '../../../../../support/fragments/exportManager/exportManagerSearchPane'; -import FileManager from '../../../../../support/utils/fileManager'; - -describe('MARC', () => { - describe('MARC Authority', () => { - describe('Reporting MARC authority', () => { - const testData = { - authoritySearchOption: 'Keyword', - instanceSearchOption: 'Keyword (title, contributor, identifier, HRID, UUID)', - firstAuthority: { - authorityTitle: 'C926161 Lee, Stan, 1922-2018', - tag1XX: '100', - updated1XXFieldValue: '$a C926161 Lee, Stan, 1922-2018 UPDATED', - originalHeading: 'C926161 Lee, Stan, 1922-2018', - newHeading: 'C926161 Lee, Stan, 1922-2018 UPDATED', - identifier: 'n92616111', - expectedLinkedCount: '0', - }, - secondAuthority: { - authorityTitle: 'C926161 Kirby, Jack', - tag1XX: '100', - updated1XXFieldValue: '$a C926161 Kirby, Jack UPDATED', - originalHeading: 'C926161 Kirby, Jack', - newHeading: 'C926161 Kirby, Jack UPDATED', - identifier: 'n92616112', - expectedLinkedCount: '0', - }, - }; - - const linkingTagAndValues = [ - { - index: 74, - tag: '700', - content: '$a C926161 Lee, Stan, $d 1922-2018, $e creator. $0 n92616111', - zeroSubfield: '$0 http://id.loc.gov/authorities/names/n92616111', - }, - { - index: 75, - tag: '700', - content: '$a C926161 Kirby, Jack, $e creator. $0 n92616112', - zeroSubfield: '$0 http://id.loc.gov/authorities/names/n92616112', - }, - ]; - - const users = {}; - - const localMarcFiles = [ - { - marc: 'marcBibFileForC926161.mrc', - fileNameImported: `testMarcFileC926161.${getRandomPostfix()}.mrc`, - propertyName: 'instance', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_INSTANCE_AND_SRS, - }, - { - marc: 'marcAuthFileForC926161.mrc', - fileNameImported: `testMarcFileC926161.${getRandomPostfix()}.mrc`, - propertyName: 'authority', - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_AUTHORITY, - }, - ]; - - const Dropdowns = { - HELDBY: 'Held by', - }; - - const createdRecordIDs = []; - - before('Create users, data', () => { - cy.getAdminToken(); - cy.setTenant(Affiliations.College); - MarcAuthorities.deleteMarcAuthorityByTitleViaAPI('C926161*'); - cy.resetTenant(); - - cy.createTempUser([ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]) - .then((userProperties) => { - users.userProperties = userProperties; - }) - .then(() => { - cy.assignAffiliationToUser(Affiliations.College, users.userProperties.userId); - cy.setTenant(Affiliations.College); - cy.assignPermissionsToExistingUser(users.userProperties.userId, [ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.consortiaInventoryShareLocalInstance.gui, - ]); - }) - .then(() => { - cy.setTenant(Affiliations.College); - localMarcFiles.forEach((marcFile) => { - DataImport.uploadFileViaApi( - marcFile.marc, - marcFile.fileNameImported, - marcFile.jobProfileToRun, - ).then((response) => { - response.forEach((record) => { - createdRecordIDs.push(record[marcFile.propertyName].id); - }); - }); - }); - cy.resetTenant(); - cy.login(users.userProperties.username, users.userProperties.password, { - path: TopMenu.inventoryPath, - waiter: InventoryInstances.waitContentLoading, - }).then(() => { - ConsortiumManager.switchActiveAffiliation(tenantNames.central, tenantNames.college); - InventoryInstances.waitContentLoading(); - ConsortiumManager.checkCurrentTenantInTopMenu(tenantNames.college); - InventoryInstances.waitContentLoading(); - InventorySearchAndFilter.clearDefaultFilter(Dropdowns.HELDBY); - InventoryInstances.searchByTitle(createdRecordIDs[0]); - InventoryInstances.selectInstance(); - InventoryInstance.editMarcBibliographicRecord(); - - // link 700 fields: - linkingTagAndValues.forEach((field) => { - QuickMarcEditor.clickLinkIconInTagField(field.index); - InventoryInstance.verifySelectMarcAuthorityModal(); - InventoryInstance.clickLinkButton(); - QuickMarcEditor.verifyAfterLinkingUsingRowIndex( - field.tag, - field.index, - field.zeroSubfield, - ); - }); - QuickMarcEditor.pressSaveAndClose(); - QuickMarcEditor.checkAfterSaveAndClose(); - }); - }); - }); - - after('Delete users, data', () => { - cy.resetTenant(); - cy.getAdminToken(); - Users.deleteViaApi(users.userProperties.userId); - cy.setTenant(Affiliations.Consortia); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - cy.setTenant(Affiliations.College); - InventoryInstance.deleteInstanceViaApi(createdRecordIDs[0]); - MarcAuthority.deleteViaAPI(createdRecordIDs[1]); - MarcAuthority.deleteViaAPI(createdRecordIDs[2]); - }); - - it( - 'C926161 Check "MARC authority headings update" report when 2 local MARC authority are linked to same local MARC bib which is promoted to shared (consortia) (spitfire)', - { tags: ['extendedPathECS', 'spitfire', 'C926161'] }, - () => { - // 1. Share linked Local "MARC bibliographic" record - cy.wait(3000); - InventoryInstance.clickShareLocalInstanceButton(); - InventoryInstance.clickShareInstance(); - LinkedToLocalAuthoritiesModal.waitLoading(); - LinkedToLocalAuthoritiesModal.clickProceed(); - cy.wait(3000); - InventoryInstance.checkSharedTextInDetailView(true); - - // 2. Go to "MARC authority" app and open detail view of the first Local "MARC authority" record, which was previously linked with the local MARC bibliographic record (now promoted to Shared) - cy.visit(TopMenu.marcAuthorities); - MarcAuthorities.searchBy( - testData.authoritySearchOption, - testData.firstAuthority.authorityTitle, - ); - MarcAuthorities.selectIncludingTitle(testData.firstAuthority.authorityTitle); - - // 3. Update 1XX field of opened first local MARC authority record - MarcAuthority.edit(); - QuickMarcEditor.updateExistingField( - testData.firstAuthority.tag1XX, - testData.firstAuthority.updated1XXFieldValue, - ); - QuickMarcEditor.checkContentByTag( - testData.firstAuthority.tag1XX, - testData.firstAuthority.updated1XXFieldValue, - ); - QuickMarcEditor.pressSaveAndClose(); - - // 4. Go to "MARC authority" app and open detail view of the second Local "MARC authority" record, which was previously linked with the local MARC bibliographic record (now promoted to Shared) - MarcAuthorities.searchBy( - testData.authoritySearchOption, - testData.secondAuthority.authorityTitle, - ); - MarcAuthorities.selectIncludingTitle(testData.secondAuthority.authorityTitle); - - // 5. Update 1XX field of opened second local MARC authority record: - MarcAuthority.edit(); - QuickMarcEditor.updateExistingField( - testData.secondAuthority.tag1XX, - testData.secondAuthority.updated1XXFieldValue, - ); - QuickMarcEditor.checkContentByTag( - testData.secondAuthority.tag1XX, - testData.secondAuthority.updated1XXFieldValue, - ); - QuickMarcEditor.pressSaveAndClose(); - - // 6. Trigger “MARC authority headings updates” report generation - cy.setTenant(Affiliations.College); - const today = DateTools.getFormattedDate({ date: new Date() }, 'MM/DD/YYYY'); - const tomorrow = DateTools.getTomorrowDayDateForFiscalYear(); - MarcAuthorities.clickActionsAndReportsButtons(); - MarcAuthorities.fillReportModal(today, tomorrow); - MarcAuthorities.clickExportButton(); - cy.intercept('POST', '/data-export-spring/jobs').as('getId'); - - // 7. Go to “Export manager” app and download generated report - cy.wait('@getId', { timeout: 10000 }).then((item) => { - MarcAuthorities.checkCalloutAfterExport(item.response.body.name); - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.EXPORT_MANAGER); - ExportManagerSearchPane.searchByAuthorityControl(); - ExportManagerSearchPane.downloadLastCreatedJob(item.response.body.name); - cy.wait(1000); - }); - - // 8. Open exported report and check "Number of bibliographic records linked" column for both updated local MARC authority records - const downloadedReportDate = DateTools.getFormattedDate({ date: new Date() }); - const fileNameMask = `${downloadedReportDate}*`; - FileManager.verifyFile( - MarcAuthorities.verifyMARCAuthorityFileName, - fileNameMask, - MarcAuthorities.verifyContentOfHeadingsUpdateReportParsed, - [ - 1, - testData.secondAuthority.originalHeading, - testData.secondAuthority.newHeading, - testData.secondAuthority.identifier, - testData.secondAuthority.expectedLinkedCount, - ], - ); - FileManager.verifyFile( - MarcAuthorities.verifyMARCAuthorityFileName, - fileNameMask, - MarcAuthorities.verifyContentOfHeadingsUpdateReportParsed, - [ - 2, - testData.firstAuthority.originalHeading, - testData.firstAuthority.newHeading, - testData.firstAuthority.identifier, - testData.firstAuthority.expectedLinkedCount, - ], - ); - FileManager.deleteFolder(Cypress.config('downloadsFolder')); - }, - ); - }); - }); -}); diff --git a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-csv-report-when-edited-deleted-user.cy.js b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-csv-report-when-edited-deleted-user.cy.js index 9b76ee7fc0..bcf27f69a9 100644 --- a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-csv-report-when-edited-deleted-user.cy.js +++ b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-csv-report-when-edited-deleted-user.cy.js @@ -181,8 +181,6 @@ describe('MARC', () => { '155', 'Authority source file name', 'LC Genre/Form Terms (LCGFT)', - 'Number of bibliographic records linked', - '1', 'Updater', 'Unknown User', ], diff --git a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-headings-updates-010-field.cy.js b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-headings-updates-010-field.cy.js index 0e0130a399..e65f81503b 100644 --- a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-headings-updates-010-field.cy.js +++ b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-headings-updates-010-field.cy.js @@ -208,8 +208,6 @@ describe('MARC', () => { '100', 'Authority source file name', 'LC Name Authority file (LCNAF)', - 'Number of bibliographic records linked', - '1', 'Updater', ], ); diff --git a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting-api.cy.js b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting-api.cy.js index 4f69c0e919..e80f579def 100644 --- a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting-api.cy.js +++ b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting-api.cy.js @@ -144,8 +144,6 @@ describe('MARC', () => { headingOld: marcFiles[1].authorityHeading, sourceFileNew: testData.sourceFileName, sourceFileOld: testData.sourceFileName, - lbTotal: 1, - lbUpdated: 1, startedAt: today, startedByUserFirstName: testData.userProperties.firstName, startedByUserLastName: testData.userProperties.lastName, @@ -157,8 +155,6 @@ describe('MARC', () => { headingOld: testData.updatedHeading1, sourceFileNew: testData.sourceFileName, sourceFileOld: testData.sourceFileName, - lbTotal: 1, - lbUpdated: 1, startedAt: today, startedByUserFirstName: testData.userProperties.firstName, startedByUserLastName: testData.userProperties.lastName, diff --git a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting-controlled-updated-heading.cy.js b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting-controlled-updated-heading.cy.js index 83d774eb6a..d86dee3e5e 100644 --- a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting-controlled-updated-heading.cy.js +++ b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting-controlled-updated-heading.cy.js @@ -123,8 +123,6 @@ describe('MARC', () => { headingOld: marcFiles[1].authorityHeading, sourceFileNew: testData.sourceFileName, sourceFileOld: testData.sourceFileName, - lbTotal: 1, - lbUpdated: 1, startedAt: today, startedByUserFirstName: testData.userProperties.firstName, startedByUserLastName: testData.userProperties.lastName, diff --git a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting.cy.js b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting.cy.js deleted file mode 100644 index 3e48fef194..0000000000 --- a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-authority-reporting.cy.js +++ /dev/null @@ -1,203 +0,0 @@ -import { DEFAULT_JOB_PROFILE_NAMES, APPLICATION_NAMES } from '../../../../support/constants'; -import Permissions from '../../../../support/dictionary/permissions'; -import DataImport from '../../../../support/fragments/data_import/dataImport'; -import ExportManagerSearchPane from '../../../../support/fragments/exportManager/exportManagerSearchPane'; -import InventoryInstance from '../../../../support/fragments/inventory/inventoryInstance'; -import InventoryInstances from '../../../../support/fragments/inventory/inventoryInstances'; -import MarcAuthorities from '../../../../support/fragments/marcAuthority/marcAuthorities'; -import MarcAuthority from '../../../../support/fragments/marcAuthority/marcAuthority'; -import QuickMarcEditor from '../../../../support/fragments/quickMarcEditor'; -import TopMenu from '../../../../support/fragments/topMenu'; -import Users from '../../../../support/fragments/users/users'; -import DateTools from '../../../../support/utils/dateTools'; -import FileManager from '../../../../support/utils/fileManager'; -import getRandomPostfix from '../../../../support/utils/stringTools'; -import TopMenuNavigation from '../../../../support/fragments/topMenuNavigation'; - -describe('MARC', () => { - describe('MARC Authority', () => { - describe('Reporting MARC authority', () => { - const testData = { - searchOption: 'Keyword', - title: - 'C375231Beethoven, Ludwig van, 1770-1827. Variations, piano, violin, cello, op. 44, E♭ major', - }; - - const marcFiles = [ - { - marc: 'marcBibFileForC375231_1.mrc', - fileName: `testMarcFile.${getRandomPostfix()}.mrc`, - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_INSTANCE_AND_SRS, - propertyName: 'instance', - }, - { - marc: 'marcBibFileForC375231_2.mrc', - fileName: `testMarcFile.${getRandomPostfix()}.mrc`, - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_INSTANCE_AND_SRS, - propertyName: 'instance', - }, - { - marc: 'marcAuthFileForC375231_1.mrc', - fileName: `testMarcFile.${getRandomPostfix()}.mrc`, - jobProfileToRun: DEFAULT_JOB_PROFILE_NAMES.CREATE_AUTHORITY, - propertyName: 'authority', - }, - ]; - - const createdAuthorityID = []; - - before('Creating user and uploading files', () => { - cy.getAdminToken(); - MarcAuthorities.deleteMarcAuthorityByTitleViaAPI('C375231'); - cy.createTempUser([ - Permissions.uiMarcAuthoritiesAuthorityRecordView.gui, - Permissions.uiMarcAuthoritiesAuthorityRecordEdit.gui, - Permissions.uiQuickMarcQuickMarcAuthoritiesEditorAll.gui, - Permissions.inventoryAll.gui, - Permissions.uiQuickMarcQuickMarcBibliographicEditorAll.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.uiQuickMarcQuickMarcAuthorityLinkUnlink.gui, - Permissions.exportManagerAll.gui, - Permissions.moduleDataImportEnabled.gui, - ]) - .then((createdUserProperties) => { - testData.userProperties = createdUserProperties; - }) - .then(() => { - cy.getUserToken(testData.userProperties.username, testData.userProperties.password); - marcFiles.forEach((marcFile) => { - DataImport.uploadFileViaApi( - marcFile.marc, - marcFile.fileName, - marcFile.jobProfileToRun, - ).then((response) => { - response.forEach((record) => { - createdAuthorityID.push(record[marcFile.propertyName].id); - }); - }); - }); - }); - }); - - beforeEach('Login to the application', () => { - cy.login(testData.userProperties.username, testData.userProperties.password, { - path: TopMenu.marcAuthorities, - waiter: MarcAuthorities.waitLoading, - }); - }); - - after('Deleting user and data', () => { - cy.getAdminToken(); - InventoryInstance.deleteInstanceViaApi(createdAuthorityID[0]); - InventoryInstance.deleteInstanceViaApi(createdAuthorityID[1]); - MarcAuthority.deleteViaAPI(createdAuthorityID[2], true); - Users.deleteViaApi(testData.userProperties.userId); - }); - - it( - 'C375231 "MARC authority headings updates (CSV)" report includes correct number of linked "MARC bib" records (spitfire)', - { tags: ['smoke', 'spitfire', 'shiftLeftBroken', 'C375231'] }, - () => { - const dataForC375231 = [ - { - recordTitle: createdAuthorityID[0], - tagValue: '240', - marcValue: - 'C375231Beethoven, Ludwig van, 1770-1827. Variations, piano, violin, cello, op. 44, E♭ major', - }, - { - recordTitle: createdAuthorityID[1], - tagValue: '700', - marcValue: - 'C375231Beethoven, Ludwig van, 1770-1827. Variations, piano, violin, cello, op. 44, E♭ major', - }, - ]; - - dataForC375231.forEach((value) => { - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.INVENTORY); - InventoryInstances.searchByTitle(value.recordTitle); - InventoryInstances.selectInstance(); - InventoryInstance.editMarcBibliographicRecord(); - InventoryInstance.verifyAndClickLinkIcon(value.tagValue); - MarcAuthorities.switchToSearch(); - InventoryInstance.verifySelectMarcAuthorityModal(); - InventoryInstance.searchResults(value.marcValue); - InventoryInstance.clickLinkButton(); - QuickMarcEditor.pressSaveAndClose(); - }); - - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.MARC_AUTHORITY); - MarcAuthorities.searchBy(testData.searchOption, testData.title); - MarcAuthorities.selectTitle(testData.title); - MarcAuthority.edit(); - // Waiter needed for the whole page to be loaded. - cy.wait(2000); - QuickMarcEditor.updateExistingField( - '100', - '$a C375231Beethoven, Ludwig Jr, $d 1770-1827. $t Variations, $m piano, violin, cello, $n op. 44, $r E♭ major', - ); - QuickMarcEditor.saveAndCloseUpdatedLinkedBibField(); - QuickMarcEditor.saveAndCheck(); - const today = DateTools.getCurrentDateForFiscalYear(); - const tomorrow = DateTools.getDayTomorrowDateForFiscalYear(); - MarcAuthorities.clickActionsAndReportsButtons(); - MarcAuthorities.fillReportModal(today, tomorrow); - MarcAuthorities.clickExportButton(); - cy.intercept('POST', '/data-export-spring/jobs').as('getId'); - cy.wait('@getId', { timeout: 10000 }).then((item) => { - MarcAuthorities.checkCalloutAfterExport(item.response.body.name); - TopMenuNavigation.navigateToApp(APPLICATION_NAMES.EXPORT_MANAGER); - ExportManagerSearchPane.searchByAuthorityControl(); - ExportManagerSearchPane.downloadLastCreatedJob(item.response.body.name); - // Waiter needed for the job file to be downloaded. - cy.wait(1000); - }); - - const downloadedReportDate = DateTools.getFormattedDate({ date: new Date() }); - const fileNameMask = `${downloadedReportDate}*`; - FileManager.verifyFile( - MarcAuthorities.verifyMARCAuthorityFileName, - fileNameMask, - MarcAuthorities.verifyContentOfExportFile, - [ - 'Last updated', - `${downloadedReportDate}`, - 'Original heading', - '"C375231Beethoven, Ludwig van, 1770-1827. Variations, piano, violin, cello, op. 44, E♭ major"', - 'New heading', - '"C375231Beethoven, Ludwig Jr, 1770-1827. Variations, piano, violin, cello, op. 44, E♭ major"', - 'Identifier', - 'n83130007', - 'Original 1XX', - '100', - 'New 1XX', - '100', - 'Authority source file name', - 'LC Name Authority file (LCNAF)', - 'Number of bibliographic records linked', - 'Updater', - `"${testData.userProperties.username}, testPermFirst"`, - ], - ); - FileManager.deleteFolder(Cypress.config('downloadsFolder')); - - const expectedData = { - naturalIdOld: 'n83130007', - naturalIdNew: 'n83130007', - headingNew: - 'C375231Beethoven, Ludwig Jr, 1770-1827. Variations, piano, violin, cello, op. 44, E♭ major', - headingOld: - 'C375231Beethoven, Ludwig van, 1770-1827. Variations, piano, violin, cello, op. 44, E♭ major', - sourceFileNew: 'LC Name Authority file (LCNAF)', - sourceFileOld: 'LC Name Authority file (LCNAF)', - startedAt: today, - startedByUserFirstName: testData.userProperties.firstName, - startedByUserLastName: testData.userProperties.lastName, - }; - - MarcAuthorities.verifyHeadingsUpdatesDataViaAPI(today, tomorrow, expectedData); - }, - ); - }); - }); -}); diff --git a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-autority-reporting-updated-heading.cy.js b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-autority-reporting-updated-heading.cy.js index cf99740098..7b83b61533 100644 --- a/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-autority-reporting-updated-heading.cy.js +++ b/cypress/e2e/marc/marc-authority/reporting-marc-authority/marc-autority-reporting-updated-heading.cy.js @@ -210,8 +210,6 @@ describe('MARC', () => { '100', 'Authority source file name', 'LC Name Authority file (LCNAF)', - 'Number of bibliographic records linked', - '1', 'Updater', ], ); diff --git a/cypress/fixtures/marcAuthFileForC375231_1.mrc b/cypress/fixtures/marcAuthFileForC375231_1.mrc deleted file mode 100644 index 9ef589a70b..0000000000 --- a/cypress/fixtures/marcAuthFileForC375231_1.mrc +++ /dev/null @@ -1 +0,0 @@ -01830cz a2200313n 4500001001000000005001700010008004100027035002300068040004600091100009600137380002100233382004400254383001100298384001500309400008000324400007500404400007800479400008100557400008400638400009900722400010000821400009500921400009201016400009801108400008601206670014501292670006401437953001501501n8313000720141218122416.0830825n| azannaabn |a aaa  a(OCoLC)oca00964013 aDLCbengerdacDLCdDLCdOOCdIEN-MudDLC1 aC375231Beethoven, Ludwig van,d1770-1827.tVariations,mpiano, violin, cello,nop. 44,rE♭ major aVariations2lcsh0 apianon1aviolinn1acellon1s32lcmpt bop. 440 aE♭ major1 aBeethoven, Ludwig van,d1770-1827.t14 Variationen über ein Originalthema1 aBeethoven, Ludwig van,d1770-1827.t14 variations on an original theme1 aBeethoven, Ludwig van,d1770-1827.t14 variations sur un thème original1 aBeethoven, Ludwig van,d1770-1827.tFourteen variations on an original theme1 aBeethoven, Ludwig van,d1770-1827.tQuatorze variations sur un thème original1 aBeethoven, Ludwig van,d1770-1827.tTrios,mpiano, violin, cello,nno. 10, op. 44,rE♭ major1 aBeethoven, Ludwig van,d1770-1827.tVariationen über ein Originalthema,mpiano, violin, cello1 aBeethoven, Ludwig van,d1770-1827.tVariations on an original theme,mpiano, violin, cello1 wnneaaBeethoven, Ludwig van,d1770-1827.tVariations,mpiano trio,nop. 44,rE♭ major1 aBeethoven, Ludwig van,d1770-1827.tVariations sur un thème original,mpiano, violin, cello1 aBeethoven, Ludwig van,d1770-1827.tVierzehn Variationen über ein Originalthema aBeethoven, L. van. Werke für Klaviertrio [SR] c1982 (a.e.)bcontainer (piano trio, op. 44, E♭ major: 14 variations on an original theme) aKinskyb(op. 44: 14 Variationen (Es-Dur) für Klaviertrio) avk01bvk07 \ No newline at end of file diff --git a/cypress/fixtures/marcAuthFileForC916257.mrc b/cypress/fixtures/marcAuthFileForC916257.mrc deleted file mode 100644 index e2e6995a40..0000000000 --- a/cypress/fixtures/marcAuthFileForC916257.mrc +++ /dev/null @@ -1 +0,0 @@ -02161cz a2200289n 4500001000800000005001700008008004100025010001700066035002300083040005800106046002100164053001500185100003000200370004000230372002500270373002700295373010400322374003100426375001700457377000800474378001900482670008300501670090700584670014801491670022301639953000901862739428420221103064546.0080107n| azannaabn |n aaa  an 1106202514 a(OCoLC)oca07622362 aDLCbengerdacDLCdDHU-MSdInUdScUdVtUdDLCdICrlF f1975-09-302edtf 0aPS3603.O171 aC916257 Coates, Ta-Nehisi aBaltimore (Md.)cUnited States2naf aGraphic novels2lcsh aHoward University2naf aWashington Post (Newspaper)aWashington Times (Newspaper)aVillage Voice (Newspaper)aTime Magazine aJournalistsaAuthors2lcsh aMales2lcdgt aeng qTa-Nehisi Paul aCoates, Ta-Nehisi. The beautiful struggle, 2008:beCIP t.p. (Ta-Nehisi Coates) aAfrican American National Biography, accessed December 12 2014, via Oxford African American Studies Center database:b(Coates, Ta-Nehisi; print journalist, autobiographer / memoirist; born 1975 in Baltimore, Maryland, United States; his name is the word ancient Egyptians used for the land of Nubia; grew up in a West Baltimore during the 1980s epidemic of crack cocaine and its accompanying violent turf battles; attended Howard University, from 1993 until 1997; became a journalist around 1996, when he started writing for the Washington Times and then the Washington Post; his writing and reporting talent later took him to Washington Monthly, Entertainment Weekly, and the Village Voice; worked at the Voice until 2004, when he went to work for Time Magazine between 2005 and 2007; his memoir, The Beautiful Struggle: A Father, Two Sons, and an Unlikely Road to Manhood, was also published in 2008) aWikipedia, 16 Feb. 2017b(Ta-Nehisi Coates; Ta-Nehisi Paul Coates; b. 30 Sep. 1975 in Baltimore, MD; American writer, journalist, and educator) aHis website, Nov. 2, 2022b(Ta-Nehisi Coates is an award-winning author and journalist. Ta-Nehisi also enjoyed a successful run writing Marvel's Black Panther (2016-2021) and Captain America (2018-2021) comics series.) alk32 \ No newline at end of file diff --git a/cypress/fixtures/marcAuthFileForC926158.mrc b/cypress/fixtures/marcAuthFileForC926158.mrc deleted file mode 100644 index 33933caa7d..0000000000 --- a/cypress/fixtures/marcAuthFileForC926158.mrc +++ /dev/null @@ -1 +0,0 @@ -05060cz a2200649n 4500001000800000005001700008008004100025010001700066024004400083024002700127024011700154024001900271024010900290024002000399024006600419024011900485024003600604024005600640024005800696035002300754040009700777046002700874053002400901110002500925368007600950368007301026370011001099370011601209372007501325372007201400377010101472410001601573410001301589410001001602410001601612410001501628500012201643500013201765500012801897500011902025500011602144500013902260510007002399667009702469667005602566667004602622670005402668670003302722670003802755670007002793670044002863670066103303670014703964670027404111952001004385953001504395142018020201127070020.0790409n| azannaabn |b ana  an 11112025 8 1http://dbpedia.org/resource/The_Beatles7 amn00007540322allmusic7 a72761545-24a3-4027-88b2-32b5a68b0e692bbcth1http://www.bbc.co.uk/things/72761545-24a3-4027-88b2-32b5a68b0e69#id7 a827302discogs7 a5003724042gettyulan0http://vocab.getty.edu/ulan/5003724041http://vocab.getty.edu/ulan/500372404-agent7 anm13973132imdb7 a00000001217074842isni1http://isni.org/isni/00000001217074847 ab10bbbfc-cf9e-42e0-be17-e2c3e1d2600d2musicb1http://musicbrainz.org/artist/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d#_7 a3WrFJ7ztbogyGnTHbHJFl22spotify7 a1412056082viaf1http://www.viaf.org/viaf/1412056087 aQ12992wikidata1http://www.wikidata.org/entity/Q1299 a(OCoLC)oca00251974 aDLCbengerdacDLCdDLC-RdDLCdOCoLCdUkdIAhCCSdWaUdICUdMMeTdIAhCCSdDLCdWaUdOhKeUAV s1960-08-16t19702edtf 0aML421.B4cBiography2 aC926158 Beatles4ptf aMusical groups2lcsh0http://id.loc.gov/authorities/subjects/sh85088960 aRock groups2lcsh0http://id.loc.gov/authorities/subjects/sh85114671 cGreat Britain2naf0http://id.loc.gov/authorities/names/n790231471http://id.loc.gov/rwo/agents/n79023147 eLiverpool (England)2naf0http://id.loc.gov/authorities/names/n800509501http://id.loc.gov/rwo/agents/n80050950 aPopular music2lcsh0http://id.loc.gov/authorities/subjects/sh85088865 aRock music2lcsh0http://id.loc.gov/authorities/subjects/sh85114675 aengafre0http://id.loc.gov/vocabulary/languages/eng0http://id.loc.gov/vocabulary/languages/fre2 aBiĭtŭls2 aBiṭels2 aBitlz2 aThe Beatles2 aביטלס1 wriMember:aBest, Pete,d1941-0http://id.loc.gov/authorities/names/n822203991http://id.loc.gov/rwo/agents/n822203991 wriMember:aHarrison, George,d1943-20010http://id.loc.gov/authorities/names/n810418451http://id.loc.gov/rwo/agents/n810418451 wriMember:aLennon, John,d1940-19800http://id.loc.gov/authorities/names/n800178681http://id.loc.gov/rwo/agents/n800178681 wriMember:aMcCartney, Paul0http://id.loc.gov/authorities/names/n500121351http://id.loc.gov/rwo/agents/n500121351 wriMember:aStarr, Ringo0http://id.loc.gov/authorities/names/n810418461http://id.loc.gov/rwo/agents/n810418461 wriMember:aSutcliffe, Stuart,d1940-19620http://id.loc.gov/authorities/names/no20020154621http://id.loc.gov/rwo/agents/no20020154622 wriFounded corporate body of corporate body:aApple Corps Limited aURIs added to this record for the PCC URI MARC Pilot. Please do not remove or edit the URIs. aMachine-derived non-Latin script reference project. aNon-Latin script reference not evaluated. aShepherd, B. The true story of The Beatles, 1964. aUriel, Y. ha-Biṭels, 1993. aNarichakha gi Biĭtŭls, c1991. aOskolki neba, ili, Podlinnai︠a︡ istorii︠a︡ "Bitlz", 1997. aThe complete idiot's guide to The Beatles, c1998:bp. 86 (list of earlier names, chronologically: The Black Jacks, The Quarry Men, Johnny and the Moondogs, The Nerk Twins, The Beatals, The Silver Beetles, The Silver Beets, The Beatles, The Silver Beetles, The Silver Beatles, The Beatles (Aug. 16, 1960- ) p. 111 (My Bonnie was credited to Tony Sheridan & The Beat Brothers because "The Beatles" sounded similar to a German slang word) aWikipedia, Nov. 2, 2012b(The Beatles were an English rock band formed in Liverpool in 1960 who became the most commercially successful and critically acclaimed act in the history of popular music; Origin: Liverpool, England; Genres: Rock, pop; Years active: 1960-70; Principal members: John Lennon (1960-69); Paul McCartney (1960-70); George Harrison (1960-70); Ringo Starr (1962-70); "Michelle" is a love ballad by The Beatles, mainly written by Paul McCartney, with the middle eight co-written with John Lennon. It is featured on their Rubber Soul album. The song is unique among The Beatles' other recordings in that its lyrics are partially in French) aAll Music, Jan. 30, 2014b(The Beatles; Group Members: George Harrison, John Lennon, Paul McCartney, Pete Best, Ringo Starr, Stuart Sutcliffe) aWikipedia, searched November 25, 2020b(Apple Corps; Apple Corps Limited; informally known as: Apple; multimedia corporation; founded in London, January 1968, by members of the Beatles; replaced earlier company, Beatles, Inc.)uhttps://en.wikipedia.org/wiki/Apple_Corps aRETRO axx00bvk05 \ No newline at end of file diff --git a/cypress/fixtures/marcAuthFileForC926159.mrc b/cypress/fixtures/marcAuthFileForC926159.mrc deleted file mode 100644 index 8e3a3866dc..0000000000 --- a/cypress/fixtures/marcAuthFileForC926159.mrc +++ /dev/null @@ -1 +0,0 @@ -00408cz a2200133n 450000100090000000300040000900800410001300500170005401000160007104000180008713000400010567000790014567000500022480026955DLC800331n| acannaab| |n ana ||| 20220816153125.5 afst18141111 aDLCcDLCdDLC 0aC926159 Marvel comicstComiConw630 aData from Tales of suspense ... [FS] 1979 (a.e.)b(Marvel classics comics) aSci. fic. encyclopedia, 1979b(Marvel comics) \ No newline at end of file diff --git a/cypress/fixtures/marcAuthFileForC926161.mrc b/cypress/fixtures/marcAuthFileForC926161.mrc deleted file mode 100644 index 9c3d2d314e..0000000000 --- a/cypress/fixtures/marcAuthFileForC926161.mrc +++ /dev/null @@ -1 +0,0 @@ -01942cz a2200313n 4500001000800000005001700008008004100025010001700066035002300083040007300106046003300179053001700212100003400229370008200263372005200345373002900397374005400426374002200480377000800502400003900510400002000549670009400569670004400663670007600707670010600783670064400889670008001533953001501613242619020190610154002.0831201n| azannaabn a aaa  an 92616111  a(OCoLC)oca00990699 aDLCbengerdacDLCdDLCdOCoLCdDLCdDLCdIOrQBIdDLCdViUdDLCdMnU f1922-12-28g2018-11-122edtf 0aPS3562.E36471 aC926161 Lee, Stan,d1922-2018 aManhattan (New York, N.Y.)bLos Angeles (Calif.)eBronx (New York, N.Y.)2naf aComic books, strips, etc.aGraphic novels2lcsh aMarvel Comics Group2naf aAuthorsaEditorsaPublishers and publishing2lcsh aComic book writer aeng1 aLieber, Stanley Martin,d1922-20181 wnneaaLee, Stan aHis Stan Lee presents the Incredible Hulk pop-up-book, "Trapped", c1982:bt.p. (Stan Lee) aLC data base, 9-7-83b(hdg.: Lee, Stan) aExcelsior! 2002:bCIP t.p. (Stan Lee) data sheet (b. December 28, 1922) aStan Lee, c2006:bECIP t.p. (Stan Lee) chap. 2 (Stanley Martin Lieber, b. in New York, Dec. 28, 1922) aNew York times WWW site, viewed Nov. 13, 2018b(in obituary published Nov. 12: Stan Lee; b. Stanley Martin Lieber, Dec. 28, 1922, Manhattan; moved with his family to the Bronx; d. Monday [Nov. 12, 2018], Los Angeles, aged 95; superhero of Marvel Comics; helped create Spider-Man, the X-Men, the Fantastic Four, Iron Man, and others while overseeing his company's emergence as a media behemoth; writer, editor, publisher, Hollywood executive; used several pseudonyms to give the impression that Marvel had a large stable of writers; the name that stuck was simply his first name split in two; in the 1970s, he legally changed Lieber to Lee) aOCLC, February 18, 2019b(authorized access point prior to 2009: Lee, Stan) abe26brc1503046cz a2200385n 45000010006000000050017000060080041000230100017000640240066000810240064001470240052002110240062002630350023003250400049003480460033003971000024004303700080004543720095005343730029006293740066006583740043007243750017007673770008007844000021007924000028008136670085008416670097009266700062010236700108010856700249011936700153014426700945015956700105025409530015026451338920220801064517.0771230n| azannaabn a aaa  an 92616112 7 a00000001169180412isni1http://isni.org/isni/00000001169180417 a5000229802gettyulan0http://vocab.getty.edu/ulan/5000229807 a1002678862viaf1http://viaf.org/viaf/1002678867 aQ3116072wikidata1http://www.wikidata.org/entity/Q311607 a(OCoLC)oca00136397 aDLCbengerdacDLCdDLCdOClWdDLCdScUdNNU f1917-08-25g1994-02-062edtf1 aC926161 Kirby, Jack aNew York (N.Y.)bThousand Oaks (Ventura County, Calif.)cUnited States2naf aComic books, strips, etc.aGraphic novelsaMotion pictures--Production and direction2lcsh aMarvel Comics Group2naf aAuthorsaMotion picture art directorsaArtistsaEditors2lcsh aComics artistaComics writer2wikidata aMales2lcdgt aeng1 aKurtzberg, Jacob1 aKirby, Jack,d1917-1994 aNot same as: Kirby, Jack R. B. (nb2017011505), comics writer from Great Britain. aURIs added to this record for the PCC URI MARC Pilot. Please do not remove or edit the URIs. aLee, S. The Silver Surfer, 1978 (a.e.)bt.p. (Jack Kirby) aTales to astonish, 2004:bCIP t.p (Jack Kirby) galley (Jack Kirby, b. Jacob Kurtzberg on Aug. 25, 1917) aInternet movie database, Jan. 21, 2004b(Jack Kirby; writer, production designer, comic book artist; b. Aug. 28, 1917, New York, N.Y.; d. Feb. 6, 1994, Thousand Oaks, Calif.; birth name, Jacob Kurtzberg; sometimes credited as Jack 'King' Kirby) aMcCloud, S. Understanding comics, ©1993:bpage 74 (Most mainstream comics in America employ storytelling techniques first introduced by Jack Kirby) aWikipedia, 30 July 2022b(Jack Kirby; born Jacob Kurtzberg on August 28, 1917 in New York City, died February 6, 1994 in Thousand Oaks, Calif., aged 76; an American comic book artist, writer and editor, widely regarded as one of the medium's major innovators and one of its most prolific and influential creators; in 1940, he and writer-editor Joe Simon created the highly successful superhero character Captain America for Timely Comics, predecessor of Marvel Comics; during the 1940s, Kirby regularly teamed with Simon, creating numerous characters for that company and for National Comics Publications, later to become DC Comics; Kirby was involved in Timely's 1950s iteration, Atlas Comics, which in the next decade became Marvel; there, during the 1960s, Kirby created many of the company's major characters, including the Fantastic Four, the X-Men, Thor, the Hulk, Iron Man and Black Panther)uhttps://en.wikipedia.org/wiki/Jack_Kirby aOCLC database, 30 July 2022b(access points: Kirby, Jack, Kirby, Jack, 1917-1994; usage: Jack Kirby) abc16blg14 \ No newline at end of file diff --git a/cypress/fixtures/marcAuthFileLocalForC926160.mrc b/cypress/fixtures/marcAuthFileLocalForC926160.mrc deleted file mode 100644 index a897008246..0000000000 --- a/cypress/fixtures/marcAuthFileLocalForC926160.mrc +++ /dev/null @@ -1 +0,0 @@ -02161cz a2200289n 4500001000800000005001700008008004100025010001700066035002300083040005800106046002100164053001500185100003000200370004000230372002500270373002700295373010400322374003100426375001700457377000800474378001900482670008300501670090700584670014801491670022301639953000901862739428420221103064546.0080107n| azannaabn |n aaa  an 9261606241 a(OCoLC)oca07622362 aDLCbengerdacDLCdDHU-MSdInUdScUdVtUdDLCdICrlF f1975-09-302edtf 0aPS3603.O171 aC926160 Coates, Ta-Nehisi aBaltimore (Md.)cUnited States2naf aGraphic novels2lcsh aHoward University2naf aWashington Post (Newspaper)aWashington Times (Newspaper)aVillage Voice (Newspaper)aTime Magazine aJournalistsaAuthors2lcsh aMales2lcdgt aeng qTa-Nehisi Paul aCoates, Ta-Nehisi. The beautiful struggle, 2008:beCIP t.p. (Ta-Nehisi Coates) aAfrican American National Biography, accessed December 12 2014, via Oxford African American Studies Center database:b(Coates, Ta-Nehisi; print journalist, autobiographer / memoirist; born 1975 in Baltimore, Maryland, United States; his name is the word ancient Egyptians used for the land of Nubia; grew up in a West Baltimore during the 1980s epidemic of crack cocaine and its accompanying violent turf battles; attended Howard University, from 1993 until 1997; became a journalist around 1996, when he started writing for the Washington Times and then the Washington Post; his writing and reporting talent later took him to Washington Monthly, Entertainment Weekly, and the Village Voice; worked at the Voice until 2004, when he went to work for Time Magazine between 2005 and 2007; his memoir, The Beautiful Struggle: A Father, Two Sons, and an Unlikely Road to Manhood, was also published in 2008) aWikipedia, 16 Feb. 2017b(Ta-Nehisi Coates; Ta-Nehisi Paul Coates; b. 30 Sep. 1975 in Baltimore, MD; American writer, journalist, and educator) aHis website, Nov. 2, 2022b(Ta-Nehisi Coates is an award-winning author and journalist. Ta-Nehisi also enjoyed a successful run writing Marvel's Black Panther (2016-2021) and Captain America (2018-2021) comics series.) alk32 \ No newline at end of file diff --git a/cypress/fixtures/marcAuthFileSharedForC926160.mrc b/cypress/fixtures/marcAuthFileSharedForC926160.mrc deleted file mode 100644 index 0074aaa0fd..0000000000 --- a/cypress/fixtures/marcAuthFileSharedForC926160.mrc +++ /dev/null @@ -1 +0,0 @@ -00574cz a2200169n 4500001000800000005001700008008004100025010001700066035002300083040003700106100003000143372004100173374001800214670008700232670007600319953000900395353898720190402122513.0910702n| azannaabn |n aaa  an 92616027  a(OCoLC)oca02976603 aDLCbengerdacDLCdDLCdNNdNcD1 aC926160 Stelfreeze, Brian aArtaComic books, strips, etc.2lcsh aArtists2lcsh aWoodcock, J. Cycops graphic album, 1989:bt.p. (illustrations by Brian Stelfreeze) aWikipedia, Apr. 1, 2019b(Brian Stelfreeze; American comic book artist) abg05 \ No newline at end of file diff --git a/cypress/fixtures/marcBibFileForC916257.mrc b/cypress/fixtures/marcBibFileForC916257.mrc deleted file mode 100644 index 9420a14b1c..0000000000 --- a/cypress/fixtures/marcBibFileForC916257.mrc +++ /dev/null @@ -1 +0,0 @@ -05251cam a2200997 i 4500001001400000008004100014005001700055035002400072040017600096019003600272020004300308020004000351020004300391020004000434020004300474020004000517020004300557020004000600020004300640020004000683020004300723020004000766020004300806020004000849020004300889020004000932020004300972020004001015020004301055020004001098035007601138043001201214050002901226050002601255082001801281100005301299245004401352264009901396300005701495336002601552336003301578337002801611338002701639500005401666521002201720588001401742520037501756505043902131600006902570650004802639650004302687650004202730650004502772650004402817651003802861650004402899650004002943650003602983650003103019651003303050600006803083650004403151650004503195650004203240650004803282650004303330651003803373655002703411655005303438655004603491655004803537655002703585655002903612655003403641655002703675655004703702655003103749700003203780700007703812700009403889700002803983700008404011700007604095938004104171938004104212in00000000144170814m20172019nyua 6 000 1 eng d20220704143031.8 a(OCoLC)on1000535936 aOJ4bengerdacOJ4dYDXdFLWMDdJTDdTOPdMYGdOCLCAdNJRdUABdP@NdNYPdOCLCQdOCLCFdOCLCAdCNNORdCCPLGdOCLCAdCCPLGdOCLdOCLCOdOCLCQdOCLCOdOCLCQdOCLdOCLCOdJPL a964194444a964760322a999445824 a9781302904159q(volume 1 ;qhardcover) a1302904159q(volume 1 ;qhardcover) a9781302900533q(volume 1 ;qpaperback) a1302900536q(volume 1 ;qpaperback) a9781302900540q(volume 2 ;qpaperback) a1302900544q(volume 2 ;qpaperback) a9781302901912q(volume 3 ;qpaperback) a1302901915q(volume 3 ;qpaperback) a9781302906498q(volume 4 ;qpaperback) a1302906496q(volume 4 ;qpaperback) a9781302909888q(volume 5 ;qpaperback) a1302909886q(volume 5 ;qpaperback) a9781302912932q(volume 6 ;qpaperback) a1302912933q(volume 6 ;qpaperback) a9781302912949q(volume 7 ;qpaperback) a1302912941q(volume 7 ;qpaperback) a9781302914462q(volume 8 ;qpaperback) a1302914464q(volume 8 ;qpaperback) a9781302921101q(volume 9 ;qpaperback) a130292110Xq(volume 9 ;qpaperback) a(OCoLC)1000535936z(OCoLC)964194444z(OCoLC)964760322z(OCoLC)999445824 af------14aPN6728.B519338bC63 2017 4aPN6728.B523bC63 201704a741.5/9732231 aC916257 Coates, Ta-Nehisi,eauthor.0n110620251410aC916257 Instance (from Local to Shared) 1aNew York, NY :bMarvel Worldwide, Inc., a subsidiary of Marvel Entertainment, LLC,c2017-2019. a9 volumes :bchiefly color illustrations ;c26-29 cm atextbtxt2rdacontent astill imagebsti2rdacontent aunmediatedbn2rdamedia avolumebnc2rdacarrier a"Black Panther created by Stan Lee & Jack Kirby."8 aRated T for Teen.0 aVolume 1. aWhen a superhuman terrorist group named The People sparks a violent uprising in Wakanda, the kingdom famed for its incredible technology and proud traditions will be thrown into turmoil like never before! Black Panther knows that if Wakanda is to survive, it must adapt--but will he be able to make it through the transition alive? Heavy is the head that wears the cowl!00gv. 1.tA nation under our feetgv. 2.tA nation under our feet. Book twogv. 3.tA nation under our feet. Book threegv. 4.tAvengers of the new world. Part onegv. 5.tAvengers of the new world. Part two.gv. 6.tThe intergalactic empire of Wakanda. Part one --gv. 7.tThe intergalactic empire of Wakanda. Part two. --gv. 8.tThe intergalactic empire of Wakanda. Part three --gv. 9tThe intergalactic empire of Wakanda. Part four.00aBlack Pantherc(Fictitious character)vComic books, strips, etc. 0aKings and rulersvComic books, strips, etc. 0aSuperheroesvComic books, strips, etc. 0aInsurgencyvComic books, strips, etc. 0aGood and evilvComic books, strips, etc. 0aBlack peoplevComic books, strips, etc. 0aAfricavComic books, strips, etc. 6aRois et souverainsvBandes dessinées. 6aBandes dessinées de superhéros. 6aRévoltesvBandes dessinées. 6aNoirsvBandes dessinées. 6aAfriquevBandes dessinées.07aBlack Pantherc(Fictitious character)2fast0(OCoLC)fst02000849 7aBlack people.2fast0(OCoLC)fst00833880 7aGood and evil.2fast0(OCoLC)fst00944894 7aInsurgency.2fast0(OCoLC)fst00975461 7aKings and rulers.2fast0(OCoLC)fst00987694 7aSuperheroes.2fast0(OCoLC)fst01765254 7aAfrica.2fast0(OCoLC)fst01239509 7asuperhero comics.2aat 7aComics (Graphic works)2fast0(OCoLC)fst01921613 7aGraphic novels.2fast0(OCoLC)fst01726630 7aSuperhero comics.2fast0(OCoLC)fst01922562 7aGraphic novels.2gsafd 7aSuperhero comics.2lcgft 7aComics (Graphic works)2lcgft 7aGraphic novels.2lcgft 7aBandes dessinées de superhéros.2rvmgf 7aBandes dessinées.2rvmgf1 aStelfreeze, Brian,eartist.1 aSprouse, Chris,eartist.0http://id.loc.gov/authorities/names/no981056981 aMartin, Laurac(Comic book artist),ecolorist.0id.loc.gov/authorities/names/no20160638821 aSabino, Joe,eletterer.1 aLee, Stan,d1922-2018,ecreator.0http://id.loc.gov/authorities/names/n831692671 aKirby, Jack,ecreator.0http://id.loc.gov/authorities/names/n2019022493 aYBP Library ServicesbYANKn13260207 aYBP Library ServicesbYANKn13041443 \ No newline at end of file diff --git a/cypress/fixtures/marcBibFileForC926158.mrc b/cypress/fixtures/marcBibFileForC926158.mrc deleted file mode 100644 index 57c6088694..0000000000 --- a/cypress/fixtures/marcBibFileForC926158.mrc +++ /dev/null @@ -1 +0,0 @@ -02739cjm a2200529Ia 4500001001000000006001900010007001500029007001500044008004100059005001700100019001400117024001700131028003000148028002300178029002200201029001800223033003300241035003900274040007000313049000900383050002800392082001800420110003700438245002300475250003800498260004200536300005000578500005400628500001700682500004200699500004500741500005500786500010600841500001600947505036300963508007301326511008101399518004101480538017301521538016901694556016401863648002002027650002702047650006302074655006302137903000902200in7892595m u sd fsngnnmmneeco cga||||||||090904r20091969caurcnn i n eng d20250501152638.8 a4361556441 a09463824682401a0946 3 82468 2 4bCapitol01a3 82468 2bCapitol1 aAU@b0000447144381 aNZ1b1320782620a196907--a196908--b5754cL7 a(OCoLC)435813090z(OCoLC)436155644 ahbpbengcHBPdHBPdCPLdUBYdCNBdKSUdOCLCQdVP@dWAUdW3MdCGU aCGUA14aM1741.18.B438bA23 200904a782.421662222 aC926158 Beatles.0n111120254prf10aC926158 Instance 1 a[Remastered, special deluxe ed.]. aHollywood, Calif. :bCapitol,cp2009. a1 sound disc :bdigital, stereo. ;c4 3/4 in. aEdition statement from sticker on container wrap. aEnhanced CD. aIncludes Abbey Road mini-documentary. aOriginally released by EMI Records, Ltd. aOriginally released by Parlophone, Sept. 26, 1969. aProgram notes by Kevin Howlett, Mike Heatley, and Allan Rouse ([16] p. : ill.) inserted in container. aRock music.00tCome together --tSomething --tMaxwell's silver hammer --tOh! darling -- Octopus's garden --tI want you (She's so heavy) --tHere comes the sun --tBecause --tYou never give me your money --tSun king --tMean Mr. Mustard --tPolythene Pam --tShe came in through the bathroom window --tGolden slumbers --tCarry that weight --tThe end --tHer Majesty. aProduced by George Martin. Remastered by Guy Massey and Steve Rooke.0 aThe Beatles (John Lennon, Paul McCartney, George Harrison, and Ringo Starr). aRecorded July-Aug. 1969, Abbey Road. aMinimum system requirements (Mac): minimum 256 Mb RAM free; OS X 10.3+; QuickTime 7+; G4, G5 or Intel+ processor; CD-ROM or DVD-ROM drive; color monitor and sound card. aMinimum system requirements (PC): minimum 256 Mb RAM free; Windows 2000+; QuickTime 7+; Pentium 3+ processor; CD-ROM or DVD-ROM drive; color monitor and sound card. a1970 censuses of population file (A, B, or C) summary tape (sample). Arlington, Va. : Data use and Access Laboratories, 1972. (Technical document ; no. ST-4P). 7a1961-19702fast 0aRock musicy1961-1970. 7aRock music.2fast0http://id.worldcat.org/fast/fst01099204 7aRock music.2fast0http://id.worldcat.org/fast/fst01726724 aMARS02226cjm a2200517 a 4500001001000000003000400010005001700014007001500031008004100046024001700087024001900104028003500123035002100158037004600179040005800225047001500283049000900298050002300307082001600330245002300346260005200369300004100421500003400462511006300496500001800559505033900577650003600916650001600952655003200968655002601000655002701026655003001053655002001083655001901103650008301122650006301205651006601268648002001334655006701354655006901421655007301490655006301563710003201626730004101658903000901699in7409125ICU20090421192700.0sd fungnn|||ed070830s2007 caumpn eng d1 a6025174497491 a0060251744974902aB000980102bInterscope Records a(OCoLC)166434200 bMidwest Tapenhttp://www.midwesttapes.com aTEFMTcTEFMTdTEFdBTCTAdNPCdJEDdVP@dUPZdUtOrBLW amparcapp aCGUA14aM1527.2b.A27 200704a781.54222200aC926158 Instance 2 aSanta Monica, CA :bInterscope Records,cp2007. a1 sound disc :bdigital ;c4 3/4 in. aSongs written by the Beatles.0 a"All new recordings by the cast from the film"--Container. aCompact disc.00tAll my loving --tI want to hold your hand --tIt won't be long --tI've just seen a face --tLet it be --tCome together --tI am the walrus --tSomething --tOh! darling --tStrawberry fields forever --tAcross the Universe --tHelter Skelter --tHappiness is a warm gun --tBlackbird --tHey Jude --tLucy in the sky with diamonds. 0aMotion picture musicvExcerpts. 0aRock music. 0aMotion picture soundtracks. 0aMotion picture music. 0aRock musicy2001-2010. 0aPopular musicy2001-2010. 0aCover versions. 0aCompact discs. 7aMotion picture musicxExcerpts.2fast0http://id.worldcat.org/fast/fst01027204 7aRock music.2fast0http://id.worldcat.org/fast/fst01099204 7aUnited States.2fast0http://id.worldcat.org/fast/fst01204155 7a2001-20102fast 7aCover versions.2fast0http://id.worldcat.org/fast/fst01920089 7aFilm soundtracks.2fast0http://id.worldcat.org/fast/fst01774324 7aMotion picture music.2fast0http://id.worldcat.org/fast/fst01726674 7aRock music.2fast0http://id.worldcat.org/fast/fst017267242 aC926158 Beatles.0n111120250 aAcross the universe (Motion picture) aMARS \ No newline at end of file diff --git a/cypress/fixtures/marcBibFileForC926159.mrc b/cypress/fixtures/marcBibFileForC926159.mrc deleted file mode 100644 index ebbadc44a3..0000000000 --- a/cypress/fixtures/marcBibFileForC926159.mrc +++ /dev/null @@ -1 +0,0 @@ -01590cas 2200385 a 4500001001500000008004100015005001700056035002400073040007700097035002000174037006900194043001200263050001900275082002000294245002100314260003400335300003800369310001100407336002600418337002800444338002700472500020900499588001000708650005600718650005900774630008000833650005600913651004500969655004001014655004301054655002401097710002501121994001401146948004401160nin00009530413930510c19uu9999nyuar 0 a0eng d20221230151002.4 a(OCoLC)ocm28081689  aTMNbengcTMNdOCLdOCLCQdOSUdOCLCFdOCLCOdOCLCAdOCLCQdOCLCOdOCLCQ a(OCoLC)28081689 bMarvel Comics Group, 387 Park Avenue South, New York, N.Y. 10016 an-us---14aPN6714.M4bM3704a741.5973bM391400aC926159 Instance a[New York, N.Y.] :bThe Group avolumes :billustrations ;c28 cm aAnnual atextbtxt2rdacontent aunmediatedbn2rdamedia avolumebnc2rdacarrier aA listing of comics to be published for the year. Includes writer, penciler, inker, editor, issues, format, cover price, duration, and page count for each comic as well as a a brief synopsis of the plots.0 a1993. 0aComic books, strips, etc.zUnited StatesvCatalogs. 0aComic books, strips, etc.zUnited StatesvPeriodicals.07aC926159 Marvel comics.2fast0fst18141111vPeriodicals.zUnited Statesw830 7aComic books, strips, etc.2fast0(OCoLC)fst00869145 7aUnited States.2fast0(OCoLC)fst01204155 7aCatalogs.2fast0(OCoLC)fst01423692 7aPeriodicals.2fast0(OCoLC)fst01411641 7aPeriodicals.2lcgft2 aMarvel Comics Group. aZ0bPAOLF hNO HOLDINGS IN PAOLF - 2 OTHER HOLDINGS \ No newline at end of file diff --git a/cypress/fixtures/marcBibFileForC926160.mrc b/cypress/fixtures/marcBibFileForC926160.mrc deleted file mode 100644 index beb83ac2a2..0000000000 --- a/cypress/fixtures/marcBibFileForC926160.mrc +++ /dev/null @@ -1 +0,0 @@ -04849cam a2200937 i 4500001001400000008004100014005001700055035002400072040017600096019003600272020004300308020004000351020004300391020004000434020004300474020004000517020004300557020004000600020004300640020004000683020004300723020004000766020004300806020004000849020004300889020004000932020004300972020004001015020004301055020004001098035007601138043001201214050002901226050002601255082001801281100005301299245002101352264009901373300005701472336002601529336003301555337002801588338002701616500005401643521002201697588001401719520037501733505043902108600008902547650004802636650004302684650004202727650004502769650004402814651003802858650004402896650004002940650003602980650003103016651003303047600006803080650004403148650004503192650004203237650004803279650004303327651003803370655002703408655005303435655004603488655004803534655002703582655002903609655003403638655002703672655004703699655003103746700005203777938004103829938004103870in00000000144170814m20172019nyua 6 000 1 eng d20220704143031.8 a(OCoLC)on1000535936 aOJ4bengerdacOJ4dYDXdFLWMDdJTDdTOPdMYGdOCLCAdNJRdUABdP@NdNYPdOCLCQdOCLCFdOCLCAdCNNORdCCPLGdOCLCAdCCPLGdOCLdOCLCOdOCLCQdOCLCOdOCLCQdOCLdOCLCOdJPL a964194444a964760322a999445824 a9781302904159q(volume 1 ;qhardcover) a1302904159q(volume 1 ;qhardcover) a9781302900533q(volume 1 ;qpaperback) a1302900536q(volume 1 ;qpaperback) a9781302900540q(volume 2 ;qpaperback) a1302900544q(volume 2 ;qpaperback) a9781302901912q(volume 3 ;qpaperback) a1302901915q(volume 3 ;qpaperback) a9781302906498q(volume 4 ;qpaperback) a1302906496q(volume 4 ;qpaperback) a9781302909888q(volume 5 ;qpaperback) a1302909886q(volume 5 ;qpaperback) a9781302912932q(volume 6 ;qpaperback) a1302912933q(volume 6 ;qpaperback) a9781302912949q(volume 7 ;qpaperback) a1302912941q(volume 7 ;qpaperback) a9781302914462q(volume 8 ;qpaperback) a1302914464q(volume 8 ;qpaperback) a9781302921101q(volume 9 ;qpaperback) a130292110Xq(volume 9 ;qpaperback) a(OCoLC)1000535936z(OCoLC)964194444z(OCoLC)964760322z(OCoLC)999445824 af------14aPN6728.B519338bC63 2017 4aPN6728.B523bC63 201704a741.5/9732231 aC926160 Coates, Ta-Nehisi,eauthor.0n926160624110aC926160 Instance 1aNew York, NY :bMarvel Worldwide, Inc., a subsidiary of Marvel Entertainment, LLC,c2017-2019. a9 volumes :bchiefly color illustrations ;c26-29 cm atextbtxt2rdacontent astill imagebsti2rdacontent aunmediatedbn2rdamedia avolumebnc2rdacarrier a"Black Panther created by Stan Lee & Jack Kirby."8 aRated T for Teen.0 aVolume 1. aWhen a superhuman terrorist group named The People sparks a violent uprising in Wakanda, the kingdom famed for its incredible technology and proud traditions will be thrown into turmoil like never before! Black Panther knows that if Wakanda is to survive, it must adapt--but will he be able to make it through the transition alive? Heavy is the head that wears the cowl!00gv. 1.tA nation under our feetgv. 2.tA nation under our feet. Book twogv. 3.tA nation under our feet. Book threegv. 4.tAvengers of the new world. Part onegv. 5.tAvengers of the new world. Part two.gv. 6.tThe intergalactic empire of Wakanda. Part one --gv. 7.tThe intergalactic empire of Wakanda. Part two. --gv. 8.tThe intergalactic empire of Wakanda. Part three --gv. 9tThe intergalactic empire of Wakanda. Part four.00aBlack Pantherc(Fictitious character)vComic books, strips, etc.4.prt2testicomics 0aKings and rulersvComic books, strips, etc. 0aSuperheroesvComic books, strips, etc. 0aInsurgencyvComic books, strips, etc. 0aGood and evilvComic books, strips, etc. 0aBlack peoplevComic books, strips, etc. 0aAfricavComic books, strips, etc. 6aRois et souverainsvBandes dessinées. 6aBandes dessinées de superhéros. 6aRévoltesvBandes dessinées. 6aNoirsvBandes dessinées. 6aAfriquevBandes dessinées.07aBlack Pantherc(Fictitious character)2fast0(OCoLC)fst02000849 7aBlack people.2fast0(OCoLC)fst00833880 7aGood and evil.2fast0(OCoLC)fst00944894 7aInsurgency.2fast0(OCoLC)fst00975461 7aKings and rulers.2fast0(OCoLC)fst00987694 7aSuperheroes.2fast0(OCoLC)fst01765254 7aAfrica.2fast0(OCoLC)fst01239509 7asuperhero comics.2aat 7aComics (Graphic works)2fast0(OCoLC)fst01921613 7aGraphic novels.2fast0(OCoLC)fst01726630 7aSuperhero comics.2fast0(OCoLC)fst01922562 7aGraphic novels.2gsafd 7aSuperhero comics.2lcgft 7aComics (Graphic works)2lcgft 7aGraphic novels.2lcgft 7aBandes dessinées de superhéros.2rvmgf 7aBandes dessinées.2rvmgf1 aC926160 Stelfreeze, Brian,eartist.0n92616027  aYBP Library ServicesbYANKn13260207 aYBP Library ServicesbYANKn13041443 \ No newline at end of file diff --git a/cypress/fixtures/marcBibFileForC926161.mrc b/cypress/fixtures/marcBibFileForC926161.mrc deleted file mode 100644 index 490b1632b8..0000000000 --- a/cypress/fixtures/marcBibFileForC926161.mrc +++ /dev/null @@ -1 +0,0 @@ -04890cam a2200949 i 4500001001400000008004100014005001700055035002400072040017600096019003600272020004300308020004000351020004300391020004000434020004300474020004000517020004300557020004000600020004300640020004000683020004300723020004000766020004300806020004000849020004300889020004000932020004300972020004001015020004301055020004001098035007601138043001201214050002901226050002601255082001801281100003201299245002101331264009901352300005701451336002601508336003301534337002801567338002701595500005401622521002201676588001401698520037501712505043902087600008902526650004802615650004302663650004202706650004502748650004402793651003802837650004402875650004002919650003602959650003102995651003303026600006803059650004403127650004503171650004203216650004803258650004303306651003803349655002703387655005303414655004603467655004803513655002703561655002903588655003403617655002703651655004703678655003103725700005603756700004603812938004103858938004103899in00000000144170814m20172019nyua 6 000 1 eng d20220704143031.8 a(OCoLC)on1000535936 aOJ4bengerdacOJ4dYDXdFLWMDdJTDdTOPdMYGdOCLCAdNJRdUABdP@NdNYPdOCLCQdOCLCFdOCLCAdCNNORdCCPLGdOCLCAdCCPLGdOCLdOCLCOdOCLCQdOCLCOdOCLCQdOCLdOCLCOdJPL a964194444a964760322a999445824 a9781302904159q(volume 1 ;qhardcover) a1302904159q(volume 1 ;qhardcover) a9781302900533q(volume 1 ;qpaperback) a1302900536q(volume 1 ;qpaperback) a9781302900540q(volume 2 ;qpaperback) a1302900544q(volume 2 ;qpaperback) a9781302901912q(volume 3 ;qpaperback) a1302901915q(volume 3 ;qpaperback) a9781302906498q(volume 4 ;qpaperback) a1302906496q(volume 4 ;qpaperback) a9781302909888q(volume 5 ;qpaperback) a1302909886q(volume 5 ;qpaperback) a9781302912932q(volume 6 ;qpaperback) a1302912933q(volume 6 ;qpaperback) a9781302912949q(volume 7 ;qpaperback) a1302912941q(volume 7 ;qpaperback) a9781302914462q(volume 8 ;qpaperback) a1302914464q(volume 8 ;qpaperback) a9781302921101q(volume 9 ;qpaperback) a130292110Xq(volume 9 ;qpaperback) a(OCoLC)1000535936z(OCoLC)964194444z(OCoLC)964760322z(OCoLC)999445824 af------14aPN6728.B519338bC63 2017 4aPN6728.B523bC63 201704a741.5/9732231 aCoates, Ta-Nehisi,eauthor.10aC926161 Instance 1aNew York, NY :bMarvel Worldwide, Inc., a subsidiary of Marvel Entertainment, LLC,c2017-2019. a9 volumes :bchiefly color illustrations ;c26-29 cm atextbtxt2rdacontent astill imagebsti2rdacontent aunmediatedbn2rdamedia avolumebnc2rdacarrier a"Black Panther created by Stan Lee & Jack Kirby."8 aRated T for Teen.0 aVolume 1. aWhen a superhuman terrorist group named The People sparks a violent uprising in Wakanda, the kingdom famed for its incredible technology and proud traditions will be thrown into turmoil like never before! Black Panther knows that if Wakanda is to survive, it must adapt--but will he be able to make it through the transition alive? Heavy is the head that wears the cowl!00gv. 1.tA nation under our feetgv. 2.tA nation under our feet. Book twogv. 3.tA nation under our feet. Book threegv. 4.tAvengers of the new world. Part onegv. 5.tAvengers of the new world. Part two.gv. 6.tThe intergalactic empire of Wakanda. Part one --gv. 7.tThe intergalactic empire of Wakanda. Part two. --gv. 8.tThe intergalactic empire of Wakanda. Part three --gv. 9tThe intergalactic empire of Wakanda. Part four.00aBlack Pantherc(Fictitious character)vComic books, strips, etc.4.prt2testicomics 0aKings and rulersvComic books, strips, etc. 0aSuperheroesvComic books, strips, etc. 0aInsurgencyvComic books, strips, etc. 0aGood and evilvComic books, strips, etc. 0aBlack peoplevComic books, strips, etc. 0aAfricavComic books, strips, etc. 6aRois et souverainsvBandes dessinées. 6aBandes dessinées de superhéros. 6aRévoltesvBandes dessinées. 6aNoirsvBandes dessinées. 6aAfriquevBandes dessinées.07aBlack Pantherc(Fictitious character)2fast0(OCoLC)fst02000849 7aBlack people.2fast0(OCoLC)fst00833880 7aGood and evil.2fast0(OCoLC)fst00944894 7aInsurgency.2fast0(OCoLC)fst00975461 7aKings and rulers.2fast0(OCoLC)fst00987694 7aSuperheroes.2fast0(OCoLC)fst01765254 7aAfrica.2fast0(OCoLC)fst01239509 7asuperhero comics.2aat 7aComics (Graphic works)2fast0(OCoLC)fst01921613 7aGraphic novels.2fast0(OCoLC)fst01726630 7aSuperhero comics.2fast0(OCoLC)fst01922562 7aGraphic novels.2gsafd 7aSuperhero comics.2lcgft 7aComics (Graphic works)2lcgft 7aGraphic novels.2lcgft 7aBandes dessinées de superhéros.2rvmgf 7aBandes dessinées.2rvmgf1 aC926161 Lee, Stan,d1922-2018,ecreator.0n926161111 aC926161 Kirby, Jack,ecreator.0n92616112 aYBP Library ServicesbYANKn13260207 aYBP Library ServicesbYANKn13041443 \ No newline at end of file