From bf8256a8175631e333c3831efa082e275747e9b4 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Thu, 17 Sep 2026 10:21:46 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=A0=87=E8=AE=B0=E7=89=A9=E7=90=86?= =?UTF-8?q?=E7=AE=B1=E5=85=A8=E9=93=BE=E8=B7=AF=E9=AA=8C=E6=94=B6=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dropship-pallet-matrix-contract.test.mjs | 1 + scripts/admin-test-env-modules/dropship-pallet-matrix.mjs | 1 + 2 files changed, 2 insertions(+) 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) {