示例#1
0
 def test_jxks_many_note_X_case(self):
     """多注号码,点击左边X按钮"""
     ha = HomePage_lexiu(self.driver)
     hb = GXKS_ChooseNumber_lexiu(self.driver)
     hb1 = ElevenFiveChooseNumber_lexiu(self.driver)
     hc = ConfirmLottery_lexiu(self.driver)
     hc1 = EleChooseFiveConfirmLottery_lexiu(self.driver)
     hl = Login_lexiu(self.driver)
     hd = LessPaySucess_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.guangxi_express_three_link()  # 点击广西快三
     hb.play_jxks_ethdx()  ##点击二同号单选
     hb.Ethdx(1)  ##点击1注
     hb1.confirm_number_button()  ###点击确认选号
     hc1.machine_choose_one()  ##点击机选
     hc1.machine_choose_one()  ##点击机选
     mur = hc1.lottery_chase_throw_text()  # 读取注数
     self.assertEqual('3注1期1倍共6元', mur)
     hc.n_event_count()  ##点击第1场赛事的X按钮
     mur = hc1.lottery_chase_throw_text()  # 读取注数
     self.assertEqual('2注1期1倍共4元', mur)
     hc1.submit_order_button()  # 点击提交给站主
     hl.login_lexiu()  # 输入账号,密码
     hc1.submit_order_button()  # 点击提交给站主
     hc.confirm_and_pay_button()  # 点击确认支付
     mur1 = hd.assect_pay()  ##读取支付状态文本
     self.assertEqual('订单提交成功', mur1)
示例#2
0
 def test_jxks_less_term_case(self):
     """1注号码,点击-按钮,添加期数"""
     ha = HomePage_lexiu(self.driver)
     hb = GXKS_ChooseNumber_lexiu(self.driver)
     hb1 = ElevenFiveChooseNumber_lexiu(self.driver)
     hc = ConfirmLottery_lexiu(self.driver)
     hc1 = EleChooseFiveConfirmLottery_lexiu(self.driver)
     hl = Login_lexiu(self.driver)
     hd = LessPaySucess_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.guangxi_express_three_link()  # 点击广西快三
     hb.play_jxks_ethdx()  ##点击二同号单选
     hb.Ethdx(1)  ##点击1注
     hb1.confirm_number_button()  ###点击确认选号
     hc1.chase_ticket_button()  ###展开期数按钮
     hc.chase_ticket_button_twenty()  ##点击20期
     hc1.chase_sub_button()  ###点击-按钮,期数
     mur = hc1.lottery_chase_throw_text()  # 读取注数
     self.assertEqual('1注19期1倍共38元', mur)
     hc1.submit_order_button()  # 点击提交给站主
     hl.login_lexiu()  # 输入账号,密码
     hc1.submit_order_button()  # 点击提交给站主
     hc.confirm_and_pay_button()  # 点击确认支付
     mur1 = hd.assect_pay()  ##读取支付状态文本
     self.assertEqual('订单提交成功', mur1)
 def test_jxks_add_term_case(self):
     """1注号码,点击+按钮,添加期数"""
     ha = HomePage_lexiu(self.driver)
     hb = GXKS_ChooseNumber_lexiu(self.driver)
     hb1 = ElevenFiveChooseNumber_lexiu(self.driver)
     hc = ConfirmLottery_lexiu(self.driver)
     hc1 = EleChooseFiveConfirmLottery_lexiu(self.driver)
     hl = Login_lexiu(self.driver)
     hd = LessPaySucess_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.guangxi_express_three_link()  # 点击广西快三
     hb.play_jxks_sthtx()  ##点击三同号通选
     hb.sthtx_choosenumber()  ##点击选号
     hb1.confirm_number_button()  ###点击确认选号
     hc1.chase_add_button()###点击+按钮,期数
     mur = hc1.lottery_chase_throw_text()  # 读取注数
     self.assertEqual('1注2期1倍共4元', mur)
     hc1.submit_order_button()  # 点击提交给站主
     hl.login_lexiu()  # 输入账号,密码
     hc1.submit_order_button()  # 点击提交给站主
     hc.confirm_and_pay_button()  # 点击确认支付
     mur1 = hd.assect_pay()  ##读取支付状态文本
     self.assertEqual('订单提交成功', mur1)
