def test_08(self, lhs: Lunhuishu): '''跳转到历史订单是否正常''' lhs.open("/lunhuishu/index?channel=online_paytest") lhs.lsdd() current_url = lhs.get_url() acturl_url = re.findall("https://(.+?)/index?", current_url)[0] expect_url = "cs.lingbz.com/orderquery" assert acturl_url == expect_url
def test_05(self, lhs: Lunhuishu): '''输入正常的信息是否正常''' lhs.open("/lunhuishu/index?channel=online_paytest") lhs.normal_information() current_url = lhs.get_url() acturl_url = re.findall("https://(.+?)/pay?", current_url)[0] expect_url = "cs.lingbz.com/lunhuishu" assert acturl_url == expect_url