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