def test_manage_creat_true(self, driver):

        # 进入点击创建项目组
        ManagePage(driver).click_creat_project()
        ManagePage(driver).input_project_name("浩东最帅")
        #点击确认按钮
        ManagePage(driver).click_true_creat()
 def test_manage_creat_true_long(self, driver):
     # 进入点击创建项目组
     ManagePage(driver).click_creat_project()
     ManagePage(driver).input_project_name("一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十")
     # 点击确认按钮
     ManagePage(driver).click_true_creat()
     # 断言提示信息
     assert ManagePage(driver).get_text_button(
         '//*[@id="add_project_name_msg"]') == "项目组名称的长度不能超过20个汉字"
     # 点击取消按钮
     ManagePage(driver).click_quit_creat()
 def test_comein_manage(self, driver):
     LoginPage(driver,
               configRead().read_manage_username(),
               configRead().read_manage_pwd()).Login()
     # 主页选择项目组
     HomePage_one(driver).choise_project()
     # 主页进入管理中心
     ManagePage(driver).click_comein()
 def test_manage_creat_true_emty(self, driver):
     ManagePage(driver).click_creat_project()
     ManagePage(driver).input_project_name("")
     # 点击确认按钮
     ManagePage(driver).click_true_creat()
     # 断言提示信息
     print(
         ManagePage(driver).get_text_button(
             '//*[@id="add_project_name_msg"]'))
     assert ManagePage(driver).get_text_button(
         '//*[@id="add_project_name_msg"]') == "项目组名称不能为空"
     # 点击取消按钮
     ManagePage(driver).click_quit_creat()
 def test_manage_creat_true_noinput(self, driver):
     # 进入点击创建项目组
     ManagePage(driver).click_creat_project()
     # 点击确认按钮
     ManagePage(driver).click_true_creat()
 def test_manage_creat_true_teshuzifu(self, driver):
     # 进入点击创建项目组
     ManagePage(driver).click_creat_project()
     ManagePage(driver).input_project_name(r"!@#$%^&*()_")
     # 点击确认按钮
     ManagePage(driver).click_true_creat()
 def test_manage_creat_quit(self, driver):
     # 进入点击创建项目组
     ManagePage(driver).click_creat_project()
     ManagePage(driver).input_project_name("浩东最帅")
     #点击取消按钮
     ManagePage(driver).click_quit_creat()
 def test_comein_xiangqing(self, driver):
     ManagePage(driver).click_comein()
     # 进入查看详情页面
     ManagePage(driver).click_chakanxiangqing_project()