diff --git a/packages/dev-server/load-testing/scripts/search-and-checkout.js b/packages/dev-server/load-testing/scripts/search-and-checkout.js index 11b16b6d0c..78cb2b5918 100644 --- a/packages/dev-server/load-testing/scripts/search-and-checkout.js +++ b/packages/dev-server/load-testing/scripts/search-and-checkout.js @@ -31,7 +31,7 @@ export default function() { const data = getShippingMethodsQuery.post().data; const result = completeOrderMutation.post({ id: data.eligibleShippingMethods[0].id }).data; check(result, { - 'Order completed': r => r.addPaymentToOrder.state === 'PaymentSettled', + 'Order completed': r => r.addPaymentToOrder.state === 'PaymentAuthorized', }); }