saleor-dashboard/cypress/utils/discounts/vouchersUtils.js
Karolina 0da6012bc4
Saleor 1746 tests for vouchers (#1014)
* tests for vouchers

* test for vouchers

* test for vouchers

* add getDefaultAddress
2021-03-23 11:15:39 +01:00

8 lines
226 B
JavaScript

import {
deleteVouchers,
getVouchers
} from "../../apiRequests/Discounts/Vouchers";
export function deleteVouchersStartsWith(startsWith) {
cy.deleteElementsStartsWith(deleteVouchers, getVouchers, startsWith, "code");
}