31 lines
1.3 KiB
JavaScript
31 lines
1.3 KiB
JavaScript
export const LEFT_MENU_SELECTORS = {
|
|
catalog: "[data-test-id='menu-item-label-catalogue']",
|
|
pages: "[data-test-id='menu-item-label-pages']",
|
|
configuration: "[data-test-id='menu-item-label-configure']",
|
|
home: "[data-test-id='menu-item-label-home']",
|
|
orders: "[data-test-id='menu-item-label-orders']",
|
|
discounts: "[data-test-id='menu-item-label-discounts']",
|
|
appSection: "[data-test-id='menu-item-label-apps_section']",
|
|
app: "[data-test-id='menu-item-label-apps']",
|
|
translations: "[data-test-id='menu-item-label-translations']",
|
|
customers: "[data-test-id='menu-item-label-customers']",
|
|
};
|
|
export const DISCOUNTS_MENU_SELECTORS = {
|
|
sales: "[data-test-id='submenu-item-label-sales']",
|
|
vouchers: "[data-test-id='submenu-item-label-vouchers']",
|
|
};
|
|
export const ORDERS = {
|
|
orders: "[data-test-id='submenu-item-label-orders']",
|
|
draftOrders: "[data-test-id='submenu-item-label-order-drafts']",
|
|
};
|
|
export const CATALOG = {
|
|
products: "[data-test-id='submenu-item-label-products']",
|
|
categories: "[data-test-id='submenu-item-label-categories']",
|
|
collections: "[data-test-id='submenu-item-label-collections']",
|
|
};
|
|
|
|
export const APP_MENU_SELECTORS = {
|
|
app: "[data-test-id='submenu-item-label-apps']",
|
|
};
|
|
|
|
export const appCommonSelector = "[data-test-id*='apps']";
|