playtender_contract_variables.robot 2.62 KB
*** Variables ***

#contractform
${contract_form_0_open_btn_locator} =                               jquery=#contracts-pjax a[href*="/tender/contract?contract"]
${contract_contractform_contract_number_input_locator} =            jquery=#contractform-contract_number
${contract_contractform_date_signed_input_locator} =                jquery=#contractform-date_signed
${contract_contractform_date_start_input_locator} =                 jquery=#contractform-date_start
${contract_contractform_date_end_input_locator} =                   jquery=#contractform-date_end
${contract_contractform_date_start_input_locator} =                 jquery=#contractform-date_start
${contract_contractform_date_end_input_locator} =                   jquery=#contractform-date_end
${contract_contractform_date_start_input_locator} =                 jquery=#contractform-date_start
${contract_contractform_date_end_input_locator} =                   jquery=#contractform-date_end
${contract_contractform_submit_btn_locator} =                       jquery=.fancybox-is-open .fancybox-content button.btn.btn-success
${contract_contractform_submit_success_msg} =                       Контракт успішно завантажений
${contract_contractform_amount_input_locator} =                     jquery=#contractform-value_amount
${contract_contractform_amount_net_input_locator} =                 jquery=#contractform-value_amount_net
${contract_contractform_active_submit_success_msg} =                Контракт успішно активовано, дочекайтесь опублікування на сайті уповноваженого органу.
${contract_contractform_value_added_tax_included_locator} =         jquery=#contractform-value_added_tax_included

#contractform document
${add_file_to_contract_contractform_locator} =                      jquery=.field-contractform-documents .js-upload-documents input[type$="file"]:first
${contract_contractform_add_document_type_input_locator} =          jquery=.js-dynamic-form-content-item:last .document-type select[id*="-document_type"]
${contract_contractform_add_document_description_btn_locator} =     jquery=.js-dynamic-form-content-item:last [href$="#edit"]:last
${contract_contractform_add_document_description_input_locator} =   jquery=.js-dynamic-form-content-item:last .popover.fade.top.in textarea[id*="-description"].form-control
${contract_contractform_add_document_close_description_btn_locator} =  jquery=.js-dynamic-form-content-item:last .popover.fade.top.in [href$="#close"]

${contract_active_form_open_btn_locator} =                          jquery=#contracts-pjax a[href*="/tender/contract-activate"]