Showing
1 changed file
with
6 additions
and
1 deletions
... | ... | @@ -147,8 +147,10 @@ Wait For Page Create Tender |
147 | 147 | |
148 | 148 | : FOR ${INDEX} IN RANGE 0 ${lots_length} |
149 | 149 | \ Sleep 2 |
150 | - \ Click Element xpath=//a[@href='#add-lots'] | |
150 | +#cat \ Click Element xpath=//a[@href='#add-lots'] | |
151 | + \ Execute Javascript $( 'a[href="#add-lots"]' ).trigger( 'click' ) | |
151 | 152 | \ Sleep 2 |
153 | + \ Wait Until Page Contains Товар/послуга № 60 | |
152 | 154 | \ Click Element jquery=div[data-type="lot"].active span[data-confirm-text="Ви впевнені що бажаєте видалити поточний товар/послугу?"] |
153 | 155 | \ Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(text(), 'Так')] |
154 | 156 | \ Sleep 1 |
... | ... | @@ -188,6 +190,7 @@ Wait For Page Create Tender |
188 | 190 | Click Element xpath=//*[contains(@href, '#collapseItems')] |
189 | 191 | Sleep 1 |
190 | 192 | JsSetScrollToElementBySelector \#collapseItems |
193 | + Wait Until Page Contains Товар/послуга № 60 | |
191 | 194 | Click Element xpath=//span[@data-confirm-text='Ви впевнені що бажаєте видалити поточний товар/послугу?'] |
192 | 195 | Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(text(), 'Так')] |
193 | 196 | |
... | ... | @@ -1242,6 +1245,7 @@ Save Tender |
1242 | 1245 | Click Element xpath=//*[@class='form-nav-tabs nav nav-tabs nav-justified']//*[contains(@href, '#collapseLots')] |
1243 | 1246 | Sleep 2 |
1244 | 1247 | Click Element xpath=//a[@href='#add-lots'] |
1248 | +#cat Execute Javascript $( 'a[href="#add-lots"]' ).trigger( 'click' ) | |
1245 | 1249 | Sleep 2 |
1246 | 1250 | Додати лот Ex ${lot.data} 0 ${procurementMethodType} |
1247 | 1251 | Додати предмет Ex ${item} 0 ${procurementMethodType} |
... | ... | @@ -1270,6 +1274,7 @@ Save Tender |
1270 | 1274 | Start Edit Lot ${lot_id} |
1271 | 1275 | Click Element xpath=//div[contains(@class, 'active')]//span[contains(text(), '${item_id}')] |
1272 | 1276 | Sleep 1 |
1277 | + Wait Until Page Contains Товар/послуга № 60 | |
1273 | 1278 | Click Element xpath=//li[contains(@data-title, '${item_id}')]//span[@data-confirm-text='Ви впевнені що бажаєте видалити поточний товар/послугу?'] |
1274 | 1279 | Sleep 1 |
1275 | 1280 | Click Element xpath=//div[contains(@class, 'jconfirm-box')]//button[contains(text(), 'Так')] | ... | ... |
Please
register
or
login
to post a comment