Showing
1 changed file
with
29 additions
and
3 deletions
... | ... | @@ -64,12 +64,13 @@ ${locator.tenderId} jquery=h3 |
64 | 64 | Wait Until Page Contains Element xpath=//a[@href="#/create-tender"] 100 |
65 | 65 | Click Link xpath=//a[@href="#/create-tender"] |
66 | 66 | Wait Until Page Contains Новый тендер 100 |
67 | -# Input fields | |
67 | +# Input fields tender | |
68 | 68 | Input text name=tenderName ${title} |
69 | 69 | Input text name=tenderDescription ${description} |
70 | 70 | Input text id=budget ${budget} |
71 | 71 | Click Element id=with-nds |
72 | 72 | Input text id=step ${step_rate} |
73 | +## 1-st Item ifo | |
73 | 74 | Input text id=itemDescription0 ${items_description} |
74 | 75 | Input text id=quantity0 ${quantity} |
75 | 76 | Click Element xpath=//a[@class="dropdown-toggle ng-binding"] |
... | ... | @@ -97,13 +98,17 @@ ${locator.tenderId} jquery=h3 |
97 | 98 | Input text xpath=//input[1][@class="form-control ng-pristine ng-untouched ng-valid"] ${locality} |
98 | 99 | Input text xpath=//input[1][@class="form-control ng-pristine ng-untouched ng-valid"] ${streetAddress} |
99 | 100 | Click Element xpath=//button[@class="btn btn-lg single-btn ng-binding"] |
100 | -# Set Datetimes | |
101 | +# Set Item Datetime | |
101 | 102 | Set datetime end-date-delivery0 ${deliverydate_end_date} |
103 | +## | |
104 | +# Set tender datatimes | |
102 | 105 | Set datetime start-date-registration ${start_date} |
103 | 106 | Set datetime end-date-registration ${end_date} |
104 | 107 | Set datetime end-date-qualification ${enquiry_end_date} |
105 | 108 | Set datetime start-date-qualification ${enquiry_start_date} |
106 | 109 | |
110 | + Run Keyword If '${mode}' == 'multi' Додати придмет items | |
111 | + | |
107 | 112 | Click Element xpath=//button[@class="btn btn-lg btn-default cancel pull-right ng-binding"] |
108 | 113 | Wait Until Page Contains Element xpath=//div[@ng-click="goHome()"] 30 |
109 | 114 | Click Element xpath=//div[@ng-click="goHome()"] |
... | ... | @@ -133,6 +138,27 @@ Set datetime |
133 | 138 | Input text xpath=//input[@id="${ARGUMENTS[0]}"]/../..//input[@ng-model="minutes"] ${minutes} |
134 | 139 | |
135 | 140 | |
141 | +Додати придмет | |
142 | + [Arguments] @{ARGUMENTS} | |
143 | + [Documentation] | |
144 | + ... ${ARGUMENTS[0]} == items | |
145 | + | |
146 | +## Get values | |
147 | + | |
148 | + Click Element xpath=//a[@class="icon-black plus-black remove-field ng-scope"] | |
149 | + | |
150 | + Debug | |
151 | + | |
152 | + | |
153 | +<a class="icon-black plus-black remove-field ng-scope" href="" ng-if="$index == tender.items.length - 1" ng-click="addField()" title="Добавить лот"></a> | |
154 | + | |
155 | + | |
156 | + | |
157 | + | |
158 | + | |
159 | + | |
160 | + | |
161 | + | |
136 | 162 | |
137 | 163 | #### Not reworked for Newtend #### |
138 | 164 | |
... | ... | @@ -211,7 +237,7 @@ Oтримати internal id по UAid |
211 | 237 | [return] ${return_value} |
212 | 238 | |
213 | 239 | отримати інформацію про description |
214 | - ${return_value}= Отримати тест із поля і показати на сторінці description | |
240 | + ${return_value}= Отримати тест із поля і показати на сторінці description | |
215 | 241 | [return] ${return_value} |
216 | 242 | |
217 | 243 | отримати інформацію про minimalStep.amount | ... | ... |
Please
register
or
login
to post a comment