Showing
2 changed files
with
7 additions
and
2 deletions
... | ... | @@ -397,7 +397,7 @@ Login |
397 | 397 | Run Keyword If 'additionalClassifications' in ${item_keys} Input Additional Classifications ${ARGUMENTS[0].additionalClassifications} ${wraper} |
398 | 398 | Run Keyword If 'additionalClassifications' in ${item_keys} Sleep 1 |
399 | 399 | |
400 | -# Run Keyword If '${ARGUMENTS[2]}' == 'belowThreshold' Click Element xpath=//div[contains(@class, 'active')]//${wraper}//div[contains(@class, 'active')]//input[contains(@id, '-delivery')] | |
400 | +# cat Run Keyword If '${ARGUMENTS[2]}' == 'belowThreshold' Click Element xpath=//div[contains(@class, 'active')]//${wraper}//div[contains(@class, 'active')]//input[contains(@id, '-delivery')] | |
401 | 401 | |
402 | 402 | Select From List By Label //div[contains(@class, 'active')]//${wraper}//div[contains(@class, 'active')]//div[contains(@class, 'form-group field-item${playtender_proc_type}form')]//select[contains(@id, '-delivery_region_id')] ${region} |
403 | 403 | Sleep 1 |
... | ... | @@ -3226,7 +3226,7 @@ Switch To Complaints |
3226 | 3226 | ${plan_data}= procuring_entity_name ${plan_data} |
3227 | 3227 | ${data}= Get From Dictionary ${plan_data} data |
3228 | 3228 | ${data_keys}= Get Dictionary Keys ${data} |
3229 | - ${start_date}= convert_isodate_to_site_date ${data.tender.tenderPeriod.startDate} | |
3229 | + ${start_date}= convert_isodate_to_site_date_plan ${data.tender.tenderPeriod.startDate} | |
3230 | 3230 | ${budget_keys}= Get Dictionary Keys ${data.budget} |
3231 | 3231 | ${classificationWrapper}= Set Variable \#collapseGeneral |
3232 | 3232 | ${itemsWrapper}= Set Variable a[href='#collapseItems'] | ... | ... |
... | ... | @@ -24,6 +24,11 @@ def convert_isodate_to_site_date(isodate): |
24 | 24 | date_string = iso_dt.strftime("%d.%m.%Y") |
25 | 25 | return date_string |
26 | 26 | |
27 | +def convert_isodate_to_site_date_plan(isodate): | |
28 | + iso_dt = parse_date(isodate) | |
29 | + date_string = iso_dt.strftime("%m.%Y") | |
30 | + return date_string | |
31 | + | |
27 | 32 | def convert_isodate_to_site_datetime(isodate): |
28 | 33 | iso_dt = parse_date(isodate) |
29 | 34 | date_string = iso_dt.strftime("%d.%m.%Y %H:%M") | ... | ... |
Please
register
or
login
to post a comment