From 213e10bba86fd5b30993cebce34c342a2cd8405d Mon Sep 17 00:00:00 2001 From: Tomasz Szymanski Date: Tue, 6 Apr 2021 14:25:56 +0200 Subject: [PATCH] Fix cypress tests --- cypress/apiRequests/Order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/apiRequests/Order.js b/cypress/apiRequests/Order.js index fc9aa9009..454b96cc4 100644 --- a/cypress/apiRequests/Order.js +++ b/cypress/apiRequests/Order.js @@ -11,7 +11,7 @@ export function markOrderAsPaid(orderId) { export function addProductToOrder(orderId, variantId, quantity = 1) { const mutation = `mutation{ - draftOrderLinesCreate(id:"${orderId}", input:{ + orderLinesCreate(id:"${orderId}", input:{ quantity:${quantity} variantId: "${variantId}" }){