super-productivity/e2e/e2e.const.ts
2025-05-10 15:18:17 +02:00

24 lines
637 B
TypeScript

export const BASE = 'http://localhost:4200';
export const WORK_VIEW_URL = `${BASE}/`;
const ADD_TASK_GLOBAL_SEL = 'add-task-bar.global input';
const READY_TO_WORK_BTN = '.ready-to-work-btn';
const ROUTER_WRAPPER = '.route-wrapper';
const SIDENAV = 'side-nav';
const EXPAND_TAG_BTN = `${SIDENAV} .tags .expand-btn`;
const TAGS = `${SIDENAV} section.tags`;
const FINISH_DAY_BTN = '.e2e-finish-day';
const WORK_VIEW = 'work-view';
const TASK_LIST = 'task-list';
export const cssSelectors = {
ADD_TASK_GLOBAL_SEL,
EXPAND_TAG_BTN,
READY_TO_WORK_BTN,
ROUTER_WRAPPER,
SIDENAV,
TAGS,
FINISH_DAY_BTN,
WORK_VIEW,
TASK_LIST,
};