
* remove classes in shipping & products utils * remove classes * add tests plans * add const * tests for shipping methods * test for shipping * test for shipping * tests for shipping * install eslint-plugin-chai-friendly * update stories * add missing imports
15 lines
454 B
JavaScript
15 lines
454 B
JavaScript
export const urlList = {
|
|
apiUri: Cypress.env("API_URI"),
|
|
channels: "channels/",
|
|
configuration: "configuration/",
|
|
draftOrders: "orders/drafts/",
|
|
homePage: "/",
|
|
orders: "orders/",
|
|
products: "products/",
|
|
warehouses: "warehouses/",
|
|
shippingMethods: "shipping/",
|
|
sales: "discounts/sales/",
|
|
collections: "collections/",
|
|
vouchers: "discounts/vouchers/"
|
|
};
|
|
export const productDetailsUrl = productId => `${urlList.products}${productId}`;
|