Commit 9279c1cb7fc584030d05ebb4cb0c99bbe929f443

Authored by Playtenders
1 parent f401af8d

buget.breakdown

@@ -183,6 +183,9 @@ Resource playtender_tende @@ -183,6 +183,9 @@ Resource playtender_tende
183 [Documentation] Отримати значення поля field_name з предмету з item_id в описі для тендера tender_uaid. 183 [Documentation] Отримати значення поля field_name з предмету з item_id в описі для тендера tender_uaid.
184 184
185 open tender page by uaid ${tender_uaid} 185 open tender page by uaid ${tender_uaid}
  186 + capture page screenshot
  187 + #перейти на соответствующий предмет в первом лоте, например, первый
  188 + run keyword and ignore error click visible element ${tender_lot_1_tabs_item_btn_locator}
186 ${field_name} = set variable if ${NUMBER_OF_LOTS} == 0 tender.item.${field_name}.value tender.lot.item.${field_name}.value 189 ${field_name} = set variable if ${NUMBER_OF_LOTS} == 0 tender.item.${field_name}.value tender.lot.item.${field_name}.value
187 ${value} = get field_value by field_name on opened page ${field_name} 190 ${value} = get field_value by field_name on opened page ${field_name}
188 [Return] ${value} 191 [Return] ${value}
@@ -211,6 +214,8 @@ Resource playtender_tende @@ -211,6 +214,8 @@ Resource playtender_tende
211 [Documentation] Отримати значення поля field_name з лоту з lot_id в описі для тендера tender_uaid. 214 [Documentation] Отримати значення поля field_name з лоту з lot_id в описі для тендера tender_uaid.
212 215
213 open tender page by uaid ${tender_uaid} 216 open tender page by uaid ${tender_uaid}
  217 + #перейти на соответствующий лот, например, первый
  218 + click visible element ${tender_lot_1_tabs_item_btn_locator}
214 ${field_name} = set variable tender.lot.${field_name}.value 219 ${field_name} = set variable tender.lot.${field_name}.value
215 ${value} = get field_value by field_name on opened page ${field_name} 220 ${value} = get field_value by field_name on opened page ${field_name}
216 [Return] ${value} 221 [Return] ${value}
@@ -232,6 +237,48 @@ Resource playtender_tende @@ -232,6 +237,48 @@ Resource playtender_tende
232 ################################################### FEATIRE KEYWORDS ############################################# 237 ################################################### FEATIRE KEYWORDS #############################################
233 ######################################################################################################################## 238 ########################################################################################################################
234 239
  240 +Додати неціновий показник на тендер
  241 + [Arguments] ${username} ${tender_uaid} ${feature}
  242 + [Documentation] Додати дані feature про неціновий показник до тендера tender_uaid.
  243 +
  244 +# ${tender_data} = generate dictionary from field path and value ${fieldname} ${fieldvalue}
  245 + open tender form by uaid ${tender_uaid}
  246 + fill tender form features2 ${feature} ${tender_form_general_panel_update_feature_btn_locator}
  247 + save tender form and wait synchronization
  248 +# add feature ${feature}
  249 +
  250 +Додати неціновий показник на предмет
  251 + [Arguments] ${username} ${tender_uaid} ${feature} ${item_id}
  252 + [Documentation] Додати дані feature про неціновий показник до предмету з item_id в описі для тендера tender_uaid.
  253 +
  254 + open tender form by uaid ${tender_uaid}
  255 + fill tender form features2 ${feature} ${tender_form_item_panel_add_feature_btn_locator}
  256 + save tender form and wait synchronization
  257 +
  258 +Додати неціновий показник на лот
  259 + [Arguments] ${username} ${tender_uaid} ${feature} ${lot_id}
  260 + [Documentation] Додати дані feature про неціновий показник до лоту з lot_id в описі для тендера tender_uaid.
  261 +
  262 + open tender form by uaid ${tender_uaid}
  263 + fill tender form features2 ${feature} ${tender_form_lot_panel_update_feature_btn_locator}
  264 + save tender form and wait synchronization
  265 +
  266 +Отримати інформацію із нецінового показника
  267 + [Arguments] ${username} ${tender_uaid} ${feature_id} ${field_name}
  268 + [Documentation] Отримати значення поля field_name з нецінового показника з feature_id в описі для тендера tender_uaid.
  269 +
  270 + open tender form by uaid ${tender_uaid}
  271 + ${value} = get feature information ${feature_id} ${field_name}
  272 +
  273 +Видалити неціновий показник
  274 + [Arguments] ${username} ${tender_uaid} ${feature_id} ${obj_id}=Empty
  275 + [Documentation] Видалити неціновий показник з feature_id в описі для тендера tender_uaid.
  276 +
  277 + open tender form by uaid ${tender_uaid}
  278 + click visible element ${tender_form_general_panel_update_feature_btn_locator}
  279 + submit form and check result ${tender_feature_dell_btn_locator} ${tender_feature_form_submit_success_msg} ${tender_feature_dell_submit_btn_locator}
  280 +
  281 +