示例#4
0
 def test_jxks_many_note_many_double_pause_znxh_tj_case(self):
     """多注多倍号码,机选,智能选号,提交"""
     ha = HomePage_lexiu(self.driver)
     hb = GXKS_ChooseNumber_lexiu(self.driver)
     hb1 = ElevenFiveChooseNumber_lexiu(self.driver)
     hc = ConfirmLottery_lexiu(self.driver)
     hc1 = EleChooseFiveConfirmLottery_lexiu(self.driver)
     hl = Login_lexiu(self.driver)
     hd = LessPaySucess_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.guangxi_express_three_link()  # 点击广西快三
     hb.play_jxks_ethdx()  ##点击二同号单选
     hb.Ethdx(3)  ##点击3注
     hb1.confirm_number_button()  ###点击确认选号
     hc1.throw_times_input(13)  ##输入倍数13倍
     hc1.machine_choose_one()  ##点击机选
     mur = hc1.lottery_chase_throw_text()  #读取注数
     self.assertEqual('10注1期13倍共260元', mur)
     ssc_cl.intelligently_chase_button()  # 点击智能追号
     ssc_cl.submit_button()  # 点击提交按钮
     hl.login_lexiu()  # 输入账号,密码
     hc1.submit_order_button()  # 点击提交给站主
     hc.confirm_and_pay_button()  # 点击确认支付
     mur1 = hd.assect_pay()  ##读取支付状态文本
     self.assertEqual('订单提交成功', mur1)
