class Test_live_setting_sign_edit(unittest.TestCase): """直播签到点编辑""" @classmethod # 类方法 def setUp(self): self.setting = MapSettingPage() def test_live_setting_sign_edit(self): self.setting.login() self.setting.iframe1() self.setting.base_setting() self.setting.iframe01() self.setting.map_setting() self.setting.iframe00() self.setting.live_setting() self.setting.iframe3() self.setting.sign_edit() self.setting.iframe4() self.setting.sign('自动点', '30') def tearDown(self): self.setting.quit_driver()
class Test_live_setting_addDistance(unittest.TestCase): """直播签到点图片设置""" @classmethod # 类方法 def setUp(self): self.setting = MapSettingPage() def test_live_setting_addDistance(self): self.setting.login() self.setting.iframe1() self.setting.base_setting() self.setting.iframe01() self.setting.map_setting() self.setting.iframe00() self.setting.live_setting() self.setting.parentframe() self.setting.iframe3() self.setting.addDistance() self.setting.iframe4() self.setting.addDistance_name() self.setting.submit() def tearDown(self): self.setting.quit_driver()
class Test_live_setting_img(unittest.TestCase): """直播签到点图片设置""" @classmethod # 类方法 def setUp(self): self.setting = MapSettingPage() def test_live_setting_img(self): self.setting.login() self.setting.iframe1() self.setting.base_setting() self.setting.iframe01() self.setting.map_setting() self.setting.iframe00() self.setting.live_setting() self.setting.parentframe() self.setting.iframe3() self.setting.addSignImg() self.setting.iframe4() self.setting.upload_img() self.setting.addsignimg('自动签到点', '23.147796,113.277602', '0') def tearDown(self): self.setting.quit_driver()
class Test_live_setting_sign(unittest.TestCase): """直播签到点设置""" @classmethod # 类方法 def setUp(self): self.setting = MapSettingPage() def test_live_setting_sign(self): self.setting.login() self.setting.iframe1() self.setting.base_setting() self.setting.iframe01() self.setting.map_setting() self.setting.iframe00() self.setting.live_setting() self.setting.iframe3() self.setting.addSign_button() self.setting.iframe4() self.setting.select_sign() # self.setting.addSign() # self.setting.iframe4() # self.setting.addsign('111', '23.147796,113.277602', '10') def tearDown(self): self.setting.quit_driver()
class Test_live_setting_distance_add(unittest.TestCase): """直播设置--添加路程对比""" @classmethod # 类方法 def setUp(self): self.setting = MapSettingPage() def test_live_setting_distance_add(self): self.setting.login() self.setting.iframe1() self.setting.base_setting() self.setting.iframe01() self.setting.map_setting() self.setting.iframe00() self.setting.live_setting() self.setting.parentframe() self.setting.iframe3() self.setting.distance_button() self.setting.iframe4() self.setting.distance_select_track_button() self.setting.iframe5() self.setting.distance_select_track() def tearDown(self): self.setting.quit_driver()