235 ######################################################################################################################## 282 ########################################################################################################################
236 ################################################### END FEATIRE KEYWORDS ############################################# 283 ################################################### END FEATIRE KEYWORDS #############################################
237 ######################################################################################################################## 284 ########################################################################################################################
@@ -75,8 +75,11 @@ get value by locator on opened page @@ -75,8 +75,11 @@ get value by locator on opened page
75 [Arguments] ${locator} ${type}=${None} 75 [Arguments] ${locator} ${type}=${None}
76 [Documentation] отримує значення з відповідного локатору і якщо потрібно перетворює до відповідного типу 76 [Documentation] отримує значення з відповідного локатору і якщо потрібно перетворює до відповідного типу
77 77
  78 + capture page screenshot
78 Run Keyword And Ignore Error __private__set_element_visible_in_browser_area ${locator} 79 Run Keyword And Ignore Error __private__set_element_visible_in_browser_area ${locator}
  80 + capture page screenshot
79 ${value} = get value by locator ${locator} 81 ${value} = get value by locator ${locator}
  82 + capture page screenshot
80 ${value} = convert to specified type ${value} ${type} 83 ${value} = convert to specified type ${value} ${type}
81 [Return] ${value} 84 [Return] ${value}
82 85
@@ -96,6 +99,7 @@ get field_value by field_name on opened page @@ -96,6 +99,7 @@ get field_value by field_name on opened page
96 ${field_type_variable_exists} = run keyword and return status variable should exist ${${field_type_variable_name}} 99 ${field_type_variable_exists} = run keyword and return status variable should exist ${${field_type_variable_name}}
97 ${field_type} = set variable if ${field_type_variable_exists} == ${True} ${${field_type_variable_name}} ${None} 100 ${field_type} = set variable if ${field_type_variable_exists} == ${True} ${${field_type_variable_name}} ${None}
98 ${field_locator} = set variable ${${field_locator_variable_name}} 101 ${field_locator} = set variable ${${field_locator_variable_name}}
  102 + capture page screenshot
99 ${field_value} = get value by locator on opened page ${field_locator} ${field_type} 103 ${field_value} = get value by locator on opened page ${field_locator} ${field_type}
100 [Return] ${field_value} 104 [Return] ${field_value}
101 105
@@ -55,6 +55,10 @@ fill plan form @@ -55,6 +55,10 @@ fill plan form
55 run keyword if condition is not none ${items} fill plan form items ${items} 55 run keyword if condition is not none ${items} fill plan form items ${items}
56 ${buyers} = get from dictionary by keys ${data} buyers 56 ${buyers} = get from dictionary by keys ${data} buyers
57 run keyword if condition is not none ${buyers} fill plan form buyers ${buyers} 57 run keyword if condition is not none ${buyers} fill plan form buyers ${buyers}
  58 +#Пока не передает Дятлов
  59 +# ${budget_breakdowns} = get from dictionary by keys ${data} BudgetBreakdowns
  60 +# run keyword if condition is not none ${budget_breakdowns} fill plan form budgetbreakdowns ${budget_breakdowns}
  61 + fill plan form budgetbreakdowns
