Commit 0bf7abd8e8409ed5e2b4aebb2f3494b2a579e6d2

Authored by Playtenders
1 parent ea9644fa

negotiation

Showing 1 changed file with 5 additions and 2 deletions
... ... @@ -546,7 +546,8 @@ fill tender from award reporting
546 546
547 547 capture page screenshot
548 548 # run keyword and ignore error click visible element ${tender_form_general_panel_update_award_negotiation_btn_locator}
549   - run keyword and ignore error Execute Javascript $('.js-form-popup-update[data-url="#awards-form-popup"]').click()
  549 + run keyword and ignore error run keyword if '${mode}' in 'negotiation' Execute Javascript $('#collapseLots0 div[data-attribute="awards"] .js-form-popup-update').click()
  550 + run keyword and ignore error run keyword if '${mode}' in 'reporting' Execute Javascript $('.js-form-popup-update[data-url="#awards-form-popup"]').click()
550 551 capture page screenshot
551 552 # Run Keyword If "${TEST_NAME}" == "Можливість створити переговорну процедуру" open popup by btn locator ${tender_form_general_panel_add_award_negotiation_btn_locator}
552 553 run keyword and ignore error Run Keyword If "${TEST_NAME}" == "Можливість створити переговорну процедуру" open popup by btn locator ${tender_form_general_panel_add_award_negotiation_btn_locator}
... ... @@ -585,7 +586,9 @@ fill award reporting form in opened popup
585 586 run keyword if condition is not none ${contact_point_phone} input text to exist visible input ${tender_form_award_organization_contact_point_phone_locator} ${contact_point_phone}
586 587 # ${duration_days} = get from dictionary by keys ${data} contactPoint days
587 588 # run keyword if condition is not none ${duration_days} input text to exist visible input ${milestone_form_popup_duration_days_input_locator} ${duration_days}
588   - input number to exist visible input ${tender_form_award_budget_locator} ${budget}
  589 + ${budget_value} = get from dictionary by keys ${data} value amount
  590 + run keyword if condition is not none ${budget_value} run keyword if '${mode}' in 'reporting' input number to exist visible input ${tender_form_award_budget_locator} ${budget}
  591 + run keyword if condition is not none ${budget_value} run keyword if '${mode}' in 'negotiation' input number to exist visible input ${tender_form_award_budget_locator} ${budget_value}
589 592
590 593 open tender search form
591 594 [Documentation] відкриває сторінку з пошуком тендерів
... ...
Please register or login to post a comment