Commit 82fcf46fbb53432e9a8ed9db9868533910f81fc8

Authored by Playtenders
1 parent a3e52ebb

edit competitiveDialogue and contract

... ... @@ -806,8 +806,8 @@ Resource playtender_contr
806 806
807 807 open tender form by uaid ${tender_uaid}
808 808 activate stage 2
809   -# save tender form and wait synchronization
810 809 submit form and check result ${tender_form_submit_btn_locator} ${tender_form_submit_success_msg} ${tender_created_checker_element_locator}
  810 + sleep 15m
811 811
812 812
813 813 Отримати тендер другого етапу та зберегти його
... ...
... ... @@ -26,15 +26,15 @@ edit contract
26 26 ${contract_number} = get value by locator on opened page ${contract_contractform_contract_number_input_locator}
27 27 Run Keyword If '${contract_number}' == '' input text to exist visible input ${contract_contractform_contract_number_input_locator} 1234567890
28 28 capture page screenshot
29   - ${date_signed} = Get Current Date result_format=%d.%m.%Y %H:%M
  29 + ${date_signed} = Get Current Date
30 30 ${contract_date_signed} = get value by locator on opened page ${contract_contractform_date_signed_input_locator}
31   - Run Keyword If '${contract_date_signed}' == '' input text to exist visible input ${contract_contractform_date_signed_input_locator} ${date_signed}
32   - ${date_start} = Get Current Date increment=02:00:00 result_format=%d.%m.%Y %H:%M
  31 + Run Keyword If '${contract_date_signed}' == '' input datetime to visible input ${contract_contractform_date_signed_input_locator} ${date_signed}
  32 + ${date_start} = Get Current Date increment=02:00:00
33 33 ${contract_date_start} = get value by locator on opened page ${contract_contractform_date_start_input_locator}
34   - Run Keyword If '${contract_date_start}' == '' input text to exist visible input ${contract_contractform_date_start_input_locator} ${date_start}
35   - ${date_end} = Get Current Date increment=04:00:00 result_format=%d.%m.%Y %H:%M
  34 + Run Keyword If '${contract_date_start}' == '' input datetime to visible input ${contract_contractform_date_start_input_locator} ${date_start}
  35 + ${date_end} = Get Current Date increment=04:00:00
36 36 ${contract_date_end} = get value by locator on opened page ${contract_contractform_date_end_input_locator}
37   - Run Keyword If '${contract_date_end}' == '' input text to exist visible input ${contract_contractform_date_end_input_locator} ${date_end}
  37 + Run Keyword If '${contract_date_end}' == '' input datetime to visible input ${contract_contractform_date_end_input_locator} ${date_end}
38 38
39 39 Run Keyword If '${field_name}' == 'value.amount' input number to exist visible input ${contract_contractform_amount_input_locator} ${amount}
40 40 # ${budget} = Run Keyword If '${field_name}' == 'value.amount' and '${mode}' == 'negotiation' Set Variable ${amount/0.85}
... ... @@ -85,15 +85,15 @@ active agreement contract
85 85 ${contract_number} = get value by locator on opened page ${contract_agreement_agreement_number_input_locator}
86 86 Run Keyword If '${contract_number}' == '' input text to exist visible input ${contract_agreement_agreement_number_input_locator} 1234567890
87 87 capture page screenshot
88   - ${date_signed} = Get Current Date result_format=%d.%m.%Y %H:%M
  88 + ${date_signed} = Get Current Date
89 89 ${contract_date_signed} = get value by locator on opened page ${contract_agreement_date_signed_input_locator}
90   - Run Keyword If '${contract_date_signed}' == '' input text to exist visible input ${contract_agreement_date_signed_input_locator} ${date_signed}
91   - ${date_start} = Get Current Date increment=02:00:00 result_format=%d.%m.%Y %H:%M
  90 + Run Keyword If '${contract_date_signed}' == '' input datetime to visible input ${contract_agreement_date_signed_input_locator} ${date_signed}
  91 + ${date_start} = Get Current Date increment=02:00:00
92 92 ${contract_date_start} = get value by locator on opened page ${contract_agreement_date_start_input_locator}
93   - Run Keyword If '${contract_date_start}' == '' input text to exist visible input ${contract_agreement_date_start_input_locator} ${date_start}
94   - ${date_end} = Get Current Date increment=04:00:00 result_format=%d.%m.%Y %H:%M
  93 + Run Keyword If '${contract_date_start}' == '' input datetime to visible input ${contract_agreement_date_start_input_locator} ${date_start}
  94 + ${date_end} = Get Current Date increment=04:00:00
95 95 ${contract_date_end} = get value by locator on opened page ${contract_agreement_date_end_input_locator}
96   - Run Keyword If '${contract_date_end}' == '' input text to exist visible input ${contract_agreement_date_end_input_locator} ${date_end}
  96 + Run Keyword If '${contract_date_end}' == '' input datetime to visible input ${contract_agreement_date_end_input_locator} ${date_end}
97 97
98 98 capture page screenshot
99 99 choose file ${add_file_to_contract_contractform_locator} ${file_path}
... ...
... ... @@ -424,8 +424,7 @@ activate stage 2
424 424 [Documentation] Перевести тендер tender_uaid в статус active.tendering.
425 425
426 426 open popup by btn locator ${tender_form_general_panel_edit_btn_locator}
427   - ${tender_end_date} = Get Current Date increment=00:35:00 result_format=%Y-%m-%dT%H:%M:%S.%f%z+02:00
428   -# ${tender_end_date} = Get Current Date increment=00:25:00 result_format=%d.%m.%Y %H:%M
  427 + ${tender_end_date} = Get Current Date increment=00:30:00
429 428 input datetime to visible input ${tender_tender_period_end_date_input_locator} ${tender_end_date}
430 429 capture page screenshot
431 430 click visible element ${tender_form_general_panel_draft_mode_input_locator}
... ...
Please register or login to post a comment