Example #1
0
 def test_08(self, grzx: Gerenzhanxing):
     '''历史订单页面是否正常'''
     grzx.open("/gerenzhanxing/index?channel=online_paytest")
     grzx.lsdd()
     current_url = grzx.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, grzx: Gerenzhanxing):
     '''填写正常信息是否正常'''
     grzx.open("/gerenzhanxing/index?channel=online_paytest")
     grzx.normal_information()
     current_url = grzx.get_url()
     acturl_url = re.findall("https://(.+?)/pay?", current_url)[0]
     expect_url = "cs.lingbz.com/gerenzhanxing"
     assert acturl_url == expect_url