Exemple #1
0
 def test_04(self, ssgyc: Songshaoguangyuncheng):
     '''英文名称提示是否正常'''
     ssgyc.open("/dashiyunchengheji/index?channel=online_paytest")
     ssgyc.english_name()
     acturl_tips = ssgyc.get_tips()
     expect_tips = "请输入中文"
     assert acturl_tips == expect_tips
Exemple #2
0
 def test_01(self, ssgyc: Songshaoguangyuncheng):
     '''不填写姓名是否会正常'''
     ssgyc.open("/dashiyunchengheji/index?channel=online_paytest")
     ssgyc.empty_name()
     acturl_tips = ssgyc.get_tips()
     expect_tips = "请填写姓名"
     assert acturl_tips == expect_tips
Exemple #3
0
 def test_03(self, ssgyc: Songshaoguangyuncheng):
     '''中文名称太短提示是否正常'''
     ssgyc.open("/dashiyunchengheji/index?channel=online_paytest")
     ssgyc.short_name()
     acturl_tips = ssgyc.get_tips()
     expect_tips = "姓名最少2个字"
     assert acturl_tips == expect_tips