Fix for create and updateVouchers tests (#3056)
* remove find(input) and fix checkIfDataAreNotNull place in updatevouchers * restore find input
This commit is contained in:
parent
c8bb645ae8
commit
e4db92be74
2 changed files with 5 additions and 6 deletions
|
@ -64,11 +64,6 @@ describe("As an admin I want to create voucher", () => {
|
|||
});
|
||||
},
|
||||
);
|
||||
cy.checkIfDataAreNotNull({
|
||||
createdChannel,
|
||||
dataForCheckout,
|
||||
defaultChannel,
|
||||
});
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
|
|
|
@ -51,8 +51,12 @@ describe("As an admin I want to update vouchers", () => {
|
|||
shippingMethodName: shippingMethodResp.name,
|
||||
auth: "token",
|
||||
};
|
||||
cy.checkIfDataAreNotNull({
|
||||
dataForCheckout,
|
||||
defaultChannel,
|
||||
product,
|
||||
});
|
||||
},
|
||||
cy.checkIfDataAreNotNull({ dataForCheckout, defaultChannel, product }),
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue