def test_08(self, ssgyc: Songshaoguangyuncheng): '''跳转到历史订单页是否正常''' ssgyc.open("/dashiyunchengheji/index?channel=online_paytest") ssgyc.lsdd() current_url = ssgyc.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, ssgyc: Songshaoguangyuncheng): '''输入正常的信息跳转到支付页是否正常''' ssgyc.open("/dashiyunchengheji/index?channel=online_paytest") ssgyc.normal_information() current_url = ssgyc.get_url() acturl_url = re.findall("https://(.+?)/pay?", current_url)[0] expect_url = "cs.lingbz.com/dashiyunchengheji" assert acturl_url == expect_url