58 62
59 fill plan general info 63 fill plan general info
60 [Arguments] ${data} 64 [Arguments] ${data}
@@ -121,6 +125,36 @@ fill buyer form in opened popup @@ -121,6 +125,36 @@ fill buyer form in opened popup
121 ${identifier_id} = get from dictionary by keys ${data} identifier id 125 ${identifier_id} = get from dictionary by keys ${data} identifier id
122 run keyword if condition is not none ${identifier_id} input text to visible input ${buyer_form_popup_identifier_id_input_locator} ${identifier_id} 126 run keyword if condition is not none ${identifier_id} input text to visible input ${buyer_form_popup_identifier_id_input_locator} ${identifier_id}
123 127
  128 +fill plan form budgetbreakdowns
  129 +# [Arguments] ${budgetbreakdowns_attributes_array}
  130 + [Documentation] заповнення Джерел фінансування плану
  131 +
  132 + click visible element ${plan_form_update_budgetbreakdowns_btn_locator}
  133 + wait until popup is visible
  134 +# :FOR ${budgetbreakdowns_attributes} IN @{budgetbreakdowns_attributes_array}
  135 +# \ click visible element ${plan_form_add_budgetbreakdowns_btn_locator}
  136 +# \ wait until page does not contain element ${popup_dynamic_form_loading_element_locator}
  137 +# \ fill budgetbreakdowns form in opened popup ${budgetbreakdowns_attributes}
  138 +# \ submit current visible popup
  139 + click visible element ${plan_form_add_budgetbreakdowns_btn_locator}
  140 + wait until page does not contain element ${popup_dynamic_form_loading_element_locator}
  141 + fill budgetbreakdowns form in opened popup
  142 +# fill budgetbreakdowns form in opened popup ${budgetbreakdowns_attributes}
  143 + submit current visible popup
  144 +
  145 +fill budgetbreakdowns form in opened popup
  146 +# [Arguments] ${data}
  147 + [Documentation] заповнює відкриту форму згідно вказаних даних про Джерела фінансування
  148 +
  149 +# ${title} = get from dictionary by keys ${data} title
  150 +# run keyword if condition is not none ${title} select from visible list by label ${plan_budgetbreakdowns_form_popup_title_input_locator} ${title}
  151 +# ${value_amount} = get from dictionary by keys ${data} value amount
  152 +# run keyword if condition is not none ${value_amount} input number to visible input ${plan_budgetbreakdowns_value_amount_input_locator} ${amount}
  153 + input number to visible input ${plan_budgetbreakdowns_value_amount_input_locator} 56333.77
  154 +# ${description} = get from dictionary by keys ${data} description
  155 +# run keyword if condition is not none ${description} input text to visible input ${plan_budgetbreakdowns_description_input_locator} ${description}
  156 + input text to visible input ${plan_budgetbreakdowns_description_input_locator} description
  157 +
124 save plan form and wait synchronization 158 save plan form and wait synchronization
125 [Documentation] натискає кнопку "Зберегти" і чекає синхронізації плану 159 [Documentation] натискає кнопку "Зберегти" і чекає синхронізації плану
126 160
@@ -22,6 +22,11 @@ ${plan_form_remove_item_btn_locator_tpl} = jquery=#Item @@ -22,6 +22,11 @@ ${plan_form_remove_item_btn_locator_tpl} = jquery=#Item
22 ${plan_form_update_buyer_btn_locator} = jquery=#Buyer .js-form-popup-update 22 ${plan_form_update_buyer_btn_locator} = jquery=#Buyer .js-form-popup-update
23 ${plan_form_submit_btn_locator} = jquery=#plan-form .js-submit-btn 23 ${plan_form_submit_btn_locator} = jquery=#plan-form .js-submit-btn
24 ${plan_created_checker_element_locator} = id=plan-part-pjax 24 ${plan_created_checker_element_locator} = id=plan-part-pjax
  25 +${plan_form_update_budgetbreakdowns_btn_locator} = jquery=#BudgetBreakdowns .js-form-popup-update
  26 +${plan_form_add_budgetbreakdowns_btn_locator} = jquery=#budgetbreakdowns-form-popup a[href*="#add-budgetBreakdowns"]
  27 +${plan_budgetbreakdowns_form_popup_title_input_locator} = jquery=.fancybox-is-open:last .tab-content:first > .tab-pane.active:first [id$="-title"]
  28 +${plan_budgetbreakdowns_value_amount_input_locator} = jquery=.fancybox-is-open:last .tab-content:first > .tab-pane.active:first [id$="-value_amount"]
  29 +${plan_budgetbreakdowns_description_input_locator} = jquery=.fancybox-is-open:last .tab-content:first > .tab-pane.active:first [id$="-description"]
