NFR: Create integration tests for key Data Import functionality using Karate (Lotus)

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

Preparation: Team will allocate time for the following

  • Setup Karate in modules (also link these issues to FAT-2) - DONE in

  • Define test plans (also link these issues to FAT-152)

  • Implement Karate tests (also link these issues to FAT-892)

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:

Priority

Fix versions

Development Team

Folijet

Assignee

Solution Architect

Parent Field Value

None

Parent Status

None

defines

is blocked by

is defined by

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Reporter

PO Rank

99

Front End Estimate

Out of scope

Back End Estimate

XXL < 30 days

Release

Lotus R1 2022

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 11, 2021 at 1:50 PM
Updated February 28, 2022 at 3:56 PM
Resolved February 28, 2022 at 3:56 PM
TestRail: Cases
TestRail: Runs