Add karate tests for updating orders data after inventory ownership changes

Description

Purpose/overview:

We need to cover with karate tests the following cross tenants update ownersip scenarios:

  • Change ownership of holding from tenantA to tenantB in Inventory. In this case related pieces should have tenantB populates as receivingTenantId. Also Po Line locations that have the same holdingIds should be populated with tenantB as tenantId

  • Change ownership of item from tenantA to tenantB in Inventory. In this case related pieces should have tenantB populated as receivingTenantId, also pieces should have new holdingId populated.

Existing karate test that shows how to update ownership: https://github.com/folio-org/folio-integration-tests/blob/master/mod-inventory/src/main/resources/folijet/mod-inventory/features/consortia/features/update-ownership.feature

We need to cover with karate tests the following instance/holding updates accross single tenant:

  • Move item from one holding to another in scope of single tenant. In this case related piece should have holdingId updated.

  • Move holding from one instance to another. In this case related po line should have new instanceId populated, related Title also should have new instanceId populated. All holdings connected to the Po Line should have updated instanceId.

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Serhii_Nosko October 23, 2024 at 6:33 AM

Karate tests were implemented in scope of https://github.com/folio-org/folio-integration-tests/pull/1567/files

Looks good, closing this ticket

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Thunderjet

Release

Not For Release

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 13, 2024 at 8:00 AM
Updated October 23, 2024 at 6:33 AM
Resolved October 23, 2024 at 6:33 AM
TestRail: Cases
TestRail: Runs