Ejemplo n.º 1
0
 def test_10(self, bzhh: Bazihehun):
     '''不输入男方出生日期是否正常'''
     bzhh.open("/bazihehun/index?channel=online_paytest")
     bzhh.boy_empty_birthday()
     acturl_tips = bzhh.get_tips1()
     expect_tips = "请选择男方出生日期"
     assert acturl_tips == expect_tips
Ejemplo n.º 2
0
 def test_08(self, bzhh: Bazihehun):
     '''男方姓名输入英文姓名'''
     bzhh.open("/bazihehun/index?channel=online_paytest")
     bzhh.boy_english_name()
     acturl_tips = bzhh.get_tips1()
     expect_tips = "男方姓名必须为汉字!"
     assert acturl_tips == expect_tips
Ejemplo n.º 3
0
 def test_06(self, bzhh: Bazihehun):
     '''输入长度过长的男方中文姓名'''
     bzhh.open("/bazihehun/index?channel=online_paytest")
     bzhh.boy_long_name()
     acturl_tips = bzhh.get_tips1()
     expect_tips = "男方姓名长度不能超过4!"
     assert acturl_tips == expect_tips
Ejemplo n.º 4
0
 def test_04(self, bzhh: Bazihehun):
     '''女方姓名过长是否正常'''
     bzhh.open("/bazihehun/index?channel=online_paytest")
     bzhh.girl_long_name()
     acturl_tips = bzhh.get_tips1()
     expect_tips = "女方姓名长度不能超过4!"
     assert acturl_tips == expect_tips
Ejemplo n.º 5
0
 def test_03(self, bzhh: Bazihehun):
     '''女方姓名过短是否正常'''
     bzhh.open("/bazihehun/index?channel=online_paytest")
     bzhh.girl_short_name()
     acturl_tips = bzhh.get_tips1()
     expect_tips = "女方姓名长度不能小于2!"
     assert acturl_tips == expect_tips
Ejemplo n.º 6
0
 def test_02(self, bzhh: Bazihehun):
     '''不输入男方姓名是否正常'''
     bzhh.open("/bazihehun/index?channel=online_paytest")
     bzhh.empty_boy_name()
     acturl_tips = bzhh.get_tips1()
     expect_tips = "男方姓名不能为空!"
     assert acturl_tips == expect_tips