Showing
1 changed file
with
7 additions
and
2 deletions
@@ -89,7 +89,7 @@ Login | @@ -89,7 +89,7 @@ Login | ||
89 | # Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=${BROKERS['playtender'].intervals.belowThreshold.accelerator} | 89 | # Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=${BROKERS['playtender'].intervals.belowThreshold.accelerator} |
90 | Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'belowThreshold' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=360 | 90 | Run Keyword If '${SUITE_NAME}' == 'Tests Files.Complaints' and '${procurementMethodType}' == 'belowThreshold' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=360 |
91 | Run Keyword If '${procurementMethodType}' == 'negotiation' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=1080 | 91 | Run Keyword If '${procurementMethodType}' == 'negotiation' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=1080 |
92 | - Run Keyword If '${procurementMethodType}' == 'aboveThresholdUA.defense' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=1200 | 92 | + Run Keyword If '${procurementMethodType}' == 'aboveThresholdUA.defense' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=720 |
93 | 93 | ||
94 | Selenium2Library.Switch Browser ${user} | 94 | Selenium2Library.Switch Browser ${user} |
95 | Run Keyword If '${procurementMethodType}' == 'belowThreshold' and 'lots' not in ${tender_data_keys} Go To ${BROKERS['playtender'].basepage}/tender/create?type=${procurementMethodType}&multilot=0 | 95 | Run Keyword If '${procurementMethodType}' == 'belowThreshold' and 'lots' not in ${tender_data_keys} Go To ${BROKERS['playtender'].basepage}/tender/create?type=${procurementMethodType}&multilot=0 |
@@ -609,7 +609,11 @@ Load And Wait Text | @@ -609,7 +609,11 @@ Load And Wait Text | ||
609 | # Sleep 3 | 609 | # Sleep 3 |
610 | Wait Until Page Contains Element xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][1] 20 | 610 | Wait Until Page Contains Element xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][1] 20 |
611 | Sleep 3 | 611 | Sleep 3 |
612 | - Click Element xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][1] | 612 | +#cat Click Element xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][1] |
613 | + ${count}= execute javascript return $('#tender-list .js-item').length; | ||
614 | + ${count}= convert to integer ${count} | ||
615 | + run keyword if ${count} == 1 Click Element xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][1] | ||
616 | + run keyword if ${count} > 1 Click Element xpath=(//div[@id='tender-list'])//a[contains(@href, '/tender/')][2] | ||
613 | Wait Until Page Contains ${ARGUMENTS[1]} 60 | 617 | Wait Until Page Contains ${ARGUMENTS[1]} 60 |
614 | Save Tender ID | 618 | Save Tender ID |
615 | Capture Page Screenshot | 619 | Capture Page Screenshot |
@@ -1122,6 +1126,7 @@ Start Edit Lot | @@ -1122,6 +1126,7 @@ Start Edit Lot | ||
1122 | Sleep 1 | 1126 | Sleep 1 |
1123 | 1127 | ||
1124 | Save Tender | 1128 | Save Tender |
1129 | + [Arguments] ${od}=${None} | ||
1125 | Sleep 1 | 1130 | Sleep 1 |
1126 | JsSetScrollToElementBySelector \#submitBtn | 1131 | JsSetScrollToElementBySelector \#submitBtn |
1127 | Click Button xpath=//*[text()='Зберегти зміни'] | 1132 | Click Button xpath=//*[text()='Зберегти зміни'] |
Please
register
or
login
to post a comment