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