def click_to_login(self, username, pwd):
        self.login_handle.input_username(username)
        self.login_handle.input_pwd(pwd)

        # 删除disable属性
        js = 'document.getElementById("inp1").removeAttribute("disabled")'
        DriverUtil.get_mis_driver().execute_script(js)
        self.login_handle.click_btn()
    def test_login_success(self):
        username = "******"
        pwd = "testpwd123"
        nickname = "管理员"

        self.login.click_to_login(username, pwd)

        # 断言
        is_exit = utils.exist_text(DriverUtil.get_mis_driver(), nickname)
        assert is_exit