NFR: Karate API integration tests for key Data Import functionality (Nolana R3 2022)
Description
Priority
Fix versions
Development Team
Folijet
Assignee

Solution Architect
None
NoneParent Field Value
None
Parent Status
None
continues
defines
is defined by
Checklist
hideTestRail: Results
Activity
Show:
Done
Details
Reporter
Taisiya TrunovaTaisiya TrunovaPO Rank
104Front End Estimate
Out of scopeBack End Estimate
XL < 15 daysBack End Estimator
Kateryna SenchenkoKateryna SenchenkoBack-End Confidence factor
90%Release
Nolana (R3 2022)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Reporter

PO Rank
104
Front End Estimate
Out of scope
Back End Estimate
XL < 15 days
Back End Estimator

Back-End Confidence factor
90%
Release
Nolana (R3 2022)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 22, 2022 at 7:47 PM
Updated November 30, 2023 at 4:42 PM
Resolved November 29, 2022 at 11:53 PM
TestRail: Cases
TestRail: Runs
Some Karate API automated test writing may move from Morning Glory to here.
Review whether any of these need to move out to Orchid; otherwise try to finish Karate tech debt in Nolana
Any Karate work for new functionality is accounted for in the feature for that new functionality, so not adding to this tech debt
=====================================================
Karate test tech debt should only take 15% of Folijet's capacity. Any beyond that, move to Nolana
Feature to create integration tests for main workflows in data import and basic API tests to cover data import API with Karate tests. This feature covers work done in Morning Glory. Allows for testing integration between modules on live environment; test all endpoints.
May finish the Karate tech debt in Morning Glory; if not, create a Nolana feature and decide which will move to it
Scope for Nolana
Finish API tests for mod-data-import-converter-storage
Cover with API tests mod-source-record-manager and mod-source-record-storage
Add integrations tests for MARC Bib update imports with match on location
Add integrations tests for MARC Bib update imports with match on identifier type and value
Add integration test for OCLC import
Add integration tests for EDIFACT imports with multiple fields mapping into 1 invoice field with space or hyphen
Add additional checks for existing integration flows (more detailed mapping verification, Source values, etc.)
Within the tests:
Will need to set up necessary default (tenant-specific) data
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
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