
* test plan for sales - discounts * create sale * passing tests for sales * tests for collections * remove eslint diable in sales tests * remove eslint-disable * move shared selectors * move shared selectors * fix indentation in requests * add formatDate function * remove moment * remove moment
12 lines
354 B
JavaScript
12 lines
354 B
JavaScript
export const urlList = {
|
|
apiUri: Cypress.env("API_URI"),
|
|
channels: "channels/",
|
|
configuration: "configuration/",
|
|
homePage: "/",
|
|
orders: "orders/",
|
|
products: "products/",
|
|
warehouses: "warehouses/",
|
|
sales: "discounts/sales/",
|
|
collections: "collections/"
|
|
};
|
|
export const productDetailsUrl = productId => `${urlList.products}${productId}`;
|