25 30
26 # plan view 31 # plan view
27 ${plan_view_checker_element_locator} = id=plan-general-info 32 ${plan_view_checker_element_locator} = id=plan-general-info
@@ -75,7 +75,7 @@ fill tender general info @@ -75,7 +75,7 @@ fill tender general info
75 open popup by btn locator ${plan_form_general_panel_edit_btn_locator} 75 open popup by btn locator ${plan_form_general_panel_edit_btn_locator}
76 ${plan_path} = Get Variable Value ${ARTIFACT_FILE} artifact.yaml 76 ${plan_path} = Get Variable Value ${ARTIFACT_FILE} artifact.yaml
77 ${ARTIFACT} = load_data_from ${plan_path} 77 ${ARTIFACT} = load_data_from ${plan_path}
78 - run keyword if condition is not none ${ARTIFACT.tender_uaid} input text to visible input ${tender_form_general_tender_plan_id_locator} ${ARTIFACT.tender_uaid} 78 + run keyword and ignore error run keyword if condition is not none ${ARTIFACT.tender_uaid} input text to visible input ${tender_form_general_tender_plan_id_locator} ${ARTIFACT.tender_uaid}
79 ${title} = get from dictionary by keys ${data} title 79 ${title} = get from dictionary by keys ${data} title
80 run keyword if condition is not none ${title} input text to visible input ${tender_form_general_tender_title_locator} ${title} 80 run keyword if condition is not none ${title} input text to visible input ${tender_form_general_tender_title_locator} ${title}
81 ${title_en} = get from dictionary by keys ${data} title_en 81 ${title_en} = get from dictionary by keys ${data} title_en
@@ -132,6 +132,11 @@ fill tender general info @@ -132,6 +132,11 @@ fill tender general info
132 ${agreement_duration_days} = get from dictionary by keys ${data} agreementDuration 132 ${agreement_duration_days} = get from dictionary by keys ${data} agreementDuration
133 ${agreement_duration_days1}= Run keyword If '${agreement_duration_days}' != '${None}' split_agreementDuration ${agreement_duration_years} day 133 ${agreement_duration_days1}= Run keyword If '${agreement_duration_days}' != '${None}' split_agreementDuration ${agreement_duration_years} day
134 run keyword if condition is not none ${agreement_duration_days} select from visible list by value ${tender_form_general_agreement_duration_days_input_locator} ${agreement_duration_days1} 134 run keyword if condition is not none ${agreement_duration_days} select from visible list by value ${tender_form_general_agreement_duration_days_input_locator} ${agreement_duration_days1}
  135 +#negotiation
  136 + ${cause} = get from dictionary by keys ${data} cause
  137 + run keyword if condition is not none ${cause} select from visible list by value ${tender_form_general_cause_input_locator} ${cause}
  138 + ${cause_description} = get from dictionary by keys ${data} causeDescription
  139 + run keyword if condition is not none ${cause_description} input text to visible input ${tender_form_general_cause_description_input_locator} ${description}
135 submit current visible popup 140 submit current visible popup
136 141
137 fill tender form items 142 fill tender form items
@@ -206,10 +211,53 @@ fill tender form features @@ -206,10 +211,53 @@ fill tender form features
206 \ fill feature form in opened popup ${feature_attributes} 211 \ fill feature form in opened popup ${feature_attributes}
207 submit current visible popup 212 submit current visible popup
208 213
  214 +fill tender form features2
  215 + [Arguments] ${feature_attributes_array} ${add_btn_locator}
  216 + [Documentation] заповнення нецінові крітерії тендеру
  217 +
  218 + click visible element ${add_btn_locator}
  219 + wait until popup is visible
  220 + click visible element ${tender_form_features_panel_edit_btn_locator}
  221 + wait until page does not contain element ${popup_dynamic_form_loading_element_locator}
  222 + fill feature form in opened popup ${feature_attributes_array}
  223 + submit current visible popup
  224 +
