# Логин блок
# --------------------------------------------------------

login_block = '.login-block'
user_name = '#txtUserName'
user_password = '#txtPassword'
button_login = '.btn-login'

# Мнемосхемы
# ---------------------------------------------------------

# Кнопки в верхнем меню
button_a = '.custom-menu-submenu li[data-path$=A]'
button_b = '.custom-menu-submenu li[data-path$=B]'
button_c = '.custom-menu-submenu li[data-path$=C]'
button_d = '.custom-menu-submenu li[data-path$=D]'
button_button = '.custom-menu-submenu li[data-path$=Button]'
button_indusoft_button = 'h1.logo'
button_pmm = '.custom-swiper.main-menu-swiper li[data-path$=PMM'
button_profile = '.profile'
button_logout = '#logoutForm'
button_tl = '.custom-menu-submenu li[data-path$=TL]'

# Переходы по уровням
level1 = '.custom-menu-submenu a[data-path$=Уровень1]'
level2 = '.custom-menu-submenu a[data-path$=Уровень2]'
level3 = '.custom-menu-submenu a[data-path$=Уровень3]'
level4 = '.custom-menu-submenu a[data-path$=Уровень4]'
level5 = '.custom-menu-submenu a[data-path$=Уровень5]'

# Кнопки открытия мнемосхем
af150 = '.custom-menu-submenu li[data-path$=AF150]'
pi150 = '.custom-menu-submenu li[data-path$=PI150]'
smart_trend30 = '.custom-menu-submenu li[data-path$=SmartTrend]'
pi_smart = '.custom-menu-submenu li[data-path$=Pi_smart]'
zone_maker_attach = '.custom-menu-submenu li[data-path$=ZoneMaker_attach]'
pmm_vidjet = '.custom-menu-submenu li[data-path$=PMM_Vidjet]'
pmm_grid_control = '.custom-menu-submenu li[data-path$=PmmGridControl]'


# Элемент из таблицы 150 элементов
shape_1_1_text_result = '#shape1-1 > text'

# Загрузка элемента в мнемосхеме smart_trend30
smart30_result = 'div[data-highcharts-chart="0"]'

# Загрузка элемента из zone_maker_attach и button
zone_and_button_result = '#shape8-19 > text'

# Загрузка элемента из PmmGridControl
pmm_grid_control_result = '.pmmgridcontrol-body .pmmgc-row:nth-child(1) > g:nth-child(3) > text > tspan'

# Загрузка элементов PmmVidjet
pmm_vidjet_result = '#shape1-1 text'

# PMM
# ---------------------------------------------------------
radio_dis_log = 'input[type=radio][value*="Диспетчерский журнал"]'
button_select = '.work-mode-form.ng-valid.ng-dirty.ng-valid-parse button'
pmm_open_table = '.k-grid-content[style*=height] .k-master-row.ng-scope.additional-border:nth-child(1)'
big_loader = '.big-loader'
event_card_close_button = '.popup__body a[ng-click*="closeDetailPopup"]'
pmm_start_date_picker = '#startDatePicker'
time_button = '.time-button>button'
circle_loader = '#circle-loader'
npp_button = '#atp-treelist ul:nth-child(1) > li:nth-child(1)>div'
dropdown_button = '#atp-treelist ul:nth-child(1) > li:nth-child(1)>div>span[role=presentation]'
scope_button = '.k-content.ng-scope button[icon*=search]'
kvit_events_button = '.swiper-wrapper > div:nth-child(3) > div'
ended_events_button = '.swiper-wrapper > div:nth-child(2) > div > span.summary-item-title.ng-binding'

# TL
# ---------------------------------------------------------
checkbox_wrap = 'th.k-header>.checkbox-wrap.small'
tl_open_table = '.k-virtual-scrollable-wrap table'
add_events_button = '#addEventBtnId'
downtime_button = '.elem.ng-scope>a'
tl_event_select_button = '#subdivivsion input[type=button]'
npp_checkbox = '.k-top.k-top.ng-scope .k-in label>span'
tl_close_window_select = 'span[ng-click="closeWindowSelect()"]'
tl_save_button = '.ui-button-text[ng-click*="saveAndCloseEvent()"]'
tl_table_element = '.k-virtual-scrollable-wrap table> tbody > tr:nth-child(1) > td:nth-child(1)'
tl_close_window_element = '.ui-button-text[ng-click="closeWindow($event)"]'
tl_date_filter = '#isDateFilterAvaibleId'
tl_time_from_field = '#trend-settings-time-from'
tl_apply_date_time = '#applyDateTimeBtnId'
