Showing
3 changed files
with
17 additions
and
14 deletions
@@ -685,6 +685,7 @@ Resource playtender_contr | @@ -685,6 +685,7 @@ Resource playtender_contr | ||
685 | 685 | ||
686 | open tender page by uaid ${tender_uaid} | 686 | open tender page by uaid ${tender_uaid} |
687 | open tender form qualification ${award_num} | 687 | open tender form qualification ${award_num} |
688 | + confirm award qualification | ||
688 | 689 | ||
689 | Дискваліфікувати постачальника | 690 | Дискваліфікувати постачальника |
690 | [Arguments] ${username} ${tender_uaid} ${award_num} | 691 | [Arguments] ${username} ${tender_uaid} ${award_num} |
@@ -12,13 +12,13 @@ open tender form prequalification | @@ -12,13 +12,13 @@ open tender form prequalification | ||
12 | [Arguments] ${qualification_num} | 12 | [Arguments] ${qualification_num} |
13 | [Documentation] Відкрити форму прекваліфікації і потрібну кваліфікацію під номером qualification_num | 13 | [Documentation] Відкрити форму прекваліфікації і потрібну кваліфікацію під номером qualification_num |
14 | 14 | ||
15 | + run keyword if ${qualification_num} == 0 wait until page contains element with reloading ${prequalification_form_0_open_btn_locator} | ||
15 | run keyword if ${qualification_num} == 0 click visible element ${prequalification_form_0_open_btn_locator} | 16 | run keyword if ${qualification_num} == 0 click visible element ${prequalification_form_0_open_btn_locator} |
16 | - run keyword if ${qualification_num} == 1 or ${qualification_num} == -1 wait until page contains element with reloading ${prequalification_form_1_open_btn_locator} | ||
17 | - run keyword if ${qualification_num} == 1 or ${qualification_num} == -1 click visible element ${prequalification_form_1_open_btn_locator} | ||
18 | - run keyword if ${qualification_num} == -2 wait until page contains element with reloading ${prequalification_form_2_open_btn_locator} | ||
19 | -# run keyword if ${qualification_num} == -2 click visible element ${prequalification_form_2_open_btn_locator} | ||
20 | - run keyword if ${qualification_num} == -2 execute javascript $('#bids-pjax .pseudo-table__row:last a[href*="/tender/prequalification"]').click() | ||
21 | - sleep 3 | 17 | + run keyword if ${qualification_num} == 1 click visible element ${prequalification_form_1_open_btn_locator} |
18 | + run keyword if ${qualification_num} == -1 click visible element ${prequalification_form__1_open_btn_locator} | ||
19 | + run keyword if ${qualification_num} == -2 wait until page contains element with reloading ${prequalification_form__2_open_btn_locator} | ||
20 | + run keyword if ${qualification_num} == -2 click visible element ${prequalification_form__2_open_btn_locator} | ||
21 | +# run keyword if ${qualification_num} == -2 execute javascript $('#bids-pjax .pseudo-table__row:last a[href*="/tender/prequalification"]').click() | ||
22 | 22 | ||
23 | confirm qualifications | 23 | confirm qualifications |
24 | [Documentation] Відкрити форму прекваліфікації і перевести кваліфікацію під номером qualification_num до тендера | 24 | [Documentation] Відкрити форму прекваліфікації і перевести кваліфікацію під номером qualification_num до тендера |
@@ -103,12 +103,10 @@ open tender form qualification | @@ -103,12 +103,10 @@ open tender form qualification | ||
103 | ... ELSE IF "${mode}" in "open_framework" Run Keywords | 103 | ... ELSE IF "${mode}" in "open_framework" Run Keywords |
104 | ... run keyword if ${award_num} == 0 wait until page contains element with reloading ${qualification_form_0_open_btn_locator} | 104 | ... run keyword if ${award_num} == 0 wait until page contains element with reloading ${qualification_form_0_open_btn_locator} |
105 | ... AND run keyword if ${award_num} == 0 click visible element ${qualification_form_0_open_btn_locator} | 105 | ... AND run keyword if ${award_num} == 0 click visible element ${qualification_form_0_open_btn_locator} |
106 | -##### BOF - TMP ##### | ||
107 | - ... AND run keyword if ${award_num} == 1 or ${award_num} == -1 click visible element ${qualification_form_1_open_btn_locator} | 106 | + ... AND run keyword if ${award_num} == 1 click visible element ${qualification_form_1_open_btn_locator} |
107 | + ... AND run keyword if ${award_num} == -1 click visible element ${qualification_form_last_open_btn_locator} | ||
108 | ... AND run keyword if ${award_num} == 2 click visible element ${qualification_form_2_open_btn_locator} | 108 | ... AND run keyword if ${award_num} == 2 click visible element ${qualification_form_2_open_btn_locator} |
109 | ... AND run keyword if ${award_num} == 3 click visible element ${qualification_form_3_open_btn_locator} | 109 | ... AND run keyword if ${award_num} == 3 click visible element ${qualification_form_3_open_btn_locator} |
110 | -##### EOF - TMP ##### | ||
111 | -# run keyword if ${award_num} == 1 or ${award_num} == -1 click visible element ${qualification_form_1_open_btn_locator} | ||
112 | 110 | ||
113 | copy file qualification | 111 | copy file qualification |
114 | [Arguments] ${username} ${document} ${award_num} | 112 | [Arguments] ${username} ${document} ${award_num} |
1 | *** Variables *** | 1 | *** Variables *** |
2 | 2 | ||
3 | #qualification | 3 | #qualification |
4 | -${prequalification_form_0_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row:nth(1) a[href*="/tender/prequalification"] | ||
5 | -${prequalification_form_1_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row:nth(2) a[href*="/tender/prequalification"] | ||
6 | -${prequalification_form_2_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row:nth(3) a[href*="/tender/prequalification"] | ||
7 | -${prequalification_form_3_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row:nth(4) a[href*="/tender/prequalification"] | 4 | +${prequalification_form_0_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[qualification-index="0"] a[href*="/tender/prequalification"] |
5 | +${prequalification_form_1_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[qualification-index="1"] a[href*="/tender/prequalification"] | ||
6 | +${prequalification_form_2_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[qualification-index="2"] a[href*="/tender/prequalification"] | ||
7 | +${prequalification_form_3_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[qualification-index="3"] a[href*="/tender/prequalification"] | ||
8 | +${prequalification_form__1_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[qualification-negative-index="-1"] a[href*="/tender/prequalification"] | ||
9 | +${prequalification_form__2_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[qualification-negative-index="-2"] a[href*="/tender/prequalification"] | ||
10 | +${prequalification_form_last_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[qualification-index-last] a[href*="/tender/prequalification"] | ||
8 | ${prequalification_form_approve_open_btn_locator} = jquery=.aside__inner a[href*="/tender/prequalification-approve"] | 11 | ${prequalification_form_approve_open_btn_locator} = jquery=.aside__inner a[href*="/tender/prequalification-approve"] |
9 | ${prequalification_form_accept_input_locator} = $('#prequalificationform-decision').val('accept').change() | 12 | ${prequalification_form_accept_input_locator} = $('#prequalificationform-decision').val('accept').change() |
10 | ${prequalification_form_decline_input_locator} = $('#prequalificationform-decision').val('decline').change() | 13 | ${prequalification_form_decline_input_locator} = $('#prequalificationform-decision').val('decline').change() |
@@ -32,6 +35,7 @@ ${qualification_form_0_open_btn_locator} = jquery=#bids | @@ -32,6 +35,7 @@ ${qualification_form_0_open_btn_locator} = jquery=#bids | ||
32 | ${qualification_form_1_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[award-index="1"] a[href*="/tender/qualification"] | 35 | ${qualification_form_1_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[award-index="1"] a[href*="/tender/qualification"] |
33 | ${qualification_form_2_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[award-index="2"] a[href*="/tender/qualification"] | 36 | ${qualification_form_2_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[award-index="2"] a[href*="/tender/qualification"] |
34 | ${qualification_form_3_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[award-index="3"] a[href*="/tender/qualification"] | 37 | ${qualification_form_3_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[award-index="3"] a[href*="/tender/qualification"] |
38 | +${qualification_form_last_open_btn_locator} = jquery=#bids-pjax .pseudo-table__row[award-index-last] a[href*="/tender/qualification"] | ||
35 | ${qualification_form_eligible_input_locator} = jquery=#qualificationform-eligible | 39 | ${qualification_form_eligible_input_locator} = jquery=#qualificationform-eligible |
36 | ${qualification_form_qualified_input_locator} = jquery=#qualificationform-qualified | 40 | ${qualification_form_qualified_input_locator} = jquery=#qualificationform-qualified |
37 | ${qualification_award_form_submit_success_msg} = Рішення завантажене, тепер потрібно накласти ЕЦП/КЕП. | 41 | ${qualification_award_form_submit_success_msg} = Рішення завантажене, тепер потрібно накласти ЕЦП/КЕП. |
Please
register
or
login
to post a comment