Showing
1 changed file
with
15 additions
and
3 deletions
@@ -1517,9 +1517,9 @@ GetIsTenderReadyForStage2 | @@ -1517,9 +1517,9 @@ GetIsTenderReadyForStage2 | ||
1517 | Sleep 1 | 1517 | Sleep 1 |
1518 | Wait Until Page Contains Element id=tender-form 10 | 1518 | Wait Until Page Contains Element id=tender-form 10 |
1519 | 1519 | ||
1520 | - ${tender_end_date}= Get Current Date increment=00:18:00 result_format=%d.%m.%Y %H:%M | 1520 | + ${tender_end_date}= Get Current Date increment=00:25:00 result_format=%d.%m.%Y %H:%M |
1521 | JsSetScrollToElementBySelector \#tendercompetitivedialogueuastage2form-tender_period_end_date | 1521 | JsSetScrollToElementBySelector \#tendercompetitivedialogueuastage2form-tender_period_end_date |
1522 | - Input Text id=tendercompetitivedialogueuastage2form-tender_period_end_date ${tender_end_date} | 1522 | + Input Converted DateTime \#tendercompetitivedialogueuastage2form-tender_period_end_date ${tender_end_date} |
1523 | Click Element id=tendercompetitivedialogueuastage2form-draft_mode | 1523 | Click Element id=tendercompetitivedialogueuastage2form-draft_mode |
1524 | 1524 | ||
1525 | Save Tender | 1525 | Save Tender |
@@ -2138,6 +2138,10 @@ Save Proposal | @@ -2138,6 +2138,10 @@ Save Proposal | ||
2138 | Run Keyword If 'items[0].description' == '${arguments[2]}' Sleep 2 | 2138 | Run Keyword If 'items[0].description' == '${arguments[2]}' Sleep 2 |
2139 | Run Keyword And Return If 'items[0].description' == '${arguments[2]}' Get Text jquery=div[id^='accordionItems']:visible .panel-item-collapse.in .item-info-wrapper p.title .value | 2139 | Run Keyword And Return If 'items[0].description' == '${arguments[2]}' Get Text jquery=div[id^='accordionItems']:visible .panel-item-collapse.in .item-info-wrapper p.title .value |
2140 | 2140 | ||
2141 | + # lots | ||
2142 | + Run Keyword And Return If 'lots[0].title' == '${arguments[2]}' execute javascript return $(robottesthelpfunctions.getlotwrapperbyindex(0)).attr('data-title'); | ||
2143 | + Run Keyword And Return If 'lots[1].title' == '${arguments[2]}' execute javascript return $(robottesthelpfunctions.getlotwrapperbyindex(1)).attr('data-title'); | ||
2144 | + | ||
2141 | ${item0NeedToBeVisible}= Run Keyword And Return Status Should Start With ${arguments[2]} items[0] | 2145 | ${item0NeedToBeVisible}= Run Keyword And Return Status Should Start With ${arguments[2]} items[0] |
2142 | Run Keyword If ${item0NeedToBeVisible} Execute JavaScript robottesthelpfunctions.showitembyindex(0); | 2146 | Run Keyword If ${item0NeedToBeVisible} Execute JavaScript robottesthelpfunctions.showitembyindex(0); |
2143 | Run Keyword If ${item0NeedToBeVisible} Sleep 2 | 2147 | Run Keyword If ${item0NeedToBeVisible} Sleep 2 |
@@ -3126,6 +3130,7 @@ Switch To Complaints | @@ -3126,6 +3130,7 @@ Switch To Complaints | ||
3126 | 3130 | ||
3127 | Створити план | 3131 | Створити план |
3128 | [Arguments] ${user} ${plan_data} | 3132 | [Arguments] ${user} ${plan_data} |
3133 | + ${plan_data}= procuring_entity_name ${plan_data} | ||
3129 | ${data}= Get From Dictionary ${plan_data} data | 3134 | ${data}= Get From Dictionary ${plan_data} data |
3130 | ${data_keys}= Get Dictionary Keys ${data} | 3135 | ${data_keys}= Get Dictionary Keys ${data} |
3131 | ${start_date}= convert_isodate_to_site_date ${data.tender.tenderPeriod.startDate} | 3136 | ${start_date}= convert_isodate_to_site_date ${data.tender.tenderPeriod.startDate} |
@@ -3134,7 +3139,7 @@ Switch To Complaints | @@ -3134,7 +3139,7 @@ Switch To Complaints | ||
3134 | ${itemsWrapper}= Set Variable a[href='#collapseItems'] | 3139 | ${itemsWrapper}= Set Variable a[href='#collapseItems'] |
3135 | 3140 | ||
3136 | ## preparing | 3141 | ## preparing |
3137 | - UserChangeOrgnizationInfo ${data.procuringEntity} | 3142 | +# UserChangeOrgnizationInfo ${data.procuringEntity} |
3138 | 3143 | ||
3139 | ## load form page | 3144 | ## load form page |
3140 | Go To ${BROKERS['playtender'].basepage}/plan/create | 3145 | Go To ${BROKERS['playtender'].basepage}/plan/create |
@@ -3493,6 +3498,13 @@ Input DateTime XPath | @@ -3493,6 +3498,13 @@ Input DateTime XPath | ||
3493 | ${date}= Convert Date ${date} %d.%m.%Y %H:%M | 3498 | ${date}= Convert Date ${date} %d.%m.%Y %H:%M |
3494 | Input Text xpath=//${input_selector} ${date} | 3499 | Input Text xpath=//${input_selector} ${date} |
3495 | 3500 | ||
3501 | +Input Converted DateTime | ||
3502 | + [Arguments] ${input_jquery_selector} ${date} | ||
3503 | + Input Text jquery=${input_jquery_selector} ${date} | ||
3504 | + sleep 1s | ||
3505 | + execute javascript $("${input_jquery_selector}").blur(); | ||
3506 | + sleep 100ms | ||
3507 | + | ||
3496 | Input Text With Checking Input Isset | 3508 | Input Text With Checking Input Isset |
3497 | [Arguments] ${input_jquery_selector} ${text} | 3509 | [Arguments] ${input_jquery_selector} ${text} |
3498 | Log ${input_jquery_selector} | 3510 | Log ${input_jquery_selector} |
Please
register
or
login
to post a comment