Batch Importer (Bib/Acq) (UXPROD-47)

[UXPROD-3121] NFR: Create integration tests for key Data Import functionality using Karate (Lotus) Created: 11/Jun/21  Updated: 28/Feb/22  Resolved: 28/Feb/22

Status: Closed
Project: UX Product
Components: None
Affects versions: None
Fix versions: Lotus (R1 2022)
Parent: Batch Importer (Bib/Acq)

Type: New Feature Priority: P2
Reporter: Taisiya Trunova Assignee: Ann-Marie Breaux (Inactive)
Resolution: Done Votes: 0
Labels: NFR, data-import, epam-folijet, quality_control, tech-debt, testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
is blocked by FAT-1054 Check that karate tests run correctly Closed
Continues
continues UXPROD-2697 NFR: Create integration tests for key... Closed
is continued by UXPROD-3421 NFR: Create integration tests for key... Closed
Defines
defines UXPROD-47 Batch Importer (Bib/Acq) Analysis Complete
is defined by FAT-1054 Check that karate tests run correctly Closed
is defined by FAT-136 Cover mod-data-import-converter-stora... Closed
is defined by FAT-940 mod-data-import: Implement 'Match MAR... Closed
is defined by FAT-941 mod-data-import: Implement 'Match MAR... Closed
is defined by FAT-942 mod-data-import: Implement 'Match MAR... Closed
is defined by FAT-966 Fix data-export step in the mod-data-... Closed
is defined by FAT-1055 Karate tests don't run on Jenkins Closed
is defined by FAT-1102 Investigate and fix issues regarding ... Closed
is defined by FAT-1117 Create Karate test for default mappin... Closed
is defined by FAT-1443 Folijet - Introduce Team Name into Ka... Closed
is defined by MODINV-630 Add delete TENANT endpoint for invent... Closed
is defined by FAT-177 mod-source-record-storage: Create tes... Closed
is defined by FAT-182 mod-source-record-manager: Create tes... Closed
is defined by FAT-184 mod-data-import-converter-storage: Cr... Closed
is defined by FAT-1095 Folijet - Introduce Team Name into Ka... Closed
is defined by FAT-1139 Ensure CREATE flows run on temp env Closed
is defined by FAT-1152 A report is not generated correctly i... Closed
is defined by FAT-1185 Folijet - Introduce Team Name into Ka... Closed
Relates
relates to FAT-2 Karate Setup in the Modules - Tech Debt Open
relates to FAT-152 API Karate tests plan creation and es... Open
relates to FAT-892 API Karate tests implementation - Tec... Open
Release: Lotus R1 2022
Epic Link: Batch Importer (Bib/Acq)
Front End Estimate: Out of scope
Back End Estimate: XXL < 30 days
Development Team: Folijet
PO Rank: 99

 Description   

Feature to create integration tests for main workflows in data import. This feature covers work done in Lotus. Allows for testing integration between modules on live environment; test all endpoints; move API tests from modules to these integration tests. Can't really do end to end from uploading file to checking results after import; not supported by Karate

Preliminary estimate 45 days for completing this feature based on team estimation.
Continued from Kiwi UXPROD-2697 Closed

Preparation: Team will allocate time for the following

  • Setup Karate in modules (also link these issues to FAT-2 Open ) - DONE in UXPROD-2697 Closed
  • Define test plans (also link these issues to FAT-152 Open )
  • Implement Karate tests (also link these issues to FAT-892 Open )

https://folio-org.atlassian.net/wiki/display/FOLIJET/Karate+API+Integration+Testing

Scope for Lotus

  • Additional update workflows that were moved from Kiwi (so that we could add EDIFACT coverage into Kiwi)
  • Field protections and overriding field protections
  • Update only holdings and/or item based on MARC bib import
  • Continue coverage for creating profiles
  • Stretch or future feature for exceptions workflows, e.g.
    • Inventory record not created because mandatory data is missing
      • Holdings: missing permanent location
      • Item: missing permanent loan type, status
    • And document other exception/negative workflows that should be covered

Within the tests:

  • Will need to configure the environment
  • Will need appropriate MARC/EDIFACT files (1 record in the file)
  • Will need the appropriate profiles
  • Test covers the workflow from profile creation through finishing the UI log
  • Reset environment after tests
  • Also need some ramp-up time to learn Karate

Acceptance criteria:


Generated at Fri Feb 09 00:29:31 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.