示例#5
0
 def test_jxks_many_note_many_double_Continue_znzh_tj_case(self):
     """多注多倍,继续选号,智能追号,提交"""
     ha = HomePage_lexiu(self.driver)
     hb = GXKS_ChooseNumber_lexiu(self.driver)
     hb1 = ElevenFiveChooseNumber_lexiu(self.driver)
     hc = JXKS_Confirm_lexiu(self.driver)
     hc1 = EleChooseFiveConfirmLottery_lexiu(self.driver)
     hc2 = ConfirmLottery_lexiu(self.driver)
     hl = Login_lexiu(self.driver)
     hd = LessPaySucess_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.guangxi_express_three_link()  # 点击广西快三
     hb.play_jxks_ethdx()  ##点击二同号单选
     hb.Ethdx(3)  ##点击3注
     hb1.confirm_number_button()  ###点击确认选号
     hc.Button_add()  #点击倍数+号
     hc.Cont()  ###点击继续选号
     hb.Ethdx(1)  ##点击1注
     hb1.confirm_number_button()  ###点击确认选号
     mur = hc1.lottery_chase_throw_text()  #读取注数
     self.assertEqual('10注1期2倍共40元', mur)
     ssc_cl.intelligently_chase_button()  # 点击智能追号
     ssc_cl.submit_button()  # 点击提交按钮
     hl.login_lexiu()  # 输入账号,密码
     hc1.submit_order_button()  # 点击提交给站主
     hc2.confirm_and_pay_button()  # 点击确认支付
     mur1 = hd.assect_pay()  ##读取支付状态文本
     self.assertEqual('订单提交成功', mur1)
 def test_many_lottery_many_times_case(self):
     '''复式多注,进入智能追号页面,默认追期,提交订单'''
     hp = HomePage_lexiu(self.driver)
     ulcn = UnionLottoChooseNumber_lexiu(self.driver)
     efcn = ElevenFiveChooseNumber_lexiu(self.driver)
     efcl = EleChooseFiveConfirmLottery_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     od = OrderDetails_lexiu(self.driver)
     l = Login_lexiu(self.driver)
     sos = SubmitOrderSuccess_lexiu(self.driver)
     cl = ConfirmLottery_lexiu(self.driver)
     hp.open()
     hp.Moveable_float_close()
     hp.My_lottery_ticket()  # 点击我的彩票
     l.login_lexiu()  # 登录
     hp.homepage_link()  # 点击首页
     hp.Moveable_float_close()
     hp.gd_11_5_link()  # 点击广东11选5链接
     efcn.spread_mode_button()  # 展开玩法
     efcn.mode_choose(23, 1)  # 广东11选5任选二
     efcn.hand_options(4)  # 任选4个号
     efcn.confirm_number_button()  # 点击确认选号
     text1 = efcl.lottery_chase_throw_text()
     self.assertIn("6注1期1倍", text1)
     efcl.continue_choose_num()  #点击继续选号
     efcn.hand_options(4)  #点击任选4个号码
     efcn.confirm_number_button()  # 点击确认选号
     text2 = efcl.lottery_chase_throw_text()
     self.assertIn("12注1期1倍", text2)
     ssc_cl.intelligently_chase_button()  # 点击智能追号
     ssc_cl.submit_button()  # 点击提交订单
 def test_dantuo_optiops2_intelligent_chase_case(self):  ###mj20171211
     '''胆拖投注,进入智能追号页面,默认追期,提交订单'''
     hp = HomePage_lexiu(self.driver)
     hp.open()
     ulcn = UnionLottoChooseNumber_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     uncl = ConfirmLottery_lexiu(self.driver)
     efcl = EleChooseFiveConfirmLottery_lexiu(self.driver)
     sos = SubmitOrderSuccess_lexiu(self.driver)
     od = OrderDetails_lexiu(self.driver)
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     hp.Moveable_float_close()
     hp.My_lottery_ticket()  #点击我的彩票
     l = Login_lexiu(self.driver)
     l.login_lexiu()  # 点击登录
     hp.Home_page()  #点击首页
     hp.Moveable_float_close()
     hp.gd_11_5_link()  # 点击广东11选5链接
     efcn = ElevenFiveChooseNumber_lexiu(self.driver)
     efcn.countdown_text()  # 检查“距离第xxx期截止:”文案是否存在
     efcn.spread_mode_button()  ##选择展开玩法
     efcn.mode_choose(23, 16)  # 选择广东11选5胆拖模式任选二玩法
     efcn.dantuo_choose_num(1, 2)  # 选取1个胆码2个拖码
     total = efcn.total_buy_text()  # 获取注数文本
     self.assertIn("2", total)  # 检查2注
     efcn.confirm_number_button()  # 点击确认选号
     ssc_cl.intelligently_chase_button()  #点击智能选号
     ssc_cl.submit_button()  #点击智能追号的提交按钮
     uncl.confirm_and_pay_button()  # 点击确认支付
