diff --git a/scripts/admin-test-env-modules/dropship-pallet-matrix-contract.test.mjs b/scripts/admin-test-env-modules/dropship-pallet-matrix-contract.test.mjs index d446c9f95..157ce23ef 100644 --- a/scripts/admin-test-env-modules/dropship-pallet-matrix-contract.test.mjs +++ b/scripts/admin-test-env-modules/dropship-pallet-matrix-contract.test.mjs @@ -251,4 +251,5 @@ test('overseas receipt uses scoped PDA identity and scans each physical pallet o assert.match(source, /Number\(inbound.receivedPackages\) === item.expectedCartonMarks.length/) assert.match(source, /completed.status === 'COMPLETED'/) assert.match(source, /fullFlowVerified: false/) + assert.match(source, /stage = 'PHYSICAL_CARTON_OUTBOUND_COMPLETED'[\s\S]*?fullFlowVerified = true/) }) diff --git a/scripts/admin-test-env-modules/dropship-pallet-matrix.mjs b/scripts/admin-test-env-modules/dropship-pallet-matrix.mjs index 7c4a4b24e..cdde8ec20 100644 --- a/scripts/admin-test-env-modules/dropship-pallet-matrix.mjs +++ b/scripts/admin-test-env-modules/dropship-pallet-matrix.mjs @@ -644,6 +644,7 @@ async function runWorkflow(context, stopBeforeOverseasPda, mixedContainer = fals await receiveOverseas(group) } context.createdResources.dropshipPalletMatrix.stage = 'PHYSICAL_CARTON_OUTBOUND_COMPLETED' + context.createdResources.dropshipPalletMatrix.fullFlowVerified = true return } if (mixedContainer) {