window.qunitTestsArray['guiPaths.host']={test:function()
{let env={};let pk_obj={};guiTests.createUser(env,pk_obj);guiTests.testForPathInternalLevel("/host/",{create:[{is_valid:true,data:{name:{value:rundomString(6)},notes:{value:rundomString(6)},},},],update:[{is_valid:true,data:{notes:{value:rundomString(6)},},},]},env,pk_obj,true);guiTests.copyObjectByPath("/host/{pk}/copy/",{data:{name:{value:rundomString(6)},},page:{delete:true,},},env,pk_obj);guiTests.executeAction("/host/{pk}/set_owner/",{data:function(){return{user_id:{value:{id:env.user_id,text:env.user_name},do_not_compare:true,}}}},env,pk_obj);guiTests.testForPathInternalLevel("/host/{pk}/variables/",{create:[{is_valid:true,data:{key:{value:"ansible_user"},value:{value:"ubuntu"},},},],update:[{is_valid:true,data:{value:{value:"centos"},},},],page:{delete:true,}},env,pk_obj);["/host/{pk}/","/user/{user_id}/",].forEach((path)=>{guiTests.deleteObjByPath(path,env,pk_obj);});}}