Commit bf4aefa5f0c27dd0ec3ec1a5ac60ab000ed439da

Authored by Playtenders
1 parent 58b3b81d

negotiation-erdpo + ckass 9999999-9

Showing 1 changed file with 10 additions and 3 deletions
... ... @@ -367,10 +367,13 @@ Login
367 367 Wait Until Element Is Visible xpath=//div[contains(@id, 'classification-modal')]//h4[contains(@id, 'classificationModalLabel')]
368 368 Sleep 1
369 369 Input text xpath=//div[contains(@id, 'classification-modal')]//input[@class='form-control js-input'] ${cpv_id}
  370 +#cat Input text xpath=//div[contains(@id, 'classification-modal')]//input[@class='form-control js-input'] 99999999-9
370 371 Press key xpath=//div[contains(@id, 'classification-modal')]//input[@class='form-control js-input'] \\13
371 372 Sleep 1
372 373 Wait Until Page Contains Element xpath=//div[contains(@id, 'classification-modal')]//strong[contains(., '${cpv_id}')] 20
373   - Click Element xpath=//div[contains(@id, 'classification-modal')]//i[@class='jstree-icon jstree-checkbox']
  374 +#cat Wait Until Page Contains Element xpath=//div[contains(@id, 'classification-modal')]//strong[contains(., '99999999-9')] 20
  375 + Run Keyword If '99999999-9' == ${cpv_id} Click Element xpath=(//div[contains(@id, 'classification-modal')]//i[@class='jstree-icon jstree-checkbox'])[1]
  376 + ... ELSE Click Element xpath=//div[contains(@id, 'classification-modal')]//i[@class='jstree-icon jstree-checkbox']
374 377 Click Element xpath=//div[contains(@id, 'classification-modal')]//button[contains(@class, 'btn btn-default waves-effect waves-light js-submit')]
375 378 Sleep 1
376 379
... ... @@ -739,7 +742,11 @@ Wait For Sync Tender Finish
739 742 : FOR ${INDEX} IN RANGE 0 ${lots_length}
740 743 \ Run Keyword If '${USERS.users['${playtender_LOGIN_USER}'].lots[${INDEX}].id}' == '${ARGUMENTS[0]}' Select From List By Label jquery=div.awards-dynamic-forms-wrapper div.dynamic-forms-list div[data-type="award"].active select[id$="-award_lot_key"] ${USERS.users['${playtender_LOGIN_USER}'].lots[${INDEX}].title}
741 744 Input Text jquery=div.awards-dynamic-forms-wrapper div.dynamic-forms-list div[data-type="award"].active input[id$="-award_organization_name"] ${ARGUMENTS[1].suppliers[0].identifier.legalName}
742   - Input Text jquery=div.awards-dynamic-forms-wrapper div.dynamic-forms-list div[data-type="award"].active input[id$="-award_organization_edrpou"] ${ARGUMENTS[1].suppliers[0].identifier.id}
  745 + Click Element xpath=//span[@class='select2-selection select2-selection--single']
  746 + Input Text xpath=//input[contains(@class,'select2-search__field')] United State Register, Ukraine
  747 + Press Key xpath=//input[contains(@class,'select2-search__field')] \\13
  748 + Input Text jquery=div.awards-dynamic-forms-wrapper div.dynamic-forms-list div[data-type="award"].active input[id$="-award_organization_identifier_code"] ${ARGUMENTS[1].suppliers[0].identifier.id}
  749 +#cat Input Text jquery=div.awards-dynamic-forms-wrapper div.dynamic-forms-list div[data-type="award"].active input[id$="-award_organization_edrpou"] ${ARGUMENTS[1].suppliers[0].identifier.id}
743 750 Select From List By Label jquery=div.awards-dynamic-forms-wrapper div.dynamic-forms-list div[data-type="award"].active select[id$="-award_organization_region_id"] ${ARGUMENTS[1].suppliers[0].address.region}
744 751 Input Text jquery=div.awards-dynamic-forms-wrapper div.dynamic-forms-list div[data-type="award"].active input[id$="-award_organization_postal_code"] ${ARGUMENTS[1].suppliers[0].address.postalCode}
745 752 Input Text jquery=div.awards-dynamic-forms-wrapper div.dynamic-forms-list div[data-type="award"].active input[id$="-award_organization_locality"] ${ARGUMENTS[1].suppliers[0].address.locality}
... ... @@ -923,7 +930,7 @@ Wait For Sync Tender Finish
923 930 Run Keyword If '${contract_date_signed}' == '' Input Text id=contractform-date_signed ${date_sign}
924 931 Execute JavaScript $('#contractform-date_signed').blur();
925 932 Sleep 3
926   - Capture Page Screenshot
  933 +# Capture Page Screenshot
927 934 ${status}= Run keyword And Return Status Page Should Contain Значення "Дата підписання" повинно бути більшим значення
928 935 Run Keyword If ${status} Fail Підписати контракт неможливо
929 936 ${status}= Run keyword And Return Status Page Should Contain Контракт можна буде підписати після
... ...
Please register or login to post a comment