Commit e35f19e1383dad0f7d9f5f85d4f4f326a310524b

Authored by Playtenders
1 parent 4ea5119f

Wait For Page Create Tender

Showing 1 changed file with 8 additions and 3 deletions
... ... @@ -76,6 +76,12 @@ Login
76 76 Set Global Variable ${playtender_LOGIN_USER} ${username}
77 77 #Go To ${USERS.users['${username}'].homepage}
78 78
  79 +Wait For Page Create Tender
  80 + [Arguments] ${url}
  81 + Go To ${url}
  82 + Sleep 10
  83 + Page Should Contain Element xpath=//*[text()='Створення закупівлі']
  84 +
79 85 Створити тендер
80 86 [Arguments] ${user} ${tender_data}
81 87 ${tender_data}= procuring_entity_name ${tender_data}
... ... @@ -92,9 +98,8 @@ Login
92 98 Run Keyword If '${procurementMethodType}' == 'aboveThresholdUA.defense' Go To ${BROKERS['playtender'].basepage}/utils/config?tacceleration=720
93 99
94 100 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
96   - Run Keyword If '${procurementMethodType}' != 'belowThreshold' or 'lots' in ${tender_data_keys} Go To ${BROKERS['playtender'].basepage}/tender/create?type=${procurementMethodType}
97   - Capture Page Screenshot
  101 + Run Keyword If '${procurementMethodType}' == 'belowThreshold' and 'lots' not in ${tender_data_keys} Wait Until Keyword Succeeds 100 s 10 s Wait For Page Create Tender ${BROKERS['playtender'].basepage}/tender/create?type=${procurementMethodType}&multilot=0
  102 + Run Keyword If '${procurementMethodType}' != 'belowThreshold' or 'lots' in ${tender_data_keys} Wait Until Keyword Succeeds 100 s 10 s Wait For Page Create Tender ${BROKERS['playtender'].basepage}/tender/create?type=${procurementMethodType}
98 103 Wait Until Page Contains Створення закупівлі 30
99 104
100 105 ### BOF - Reporting ###
... ...
Please register or login to post a comment