Commit db1289c488ac5d4b50f109e9a78822f5117c46cd

Authored by Playtenders
1 parent 0dffb780

replace sandbox on staging

... ... @@ -843,7 +843,7 @@ Resource playtender_contr
843 843 ${tender_new_doc_locator} = replace string ${tender_new_doc_locator_tpl} %doc_id% ${doc_id}
844 844 wait until page contains element with reloading ${tender_new_doc_locator}
845 845
846   - ${file_link} = Execute Javascript return $('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-sandbox.prozorro.gov.ua"]').val('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-sandbox.prozorro.gov.ua"]').attr("href")
  846 + ${file_link} = Execute Javascript return $('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-staging.prozorro.gov.ua"]').val('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-staging.prozorro.gov.ua"]').attr("href")
847 847 ${file_name} = get text ${tender_new_doc_locator}
848 848 download_file ${file_link} ${file_name} ${OUTPUT_DIR}
849 849 [return] ${file_name}
... ... @@ -857,7 +857,7 @@ Resource playtender_contr
857 857 open tender page by uaid ${tender_uaid}
858 858 ${tender_new_doc_locator} = replace string ${tender_new_doc_locator_tpl} %doc_id% ${doc_id}
859 859 wait until page contains element with reloading ${tender_new_doc_locator}
860   - ${file_link} = Execute Javascript return $('.docs__list .docs__item.js-item:last a.doc__link[href*="https://public-docs-sandbox.prozorro.gov.ua"]').val('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-sandbox.prozorro.gov.ua"]').attr("href")
  860 + ${file_link} = Execute Javascript return $('.docs__list .docs__item.js-item:last a.doc__link[href*="https://public-docs-staging.prozorro.gov.ua"]').val('.docs__list .docs__item.js-item:first a.doc__link[href*="https://public-docs-staging.prozorro.gov.ua"]').attr("href")
861 861 ${file_name} = get text ${tender_new_doc_locator}
862 862 download_file ${file_link} ${file_name} ${OUTPUT_DIR}
863 863 [return] ${file_name}
... ... @@ -871,9 +871,9 @@ Resource playtender_contr
871 871 log many ${mode}
872 872 run keyword if "${mode}" not in "belowThreshold" wait until page contains element with reloading ${tender_auction_locator} 10
873 873 run keyword if "${mode}" in "belowThreshold" wait until page contains element with reloading ${tender_auction_belowThreshold_input_locator}
874   - ${return_value} = run keyword if "${mode}" not in "belowThreshold below_funders" Execute Javascript return $('#auction-info a[href*="https://auction-sandbox"]').attr("href")
875   -# ${return_value} = run keyword if "${mode}" in "belowThreshold" Execute Javascript return $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
876   - ... ELSE IF '${mode}' in 'belowThreshold below_funders' Execute Javascript return $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
  874 + ${return_value} = run keyword if "${mode}" not in "belowThreshold below_funders" Execute Javascript return $('#auction-info a[href*="https://auction-staging"]').attr("href")
  875 +# ${return_value} = run keyword if "${mode}" in "belowThreshold" Execute Javascript return $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
  876 + ... ELSE IF '${mode}' in 'belowThreshold below_funders' Execute Javascript return $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
877 877 [return] ${return_value}
878 878
879 879 Отримати посилання на аукціон для учасника
... ... @@ -885,9 +885,9 @@ Resource playtender_contr
885 885 log many ${mode}
886 886 run keyword if "${mode}" not in "belowThreshold" wait until page contains element with reloading ${tender_auction_locator} 10
887 887 run keyword if "${mode}" in "belowThreshold" wait until page contains element with reloading ${tender_auction_belowThreshold_input_locator}
888   - ${return_value} = run keyword if "${mode}" not in "belowThreshold" Execute Javascript return $('#auction-info a[href*="https://auction-sandbox"]').attr("href")
889   -# ${return_value} = run keyword if "${mode}" in "belowThreshold" Execute Javascript return $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
890   - ... ELSE IF '${mode}' in 'belowThreshold' Execute Javascript return $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
  888 + ${return_value} = run keyword if "${mode}" not in "belowThreshold" Execute Javascript return $('#auction-info a[href*="https://auction-staging"]').attr("href")
  889 +# ${return_value} = run keyword if "${mode}" in "belowThreshold" Execute Javascript return $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
  890 + ... ELSE IF '${mode}' in 'belowThreshold' Execute Javascript return $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
