
* Add marketplace * Update messages * Extract styles * Update test env * Update config and rename uri * Update template * Trigger CI * Possible fix * Update deploy yml * Add marketplace to staging * Fix responsiveness * Trigger CI * Fix navigation tests (#2081) * fix navigate through shop * wait for progress bar not to exist * simplify code * add wait * Fix navigate through shop (#2076) * fix navigate through shop * wait for progress bar not to exist * simplify code * Refine App about section (#2056) * Trigger CI * Trigger CI * Trigger CI * Trigger CI * Fix app activation/deactivation * Hide configuration url and policy if theres none * Remove about and support links * Remove unused code * Update stories and tests * Update messages * Fix privacy policy * Fix activation and "open app" * Update tests Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
31 lines
1.5 KiB
JavaScript
31 lines
1.5 KiB
JavaScript
export const LEFT_MENU_SELECTORS = {
|
|
catalog: "[data-test='menu-item-label'][data-test-id='catalogue']",
|
|
pages: "[data-test='menu-item-label'][data-test-id='pages']",
|
|
configuration: "[data-test='menu-item-label'][data-test-id='configure']",
|
|
home: "[data-test='menu-item-label'][data-test-id='home']",
|
|
orders: "[data-test='menu-item-label'][data-test-id='orders']",
|
|
discounts: "[data-test='menu-item-label'][data-test-id='discounts']",
|
|
appSection: "[data-test='menu-item-label'][data-test-id='apps_section']",
|
|
app: "[data-test='menu-item-label'][data-test-id='apps']",
|
|
translations: "[data-test='menu-item-label'][data-test-id='translations']",
|
|
customers: "[data-test='menu-item-label'][data-test-id='customers']"
|
|
};
|
|
export const DISCOUNTS_MENU_SELECTORS = {
|
|
sales: "[data-test='submenu-item-label'][data-test-id='sales']",
|
|
vouchers: "[data-test='submenu-item-label'][data-test-id='vouchers']"
|
|
};
|
|
export const ORDERS = {
|
|
orders: "[data-test='submenu-item-label'][data-test-id='orders']",
|
|
draftOrders: "[data-test='submenu-item-label'][data-test-id='order-drafts']"
|
|
};
|
|
export const CATALOG = {
|
|
products: "[data-test='submenu-item-label'][data-test-id='products']",
|
|
categories: "[data-test='submenu-item-label'][data-test-id='categories']",
|
|
collections: "[data-test='submenu-item-label'][data-test-id='collections']"
|
|
};
|
|
|
|
export const APP_MENU_SELECTORS = {
|
|
app: "[data-test='submenu-item-label'][data-test-id='apps']"
|
|
};
|
|
|
|
export const appCommonSelector = "[data-test-id*='apps']";
|