209 fill feature form in opened popup 225 fill feature form in opened popup
210 [Arguments] ${data} 226 [Arguments] ${data}
211 [Documentation] заповнює відкриту форму в активній вкладці згідно вказаних даних 227 [Documentation] заповнює відкриту форму в активній вкладці згідно вказаних даних
212 228
  229 + log many ${data}
  230 + capture page screenshot
  231 + ${title} = get from dictionary by keys ${data} title
  232 + run keyword if condition is not none ${title} input text to exist visible input ${feature_form_popup_title_input_locator} ${title}
  233 + ${description} = get from dictionary by keys ${data} description
  234 + run keyword if condition is not none ${description} input text to exist visible input ${feature_form_popup_description_input_locator} ${description}
  235 + ${title_en} = get from dictionary by keys ${data} title_en
  236 + run keyword if condition is not none ${title_en} input text to exist visible input ${feature_form_popup_title_en_input_locator} ${title_en}
  237 + ${description_en} = get from dictionary by keys ${data} description
  238 + run keyword if condition is not none ${description_en} input text to exist visible input ${feature_form_popup_description_en_input_locator} ${description_en}
  239 + ${options} = Get From Dictionary ${data} enum
  240 + ${count} = Get Length ${options}
  241 + ${ex}= Evaluate ${count} - 1
  242 + : FOR ${INDEX} IN RANGE 0 ${count}
  243 + \ run keyword if condition is not none ${options[${INDEX}].title} input text to exist visible input ${feature_form_popup_enum_title_input_locator} ${options[${INDEX}].title}
  244 + \ run keyword and ignore error input text to exist visible input ${feature_form_popup_enum_title_en_input_locator} test2
  245 +# \ run keyword if condition is not none ${options[${INDEX}].title_en} input text to exist visible input ${feature_form_popup_enum_title_en_input_locator} ${options[${INDEX}].title_en}
  246 + \ ${value} = convert_float_to_string ${options[${INDEX}].value}
  247 + \ ${value} = Convert To Number ${value}
  248 + \ ${value} = multiply_hundred ${value}
  249 + \ ${value} = convert_float_to_string ${value}
  250 + \ run keyword if condition is not none ${options[${INDEX}].value} input text to exist visible input ${feature_form_popup_enum_value_input_locator} ${value}
  251 + \ Continue For Loop If '${INDEX}' == '${ex}'
  252 + \ Run Keyword If ${count} != 1 click visible element ${feature_form_popup_add-enums_btn_locator}
  253 + \ wait until page does not contain element ${popup_dynamic_form_loading_element_locator}
  254 +
  255 +fill feature form in opened popup2
  256 + [Arguments] ${data}
  257 + [Documentation] заповнює відкриту форму в активній вкладці згідно вказаних даних
  258 +
  259 + log many ${data}
  260 + capture page screenshot
