#!/usr/bin/env python # -*- coding: utf-8 -*- ''' @File : test_push_page.py @Time : 2024/11/28 16:47:19 @Author : dulip3ng @Version : 1.0 @Desc : None ''' from common.condition_row import ConditionRow def test_push_bill(list_page, push_page, home_page, filter_page): home_page.search_bill("销售订单列表") list_page.click_button("过滤") cond1 = ConditionRow(1, "单据编号", "XSDD2411020024") filter_page.filter(cond1) list_page.check_line_by_rows(1) list_page.click_button("下推") push_page.push_draw_bill("生产订单", "犀牛销售订单2生产订单", "直接入库-普通生产", "制衣事业部") home_page.close_bill_by_name("生产订单") home_page.get_hint_message("否") def test_push_bill_no_param(list_page, push_page, home_page): list_page.click_button("下推") push_page.push_draw_bill("生产订单")