示例#8
0
 def test_jxks_many_note_many_double_znzh_case(self):
     """多注多倍号码,智能追号"""
     ha = HomePage_lexiu(self.driver)
     hb = GXKS_ChooseNumber_lexiu(self.driver)
     hb1 = ElevenFiveChooseNumber_lexiu(self.driver)
     hc = ConfirmLottery_lexiu(self.driver)
     hc1 = EleChooseFiveConfirmLottery_lexiu(self.driver)
     hl = Login_lexiu(self.driver)
     hd = LessPaySucess_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.guangxi_express_three_link()  # 点击广西快三
     hb.play_jxks_ethdx()  ##点击二同号单选
     hb.Ethdx(3)  ##点击3注
     hb1.confirm_number_button()  ###点击确认选号
     hc1.throw_times_input(13)  ##输入倍数13倍
     mur = hc1.lottery_chase_throw_text()  #读取注数
     self.assertEqual('9注1期13倍共234元', mur)
     ssc_cl.intelligently_chase_button()  # 点击智能追号
     ssc_cl.revise_button()  # 点击修改方案
     ssc_cl.revise_chase_input(84)  # 追号的输入框输入12
     ssc_cl.revise_confirm()  # 点击确认修改
     text = ssc_cl.totalIssue_text()
     self.assertNotIn('10期', text, '追号期数修改失败')  # 检查是否修改追号期数
     ssc_cl.submit_button()  # 点击提交按钮
     hl.login_lexiu()  # 输入账号,密码
     hc1.submit_order_button()  # 点击提交给站主
     hc.confirm_and_pay_button()  # 点击确认支付
     mur1 = hd.assect_pay()  ##读取支付状态文本
     self.assertEqual('订单提交成功', mur1)
 def test_jxks_a_note_many_double_Continue_znzh_case(self):
     """1注多倍,继续选号,智能追号"""
     ha = HomePage_lexiu(self.driver)
     hb = GXKS_ChooseNumber_lexiu(self.driver)
     hb1 = ElevenFiveChooseNumber_lexiu(self.driver)
     hc = JXKS_Confirm_lexiu(self.driver)
     hc1 = EleChooseFiveConfirmLottery_lexiu(self.driver)
     hc2 = ConfirmLottery_lexiu(self.driver)
     hl = Login_lexiu(self.driver)
     hd = LessPaySucess_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.guangxi_express_three_link()  # 点击广西快三
     hb.play_jxks_slhtx()  ##点击三连号通选
     hb.Slhtx_th()  ##点击选号
     hb1.confirm_number_button()###点击确认选号
     hc1.throw_times_input(13)  ##输入倍数13倍
     hc.Button_less()###点击倍数-号
     hc.Cont()###点击继续选号
     hb.Slhtx_th()  ##点击选号
     hb1.confirm_number_button()###点击确认选号
     mur=hc1.lottery_chase_throw_text()#读取注数
     self.assertEqual('2注1期12倍共48元',mur)
     ssc_cl.intelligently_chase_button()  # 点击智能追号
     text2 = ssc_cl.totalIssue_num()  # 获取追号期数文本
     ssc_cl.revise_button()  # 点击修改方案
     ssc_cl.revise_chase_input(12)  # 追号的输入框输入12
     ssc_cl.revise_cancel()  # 点击取消修改
     text = ssc_cl.totalIssue_text()
     self.assertIn(str(text2), text)  # 检查是否修改追号期数
     ssc_cl.submit_button()  # 点击提交按钮
     hl.login_lexiu()  # 输入账号,密码
     hc1.submit_order_button()  # 点击提交给站主
     hc2.confirm_and_pay_button()  # 点击确认支付
     mur1 = hd.assect_pay()  ##读取支付状态文本
     self.assertEqual('订单提交成功', mur1)
 def test_jxks_many_note_many_double_Continue_znzh_case(self):
     """多注多倍,继续选号,智能追号"""
     ha = HomePage_lexiu(self.driver)
     hb = GXKS_ChooseNumber_lexiu(self.driver)
     hb1 = ElevenFiveChooseNumber_lexiu(self.driver)
     hc = JXKS_Confirm_lexiu(self.driver)
     hc1 = EleChooseFiveConfirmLottery_lexiu(self.driver)
     hc2 = ConfirmLottery_lexiu(self.driver)
     hl = Login_lexiu(self.driver)
     hd = LessPaySucess_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.guangxi_express_three_link()  # 点击广西快三
     hb.play_jxks_ethfx()  ##点击二同号复选
     hb.Ethfx(2)  ##点击2注
     hb1.confirm_number_button()###点击确认选号
     hc.Button_add()  #点击倍数+号
     hc.Cont()###点击继续选号
     hb.Ethfx(1)##点击1注
     hb1.confirm_number_button()###点击确认选号
     mur=hc1.lottery_chase_throw_text()#读取注数
     self.assertEqual('3注1期2倍共12元',mur)
     ssc_cl.intelligently_chase_button()  # 点击智能追号
     text = ssc_cl.totalIssue_text()
     ssc_cl.revise_button()  # 点击修改方案
     ssc_cl.revise_times_add()  # 点击起始倍数的+
     ssc_cl.revise_confirm()  # 点击确认修改
     text1 = ssc_cl.totalIssue_text()
     self.assertNotEqual(text1, text, '倍数没有被修改')  # 检查是否修改追号期数
     ssc_cl.submit_button()  # 点击提交按钮
     hl.login_lexiu()  # 输入账号,密码
     hc1.submit_order_button()  # 点击提交给站主
     hc2.confirm_and_pay_button()  # 点击确认支付
     mur1 = hd.assect_pay()  ##读取支付状态文本
     self.assertEqual('订单提交成功', mur1)
 def test_intelligently_chase_ravise_chase_input12_cancel_revise_case(self):
     '''【修改方案】输入连续追号12期,点击【取消】,【提交】提交订单'''
     hp = HomePage_lexiu(self.driver)
     ulcn = UnionLottoChooseNumber_lexiu(self.driver)
     efcn = ElevenFiveChooseNumber_lexiu(self.driver)
     efcl = EleChooseFiveConfirmLottery_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     od = OrderDetails_lexiu(self.driver)
     l = Login_lexiu(self.driver)
     sos = SubmitOrderSuccess_lexiu(self.driver)
     cl = ConfirmLottery_lexiu(self.driver)
     hp.open()
     hp.Moveable_float_close()
     hp.My_lottery_ticket()  # 点击我的彩票
     l.login_lexiu()  # 登录
     hp.homepage_link()  # 点击首页
     hp.Moveable_float_close()
     hp.gd_11_5_link()  # 点击广东11选5链接
     efcn.spread_mode_button()  # 展开玩法
     efcn.mode_choose(23, 1)  # 广东11选5任选二
     efcn.hand_options(2)  # 任选2个号
     efcn.confirm_number_button()  # 点击确认选号
     text1 = efcl.lottery_chase_throw_text()
     self.assertIn("1注1期1倍", text1)
     ssc_cl.intelligently_chase_button()  # 点击智能追号
     text2 = ssc_cl.totalIssue_num()  # 获取追号期数文本
     ssc_cl.revise_button()  #点击修改方案
     ssc_cl.revise_chase_input(12)  #追号的输入框输入12
     ssc_cl.revise_cancel()  #点击取消修改
     text = ssc_cl.totalIssue_text()
     self.assertIn(str(text2), text)  # 检查是否修改追号期数
     ssc_cl.submit_button()  # 点击提交按钮
     cl.confirm_and_pay_button()  # 点击确认支付
     hp.Moveable_float_close()  # 如果出现浮层弹框,关闭
     text = sos.submit_order_success()  # 获取页面“订单提交成功”文本
     self.assertEqual("订单提交成功", text)
     trade_name = sos.trade_name_text()  # 获取页面商品名称文本
     self.assertIn("商品名称:乐秀赢球-广东11选5", trade_name)
 def test_intelligently_chase_ravise_chase_input12_times_input3_confirm_revise_case(
         self):
     '''【修改方案】输入连续追12期,起始倍数,输入3倍,点击【确定】,【提交】提交订单'''
     hp = HomePage_lexiu(self.driver)
     hp.open()
     l = Login_lexiu(self.driver)
     efcn = ElevenFiveChooseNumber_lexiu(self.driver)
     ulcn = UnionLottoChooseNumber_lexiu(self.driver)
     efcl = EleChooseFiveConfirmLottery_lexiu(self.driver)
     cl = ConfirmLottery_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     sos = SubmitOrderSuccess_lexiu(self.driver)
     hp.Moveable_float_close()  # 点击关闭浮窗
     hp.My_lottery_ticket()  # 点击我的彩票
     l.login_lexiu()  # 点击登录
     hp.homepage_link()  # 点击首页
     hp.cqssc_link()  # 点击重庆时时彩链接
     ssc_cn = CQSSC_ChooseNumber_lexiu(self.driver)
     ssc_cn.play_mode()  # 选择模式
     ssc_cn.five_star()  # 选择五星
     ssc_cn.wanwei_random(1)
     ssc_cn.qianwei_random(1)
     ssc_cn.baiwei_random(1)
     self.driver.execute_script("window.scroll(0,300)")
     ssc_cn.shiwei_random(1)
     ssc_cn.gewei_random(1)
     efcn.confirm_number_button()  # 确认选号
     ssc_cl.intelligently_chase_button()  # 点击智能追号
     text = ssc_cl.totalIssue_text()
     ssc_cl.revise_button()  #点击修改方案
     ssc_cl.revise_chase_input(12)  #追号的输入框输入12
     ssc_cl.revise_times_input(3)  #起始倍数输入框输入3
     ssc_cl.revise_confirm()  #点击确认修改
     text1 = ssc_cl.totalIssue_text()
     self.assertIn('12', text1, '追号期数修改失败')  # 检查是否修改追号期数
     self.assertNotEqual(text, text1)
     ssc_cl.submit_button()  # 点击提交按钮
     cl.confirm_and_pay_button()  # 点击确认支付
     hp.Moveable_float_close()  # 如果出现浮层弹框,关闭
     text2 = sos.submit_order_success()  # 获取页面“订单提交成功”文本
     self.assertEqual("订单提交成功", text2)
     trade_name = sos.trade_name_text()  # 获取页面商品名称文本
     self.assertIn("商品名称:乐秀赢球-重庆时时彩", trade_name)
 def test_intelligently_chase_input11_case(self):
     '''输入追11期,点击【提交】提交订单'''
     hp = HomePage_lexiu(self.driver)
     hp.open()
     l = Login_lexiu(self.driver)
     efcn = ElevenFiveChooseNumber_lexiu(self.driver)
     ulcn = UnionLottoChooseNumber_lexiu(self.driver)
     efcl = EleChooseFiveConfirmLottery_lexiu(self.driver)
     cl = ConfirmLottery_lexiu(self.driver)
     ssc_cl = CQSSCConfirmLottery_lexiu(self.driver)
     sos = SubmitOrderSuccess_lexiu(self.driver)
     hp.Moveable_float_close()  # 点击关闭浮窗
     hp.My_lottery_ticket()  # 点击我的彩票
     l.login_lexiu()  # 点击登录
     hp.homepage_link()  # 点击首页
     hp.cqssc_link()  # 点击重庆时时彩链接
     ssc_cn = CQSSC_ChooseNumber_lexiu(self.driver)
     ssc_cn.play_mode()  # 选择模式
     ssc_cn.five_star()  # 选择五星
     ssc_cn.wanwei_random(1)
     ssc_cn.qianwei_random(1)
     ssc_cn.baiwei_random(1)
     self.driver.execute_script("window.scroll(0,300)")
     ssc_cn.shiwei_random(1)
     ssc_cn.gewei_random(1)
     efcn.confirm_number_button()  #确认选号
     ssc_cl.intelligently_chase_button()  #点击智能追号
     text2 = ssc_cl.totalIssue_num()  #获取追号期数文本
     ssc_cl.znzh_issue_num_input(11)  #输入追11期
     ssc_cl.totalIssue()  #更新追号期数
     text = ssc_cl.totalIssue_text()
     self.assertIn(str(text2 + 1), text)  #检查是否修改追号期数
     ssc_cl.submit_button()  #点击提交按钮
     cl.confirm_and_pay_button()  #点击确认支付
     hp.Moveable_float_close()  # 如果出现浮层弹框,关闭
     text = sos.submit_order_success()  # 获取页面“订单提交成功”文本
     self.assertEqual("订单提交成功", text)
     trade_name = sos.trade_name_text()  # 获取页面商品名称文本
     self.assertIn("商品名称:乐秀赢球-重庆时时彩", trade_name)