Details
-
New Feature
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
Lotus R1 2022
-
Out of scope
-
XXL < 30 days
-
Folijet
-
-
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
Preparation: Team will allocate time for the following
- Setup Karate in modules (also link these issues to FAT-2) - DONE in
UXPROD-2697 - Define test plans (also link these issues to FAT-152)
- Implement Karate tests (also link these issues to FAT-892)
https://wiki.folio.org/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
- Inventory record not created because mandatory data is missing
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:
- API Tests are created at https://github.com/folio-org/folio-integration-tests
- Test run results are visible in TestRail: https://foliotest.testrail.io/index.php?/suites/overview/19
- Automated regular runs are executed at https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-integration/
- Team's DoD updated to include API Karate tests integrated with TestRail
TestRail: Results
Attachments
Issue Links
- continues
-
UXPROD-2697 NFR: Create integration tests for key Data Import functionality using Karate (Kiwi)
-
- Closed
-
- defines
-
UXPROD-47 Batch Importer (Bib/Acq)
-
- Analysis Complete
-
- is blocked by
-
FAT-1054 Check that karate tests run correctly
-
- Closed
-
- is continued by
-
UXPROD-3421 NFR: Create integration tests for key Data Import functionality using Karate (Morning Glory)
-
- Closed
-
- is defined by
-
FAT-136 Cover mod-data-import-converter-storage with API tests
-
- Closed
-
-
FAT-177 mod-source-record-storage: Create test plan to cover functionality with API Karate test
-
- Closed
-
-
FAT-182 mod-source-record-manager: Create test plan to cover functionality with API Karate test
-
- Closed
-
-
FAT-184 mod-data-import-converter-storage: Create test plan to cover functionality with API Karate test
-
- Closed
-
-
FAT-940 mod-data-import: Implement 'Match MARC-to-MARC and update Instances, Holdings, and Items' 2 scenario - INTEGRATION
-
- Closed
-
-
FAT-941 mod-data-import: Implement 'Match MARC-to-MARC and update Instances, Holdings, and Items' 3 scenario - INTEGRATION
-
- Closed
-
-
FAT-942 mod-data-import: Implement 'Match MARC-to-MARC and update Instances, Holdings, and Items' 4 scenario - INTEGRATION
-
- Closed
-
-
FAT-966 Fix data-export step in the mod-data-import tests
-
- Closed
-
-
FAT-1054 Check that karate tests run correctly
-
- Closed
-
-
FAT-1055 Karate tests don't run on Jenkins
-
- Closed
-
-
FAT-1095 Folijet - Introduce Team Name into Karate API tests
-
- Closed
-
-
FAT-1102 Investigate and fix issues regarding data-import-integration tests
-
- Closed
-
-
FAT-1117 Create Karate test for default mapping rule updates
-
- Closed
-
-
FAT-1139 Ensure CREATE flows run on temp env
-
- Closed
-
-
FAT-1152 A report is not generated correctly in Karate tests
-
- Closed
-
-
FAT-1185 Folijet - Introduce Team Name into Karate API tests PR
-
- Closed
-
-
FAT-1443 Folijet - Introduce Team Name into Karate API tests PR for SRS and SRM
-
- Closed
-
-
MODINV-630 Add delete TENANT endpoint for inventory module
-
- Closed
-
- relates to
-
FAT-2 Karate Setup in the Modules - Tech Debt
-
- Open
-
-
FAT-152 API Karate tests plan creation and estimate - Tech Debt
-
- Open
-
-
FAT-892 API Karate tests implementation - Tech Debt
-
- Open
-