Commit febf7a285c0bb5d2ec214ded3805ff5b3b7a76c6
Committed by
GitHub
Merge pull request #511 from ITVaan/add_test_for_edr_bridge
Додав тест для перевірки роботи bot_identification
Showing
10 changed files
with
125 additions
and
0 deletions
| ... | ... | @@ -1032,3 +1032,47 @@ Resource resource.robot |
| 1032 | 1032 | ... ${TENDER['TENDER_UAID']} |
| 1033 | 1033 | ... ${0} |
| 1034 | 1034 | Run Keyword And Ignore Error Remove From Dictionary ${USERS.users['${viewer}'].tender_data.data.contracts[0]} status |
| 1035 | + | |
| 1036 | +############################################################################################## | |
| 1037 | +# Pre-Qualifications | |
| 1038 | +############################################################################################## | |
| 1039 | + | |
| 1040 | +Дочекатися перевірки прекваліфікацій | |
| 1041 | + [Documentation] | |
| 1042 | + ... [Arguments] Username, tender uaid | |
| 1043 | + ... [Description] Waint until edr bridge check qualifications | |
| 1044 | + ... [Return] Nothing | |
| 1045 | + [Arguments] ${username} ${tender_uaid} | |
| 1046 | + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | |
| 1047 | + :FOR ${qualification} IN @{tender.data.qualifications} | |
| 1048 | + \ ${res}= Wait until keyword succeeds | |
| 1049 | + \ ... 10 min 15 sec | |
| 1050 | + \ ... 30 sec | |
| 1051 | + \ ... Перевірити документ прекваліфікіції ${qualification.id} для користувача ${username} в тендері ${tender_uaid} | |
| 1052 | + | |
| 1053 | + | |
| 1054 | +Перевірити документ прекваліфікіції ${qualification_id} для користувача ${username} в тендері ${tender_uaid} | |
| 1055 | + ${document}= openprocurement_client.Отримати останній документ прекваліфікіції ${username} ${tender_uaid} ${qualification_id} | |
| 1056 | + Порівняти об'єкти ${document['documentType']} registerExtract | |
| 1057 | + | |
| 1058 | +############################################################################################## | |
| 1059 | +# Qualifications | |
| 1060 | +############################################################################################## | |
| 1061 | + | |
| 1062 | +Дочекатися перевірки кваліфікацій | |
| 1063 | + [Documentation] | |
| 1064 | + ... [Arguments] Username, tender uaid | |
| 1065 | + ... [Description] Waint until edr bridge create check award | |
| 1066 | + ... [Return] Nothing | |
| 1067 | + [Arguments] ${username} ${tender_uaid} | |
| 1068 | + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | |
| 1069 | + :FOR ${award} IN @{tender.data.awards} | |
| 1070 | + \ Wait until keyword succeeds | |
| 1071 | + \ ... 10 min 15 sec | |
| 1072 | + \ ... 30 sec | |
| 1073 | + \ ... Перевірити документ кваліфікіції ${qualification.id} для користувача ${username} в тендері ${tender_uaid} | |
| 1074 | + | |
| 1075 | + | |
| 1076 | +Перевірити документ кваліфікіції ${qualification.id} для користувача ${username} в тендері ${tender_uaid} | |
| 1077 | + ${document}= openprocurement_client.Отримати останній документ кваліфікації ${username} ${tender_uaid} ${award.id} | |
| 1078 | + Порівняти об'єкти ${document['documentType']} registerExtract | |
| \ No newline at end of file | ... | ... |
| ... | ... | @@ -806,6 +806,53 @@ Library openprocurement_client_helper.py |
| 806 | 806 | # Qualification operations |
| 807 | 807 | ############################################################################## |
| 808 | 808 | |
| 809 | + | |
| 810 | +Отримати список документів по прекваліфікації | |
| 811 | + [Documentation] | |
| 812 | + ... [Arguments] Username, tender uaid, qualification id | |
| 813 | + ... [Description] Return all qualification documents by id | |
| 814 | + ... [Return] Reply from API | |
| 815 | + [Arguments] ${username} ${tender_uaid} ${qualification_id} | |
| 816 | + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | |
| 817 | + ${doc_list}= Call Method ${USERS.users['${username}'].client} get_qualification_documents ${tender} ${qualification_id} | |
| 818 | + Log ${doc_list} | |
| 819 | + [Return] ${doc_list} | |
| 820 | + | |
| 821 | + | |
| 822 | +Отримати список документів по кваліфікації | |
| 823 | + [Documentation] | |
| 824 | + ... [Arguments] Username, tender uaid, award id | |
| 825 | + ... [Description] Return all awards documents by id | |
| 826 | + ... [Return] Reply from API | |
| 827 | + [Arguments] ${username} ${tender_uaid} ${award_id} | |
| 828 | + ${tender}= openprocurement_client.Пошук тендера по ідентифікатору ${username} ${tender_uaid} | |
| 829 | + ${doc_list}= Call Method ${USERS.users['${username}'].client} get_awards_documents ${tender} ${award_id} | |
| 830 | + Log ${doc_list} | |
| 831 | + [Return] ${doc_list} | |
| 832 | + | |
| 833 | + | |
| 834 | +Отримати останній документ прекваліфікіції | |
| 835 | + [Documentation] | |
| 836 | + ... [Arguments] Username, tender uaid, qualification id | |
| 837 | + ... [Description] Check documentType in last pre-quailfication document | |
| 838 | + ... [Return] Last document from pre-quailfication | |
| 839 | + [Arguments] ${username} ${tender_uaid} ${qualification_id} | |
| 840 | + ${docs}= Run As ${username} Отримати список документів по прекваліфікації ${tender_uaid} ${qualification_id} | |
| 841 | + Log ${docs} | |
| 842 | + [Return] ${docs['data'][-1]} | |
| 843 | + | |
| 844 | + | |
| 845 | +Отримати останній документ кваліфікації | |
| 846 | + [Documentation] | |
| 847 | + ... [Arguments] Username, tender uaid, award id | |
| 848 | + ... [Description] Check documentType in last award document | |
| 849 | + ... [Return] Last document for | |
| 850 | + [Arguments] ${username} ${tender_uaid} ${award_id} | |
| 851 | + ${docs}= Run As ${username} Отримати список документів по кваліфікації ${tender_uaid} ${award_id} | |
| 852 | + Log ${docs} | |
| 853 | + [Return] ${docs['data'][-1]} | |
| 854 | + | |
| 855 | + | |
| 809 | 856 | Завантажити документ рішення кваліфікаційної комісії |
| 810 | 857 | [Documentation] |
| 811 | 858 | ... [Arguments] Username, tender uaid, qualification number and document to upload | ... | ... |
| ... | ... | @@ -1652,6 +1652,15 @@ ${ITEM_MEAT} ${True} |
| 1652 | 1652 | Можливість завантажити документ у кваліфікацію 0 пропозиції |
| 1653 | 1653 | |
| 1654 | 1654 | |
| 1655 | +Можливість дочекатися перевірки учасників по ЄДРПОУ | |
| 1656 | + [Tags] ${USERS.users['${viewer}'].broker}: Перевірка користувачів по ЄДРПОУ | |
| 1657 | + ... tender_owner | |
| 1658 | + ... ${USERS.users['${tender_owner}'].broker} | |
| 1659 | + ... pre-qualifications_check_by_edrpou | |
| 1660 | + [Setup] Дочекатись дати початку періоду прекваліфікації ${tender_owner} ${TENDER['TENDER_UAID']} | |
| 1661 | + Run as ${tender_owner} Дочекатися перевірки прекваліфікацій ${TENDER['TENDER_UAID']} | |
| 1662 | + | |
| 1663 | + | |
| 1655 | 1664 | Можливість підтвердити першу пропозицію кваліфікації |
| 1656 | 1665 | [Tags] ${USERS.users['${tender_owner}'].broker}: Кваліфікація |
| 1657 | 1666 | ... tender_owner | ... | ... |
| ... | ... | @@ -211,6 +211,14 @@ ${award_index} ${0} |
| 211 | 211 | # QUALIFICATION |
| 212 | 212 | ############################################################################################## |
| 213 | 213 | |
| 214 | +Можливість дочекатися перевірки переможців по ЄДРПОУ | |
| 215 | + [Tags] ${USERS.users['${viewer}'].broker}: Перевірка користувача по ЄДРПОУ | |
| 216 | + ... tender_owner | |
| 217 | + ... ${USERS.users['${tender_owner}'].broker} | |
| 218 | + ... qualifications_check_by_edrpou | |
| 219 | + Run as ${tender_owner} Дочекатися перевірки кваліфікацій ${TENDER['TENDER_UAID']} | |
| 220 | + | |
| 221 | + | |
| 214 | 222 | Можливість завантажити документ рішення кваліфікаційної комісії для підтвердження постачальника |
| 215 | 223 | [Tags] ${USERS.users['${tender_owner}'].broker}: Процес кваліфікації |
| 216 | 224 | ... tender_owner | ... | ... |
| ... | ... | @@ -21,6 +21,8 @@ |
| 21 | 21 | |
| 22 | 22 | -i open_tender_view |
| 23 | 23 | |
| 24 | +-i pre-qualifications_check_by_edrpou | |
| 25 | + | |
| 24 | 26 | -i pre-qualification_approve_first_bid |
| 25 | 27 | -i pre-qualification_approve_second_bid |
| 26 | 28 | -i pre-qualification_approve_third_bid |
| ... | ... | @@ -42,6 +44,8 @@ |
| 42 | 44 | -i make_bid_by_provider_second_stage |
| 43 | 45 | -i make_bid_by_provider1_second_stage |
| 44 | 46 | |
| 47 | +-i qualifications_check_by_edrpou | |
| 48 | + | |
| 45 | 49 | -i pre-qualification_approve_first_bid_second_stage |
| 46 | 50 | -i pre-qualification_approve_second_bid_second_stage |
| 47 | 51 | ... | ... |
| ... | ... | @@ -80,6 +80,8 @@ |
| 80 | 80 | |
| 81 | 81 | -i pre-qualification_view |
| 82 | 82 | |
| 83 | +-i pre-qualifications_check_by_edrpou | |
| 84 | + | |
| 83 | 85 | -i pre-qualification_add_doc_to_first_bid |
| 84 | 86 | -i pre-qualification_approve_first_bid |
| 85 | 87 | |
| ... | ... | @@ -93,6 +95,9 @@ |
| 93 | 95 | -i auction |
| 94 | 96 | |
| 95 | 97 | -i qualification_add_doc_to_first_award |
| 98 | + | |
| 99 | +-i qualifications_check_by_edrpou | |
| 100 | + | |
| 96 | 101 | -i qualification_approve_first_award |
| 97 | 102 | -i qualification_cancel_first_award_qualification |
| 98 | 103 | -i qualification_add_doc_to_second_award | ... | ... |
| ... | ... | @@ -18,12 +18,15 @@ |
| 18 | 18 | |
| 19 | 19 | -i open_tender_view |
| 20 | 20 | |
| 21 | +-i pre-qualifications_check_by_edrpou | |
| 22 | + | |
| 21 | 23 | -i pre-qualification_approve_first_bid |
| 22 | 24 | -i pre-qualification_approve_second_bid |
| 23 | 25 | -i pre-qualification_approve_qualifications |
| 24 | 26 | |
| 25 | 27 | -i auction |
| 26 | 28 | |
| 29 | +-i qualifications_check_by_edrpou | |
| 27 | 30 | -i qualification_approve_first_award |
| 28 | 31 | |
| 29 | 32 | -i contract_sign |
| \ No newline at end of file | ... | ... |
Please
register
or
login
to post a comment