213 ${title} = get from dictionary by keys ${data} title 261 ${title} = get from dictionary by keys ${data} title
214 run keyword if condition is not none ${title} input text to exist visible input ${feature_form_popup_title_input_locator} ${title} 262 run keyword if condition is not none ${title} input text to exist visible input ${feature_form_popup_title_input_locator} ${title}
215 ${description} = get from dictionary by keys ${data} description 263 ${description} = get from dictionary by keys ${data} description
@@ -329,7 +377,7 @@ add document in lot @@ -329,7 +377,7 @@ add document in lot
329 capture page screenshot 377 capture page screenshot
330 ${open_form_add_doc_lot_btn_locator} = replace string ${tender_form_lot_panel_add_document_btn_locator_tpl} %lot_id% ${lot_id} 378 ${open_form_add_doc_lot_btn_locator} = replace string ${tender_form_lot_panel_add_document_btn_locator_tpl} %lot_id% ${lot_id}
331 capture page screenshot 379 capture page screenshot
332 - click visible element and wait until page contains element ${open_form_add_doc_lot_btn_locator} 380 + click visible element and wait until page contains element ${open_form_add_doc_lot_btn_locator} jquery=.modal.modal-form.js-form-popup.fancybox-content
333 capture page screenshot 381 capture page screenshot
334 choose file ${add_file_to_form_locator} ${filepath} 382 choose file ${add_file_to_form_locator} ${filepath}
335 wait until page does not contain element ${popup_dynamic_form_loading_element_locator} 383 wait until page does not contain element ${popup_dynamic_form_loading_element_locator}
@@ -90,6 +90,9 @@ ${tender_form_general_max_awards_count_input_locator} = jquery=[id$= @@ -90,6 +90,9 @@ ${tender_form_general_max_awards_count_input_locator} = jquery=[id$=
90 ${tender_form_general_agreement_duration_years_input_locator} = jquery=[id$="form-agreement_duration_years"] 90 ${tender_form_general_agreement_duration_years_input_locator} = jquery=[id$="form-agreement_duration_years"]
91 ${tender_form_general_agreement_duration_months_input_locator} = jquery=[id$="form-agreement_duration_months"] 91 ${tender_form_general_agreement_duration_months_input_locator} = jquery=[id$="form-agreement_duration_months"]
92 ${tender_form_general_agreement_duration_days_input_locator} = jquery=[id$="form-agreement_duration_days"] 92 ${tender_form_general_agreement_duration_days_input_locator} = jquery=[id$="form-agreement_duration_days"]
  93 +#negotiation
  94 +${tender_form_general_cause_input_locator} = jquery=[id$="form-cause"]
  95 +${tender_form_general_cause_description_input_locator} = jquery=[id$="form-cause_description"]
93 96
94 ${tender_form_general_panel_add_feature_btn_locator} = jquery=#collapseGeneral .btn[data-attribute="features"] 97 ${tender_form_general_panel_add_feature_btn_locator} = jquery=#collapseGeneral .btn[data-attribute="features"]
95 ${tender_form_features_panel_edit_btn_locator} = jquery=.fancybox-content [href$="#add-features"] 98 ${tender_form_features_panel_edit_btn_locator} = jquery=.fancybox-content [href$="#add-features"]
@@ -98,10 +101,13 @@ ${feature_form_popup_description_input_locator} = jquery=.fanc @@ -98,10 +101,13 @@ ${feature_form_popup_description_input_locator} = jquery=.fanc
98 ${feature_form_popup_title_en_input_locator} = jquery=.fancybox-is-open .tab-content:first > .tab-pane.active:first [id$="-title_en"]:first 101 ${feature_form_popup_title_en_input_locator} = jquery=.fancybox-is-open .tab-content:first > .tab-pane.active:first [id$="-title_en"]:first
99 ${feature_form_popup_description_en_input_locator} = jquery=.fancybox-is-open .tab-content:first > .tab-pane.active:first [id$="-description_en"]:first 102 ${feature_form_popup_description_en_input_locator} = jquery=.fancybox-is-open .tab-content:first > .tab-pane.active:first [id$="-description_en"]:first
100 ${feature_form_popup_value_input_locator} = jquery=[id$="-value"] 103 ${feature_form_popup_value_input_locator} = jquery=[id$="-value"]
101 -${feature_form_popup_add-enums_btn_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .btn-add a[href$="#add-enums"]  
102 -${feature_form_popup_enum_title_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:first > .tab-pane.active input[id$="-title"]  
103 -${feature_form_popup_enum_title_en_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:first > .tab-pane.active input[id$="-title_en"]  
104 -${feature_form_popup_enum_value_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:first > .tab-pane.active input[id$="-value"] 104 +${feature_form_popup_add-enums_btn_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .btn-add a[href$="#add-enums"]:last
  105 +${feature_form_popup_enum_title_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:last > .tab-pane.active input[id$="-title"]
  106 +${feature_form_popup_enum_title_en_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:last > .tab-pane.active input[id$="-title_en"]
  107 +${feature_form_popup_enum_value_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:last > .tab-pane.active input[id$="-value"]
  108 +#${feature_form_popup_enum_title_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:first > .tab-pane.active input[id$="-title"]
  109 +#${feature_form_popup_enum_title_en_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:first > .tab-pane.active input[id$="-title_en"]
  110 +#${feature_form_popup_enum_value_input_locator} = jquery=.fancybox-is-open .enums-dynamic-forms-wrapper .tab-content:first > .tab-pane.active input[id$="-value"]
105 111
106 ${tender_form_general_panel_add_document_btn_locator} = jquery=#collapseGeneral .btn[data-attribute="documents"] 112 ${tender_form_general_panel_add_document_btn_locator} = jquery=#collapseGeneral .btn[data-attribute="documents"]
107 ${tender_form_general_panel_edit_add_document_btn_locator} = jquery=div[data-form="general-form-popup"] .js-form-hidden-popup-panel:last a.btn-update 113 ${tender_form_general_panel_edit_add_document_btn_locator} = jquery=div[data-form="general-form-popup"] .js-form-hidden-popup-panel:last a.btn-update
@@ -134,7 +140,8 @@ ${lot_form_popup_minimalstep_amount_input_locator} = jquery=.fanc @@ -134,7 +140,8 @@ ${lot_form_popup_minimalstep_amount_input_locator} = jquery=.fanc
134 ${lot_form_popup_min_step_percentage_amount_input_locator} = jquery=.fancybox-is-open [id$="-min_step_percentage"] 140 ${lot_form_popup_min_step_percentage_amount_input_locator} = jquery=.fancybox-is-open [id$="-min_step_percentage"]
135 141
136 ${tender_form_lot_panel_add_feature_btn_locator} = jquery=#Lots .js-form-popup-panel-list:first > .js-form-popup-panel-item:last .actions-wrapper .btn[data-attribute="features"] 142 ${tender_form_lot_panel_add_feature_btn_locator} = jquery=#Lots .js-form-popup-panel-list:first > .js-form-popup-panel-item:last .actions-wrapper .btn[data-attribute="features"]
137 -${tender_form_lot_panel_add_document_btn_locator_tpl} = jquery=#Lots #collapseLots div[data-title*="%lot_id%"] .actions-wrapper a.js-btn-add-form-popup-panel:last' 143 +${tender_form_lot_panel_update_feature_btn_locator} = jquery=#Lots #collapseLots0 .js-form-popup-panel-list:first .js-form-hidden-popup-panel:nth(0) a.js-form-popup-update
  144 +${tender_form_lot_panel_add_document_btn_locator_tpl} = jquery=#Lots #collapseLots div[data-title*="%lot_id%"] .actions-wrapper a.js-btn-add-form-popup-panel:last
138 ${tender_form_lot_panel_edit_add_document_btn_locator} = jquery=#Lots #collapseLots div[data-title*="%lot_id%"] .js-form-hidden-popup-panel:last .actions-wrapper a.js-form-popup-update 145 ${tender_form_lot_panel_edit_add_document_btn_locator} = jquery=#Lots #collapseLots div[data-title*="%lot_id%"] .js-form-hidden-popup-panel:last .actions-wrapper a.js-form-popup-update
139 146
140 #${tender_form_milestones_percentage_locator} = jquery=.js-item.tab-pane.active [id$="-percentage"] 147 #${tender_form_milestones_percentage_locator} = jquery=.js-item.tab-pane.active [id$="-percentage"]
@@ -199,7 +206,63 @@ ${tender_tenderPeriod_endDate_value_locator} = jquery=#tend @@ -199,7 +206,63 @@ ${tender_tenderPeriod_endDate_value_locator} = jquery=#tend
199 206
200 ${tender_items_0_description_value_locator} = jquery=#tender-part-pjax .info-row.tender-period-end-date.hidden 207 ${tender_items_0_description_value_locator} = jquery=#tender-part-pjax .info-row.tender-period-end-date.hidden
201 208
  209 +#lots
  210 +${tender_lot_1_tabs_item_btn_locator} jquery=#lots .tabs__item:first > a
  211 +${tender_lot_2_tabs_item_btn_locator} jquery=#lots .tabs__item:nth(1) > a
  212 +${tender_lot_3_tabs_item_btn_locator} jquery=#lots .tabs__item:nth(2) > a
  213 +${tender_lot_title_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue.hidden
  214 +${tender_lot_value_amount_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  215 +${tender_lot_value_amount_value_type} = float
  216 +${tender_lot_lots_0_description_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue.hidden
  217 +${tender_lot_value_currency_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  218 +${tender_lot_value_value_added_tax_included_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  219 +${tender_lot_minimalStep_amount_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  220 +${tender_lot_minimalStep_amount_value_type} = float
  221 +${tender_lot_lot_0_minimal_step_amount_currency_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  222 +${tender_lot_lot_0_minimal_step_amount_value_added_tax_included_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
202 223
  224 +${tender_lot_0_title_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue.hidden
  225 +${tender_lot_0_value_amount_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  226 +${tender_lot_0_value_amount_value_type} = float
  227 +${tender_lot_0_lots_0_description_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible > span div.textvalue.hidden
  228 +${tender_lot_0_value_currency_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  229 +${tender_lot_0_value_value_added_tax_included_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  230 +${tender_lot_0_minimal_step_amount_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  231 +${tender_lot_0_minimal_step_amount_value_type} = float
  232 +${tender_lot_0_lot_0_minimal_step_amount_currency_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
  233 +${tender_lot_0_lot_0_minimal_step_amount_value_added_tax_included_value_locator} = jquery=#lots .tabs__content .tabs__pane--visible .budget-source.hidden
203 234
  235 +#item
  236 +${tender_item_1_tabs_item_btn_locator} jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0)
  237 +${tender_item_2_tabs_item_btn_locator} jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(1)
  238 +${tender_item_3_tabs_item_btn_locator} jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(2)
204 239
  240 +${tender_item_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .textvalue.hidden
  241 +${tender_item_description_ru_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper [id$='-description_ru']
  242 +${tender_item_description_en_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper [id$='-description_en']
  243 +${tender_item_quantity_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .quantity-source
  244 +${tender_item_quantity_value_type} = float
  245 +${tender_item_unit_title_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .unit-title-source
  246 +${tender_item_unit_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .unit-code-source
  247 +${tender_item_classification_scheme_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-scheme
  248 +${tender_item_classification_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-code
  249 +${tender_item_classification_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .main-classification-description
  250 +${tender_item_additional_classification_scheme_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-scheme
  251 +${tender_item_additional_classification_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-code
  252 +${tender_item_additional_classification_description_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .additional-classification-description
  253 +${tender_item_delivery_region_id_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-country
  254 +${tender_item_delivery_postal_code_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-postalcode
  255 +${tender_item_delivery_locality_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-locality
  256 +${tender_item_delivery_street_address_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-street-address
  257 +${tender_item_delivery_start_date_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-start-date-source
  258 +${tender_item_delivery_end_date_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-end-date-source
  259 +${tender_item_delivery_latitude_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-latitude
  260 +${tender_item_delivery_longitude_value_locator} = jquery=.tabs__content .tabs__pane--visible .pseudo-table__row.item-item-wrapper:nth(0) .item-info-wrapper.hidden.info-wrapper .delivery-longitude
205 261
  262 +
  263 +#add feature
  264 +#${tender_form_features_panel_edit_btn_locator} = jquery=.fancybox-content [href$="#add-features"]
  265 +${tender_form_general_panel_update_feature_btn_locator} = jquery=#collapseGeneral .js-form-popup-update:nth(0)
  266 +${tender_feature_dell_btn_locator} = jquery=.fancybox-is-open .nav.nav-pills.js-nav.allow-empty .fa.fa-times:last
  267 +${tender_feature_form_submit_success_msg} = Ви впевнені що бажаєте видалити поточний неціновий критерій?
  268 +${tender_feature_dell_submit_btn_locator} = jquery=.animated-content .js-btn-confirm
Please register or login to post a comment