def test_edit_offer(self, browser): page = TaskPage(browser, offer_dependency_url) page.go_to_site() page.get_cookies() page.check_values_from_table(offer_name) assert page.check_edit(SC.OFFER_COMMENT, 'Комментарий')
def test_edit_type_offer(self, browser): case_id = 735194 page = TaskPage(browser, url) page.go_to_site() page.check_values_from_table(type_offer_name) assert page.check_edit(SC.OFFER_TYPE_COMMENT, 'Комментарий'), add_result_for_case(run_id, case_id, results['failed']) add_result_for_case(run_id, case_id, results['passed'])
def test_edit_product_param(self, browser): case_id = 735772 page = TaskPage(browser, url) page.go_to_site() page.get_cookies() assert page.check_edit(SC.PARAM_VALUE, 'Значение'), add_result_for_case( run_id, case_id, results['failed']) add_result_for_case(run_id, case_id, results['passed'])
def test_edit_client_segment(self, browser): case_id = 890424 page = TaskPage(browser, url) page.go_to_site() page.get_cookies() page.check_values_from_table(segment_name) assert page.check_edit(SC.SEGMENT_COMMENT, 'Комментарий'), add_result_for_case( run_id, case_id, results['failed']) add_result_for_case(run_id, case_id, results['passed'])