Example #1
0
 def test_10(self, yscy: Yishengcaiyun):
     '''进入历史订单是否正常'''
     yscy.open("/yishengcaiyun/index?channel=online_paytest")
     yscy.lsdd()
     current_url = yscy.get_url()
     acturl_url = re.findall("https://(.+?)/index?", current_url)[0]
     expect_url = "cs.lingbz.com/orderquery"
     assert acturl_url == expect_url
Example #2
0
 def test_05(self, yscy: Yishengcaiyun):
     '''正常填写信息跳转是否正常'''
     yscy.open("/yishengcaiyun/index?channel=online_paytest")
     yscy.normal_information()
     time.sleep(2)
     current_url = yscy.get_url()
     acturl_url = re.findall("https://(.+?)/pay2?", current_url)[0]
     expect_url = "cs.lingbz.com/yishengcaiyun"
     assert acturl_url == expect_url