891 891 [return] ${return_value}
892 892 ########################################################################################################################
893 893 ################################################### END DOCUMENT KEYWORDS ###############################
... ...
... ... @@ -22,8 +22,8 @@ ${claim_cancel_submit_success_msg} = Вимога
22 22 ${claim_form_cancellation_reason_input_locator} = jquery=#complaintcancelform-cancellation_reason
23 23 ${claim_form_cancel_open_btn_locator_tpl} = jquery=#tender-part-pjax #tender-complaint-list .complaint__item[data-complaint-id*="%complaint_id%"] a[href*="/tender/complaint-cancel"]
24 24
25   -${claim_file_link_input_locator_tpl} = return $('#tender-complaint-list .js-item div[data-complaint-id*="%complain_id%"] .complaint-info-wrapper .info-row.documents .value a[href*="https://public-docs-sandbox.prozorro.gov.ua"]').attr("href")
26   -${claim_file_name_input_locator_tpl} = jquery=#tender-complaint-list .js-item div[data-complaint-id*="%complain_id%"] .complaint-info-wrapper .info-row.documents .value a[href*="https://public-docs-sandbox.prozorro.gov.ua"]
  25 +${claim_file_link_input_locator_tpl} = return $('#tender-complaint-list .js-item div[data-complaint-id*="%complain_id%"] .complaint-info-wrapper .info-row.documents .value a[href*="https://public-docs-staging.prozorro.gov.ua"]').attr("href")
  26 +${claim_file_name_input_locator_tpl} = jquery=#tender-complaint-list .js-item div[data-complaint-id*="%complain_id%"] .complaint-info-wrapper .info-row.documents .value a[href*="https://public-docs-staging.prozorro.gov.ua"]
27 27
28 28 ${claim_wrapper_complain_id_value_locator_tpl} = jquery=#tender-complaint-pjax .complaint__item:first
29 29 #${claim_wrapper_complain_id_value_locator_tpl} = jquery=#tender-complaint-pjax .complaint__item[data-title*="%complain_id%"]
... ...
... ... @@ -95,10 +95,10 @@ ${tender_new_doc_locator_tpl} = jquery=.docs
95 95 ${tender_new_doc_title_locator_tpl} = $('.docs__list .docs__item.js-item:contains("%doc_id%")').attr("data-title")
96 96 #${tender_new_doc_locator_tpl} = jquery=.docs__list .docs__item.js-item:first .doc__title:contains("%doc_id%")
97 97 ${tender_auction_locator} = jquery=#auction-info
98   -${tender_auction_input_locator} = $('#auction-info a[href*="https://auction-sandbox"]').attr("href")
99   -${tender_auction_belowThreshold_locator} = jquery=#aside-part-pjax a[href*="https://auction-sandbox"]
100   -${tender_auction_belowThreshold_input_locator} = jquery=#aside-part-pjax a[href*="https://auction-sandbox"]
101   -${tender_auction_belowThreshold_value_locator} = $('#aside-part-pjax a[href*="https://auction-sandbox"]').attr("href")
  98 +${tender_auction_input_locator} = $('#auction-info a[href*="https://auction-staging"]').attr("href")
  99 +${tender_auction_belowThreshold_locator} = jquery=#aside-part-pjax a[href*="https://auction-staging"]
  100 +${tender_auction_belowThreshold_input_locator} = jquery=#aside-part-pjax a[href*="https://auction-staging"]
  101 +${tender_auction_belowThreshold_value_locator} = $('#aside-part-pjax a[href*="https://auction-staging"]').attr("href")
102 102 ${tender_auctionPeriod_startDate_value_locator} = jquery=#tender-general-info .auction-start-date.hidden
103 103 ${tender_auctionPeriod_endDate_value_locator} = jquery=#tender-general-info .auction-end-date.hidden
104 104 ${tender_lots_0_auctionPeriod_endDate_value_locator} = jquery=#tender-general-info .auction-end-date.hidden
... ... @@ -163,7 +163,7 @@ ${tender_awards_negotiation_complaintPeriod_endDate_value_locator} = jquery=#b
163 163 #${tender_awards_complaintPeriod_endDate_value_locator} = jquery=#tender-contract-form .js-award-complaint-period-wrapper .end-date
164 164 ${tender_awards_negotiation_documents_btn_locator} = jquery=[href*="/tender/view-qualification-result-documents?award"]
165 165 ${tender_awards_negotiation_documents_close_btn_locator} = jquery=.modal.fade.fancybox-content .modal-footer .btn.btn-default
166   -${tender_awards_0_documents_0_title_value_locator} = jquery=.doc__table_title a[href*="https://public-docs-sandbox.prozorro.gov.ua"]
  166 +${tender_awards_0_documents_0_title_value_locator} = jquery=.doc__table_title a[href*="https://public-docs-staging.prozorro.gov.ua"]
167 167 ${tender_awards_0_status_value_locator} = jquery=.award-info-wrapper.hidden .status-source
168 168
169 169 #status contract
... ...
Please register or login to post a comment