window.qunitTestsArray['guiViews[user]']={test:function(){let list_path='/user/';let page_path=list_path+'{'+path_pk_key+'}/';let instances_info=guiTests.getEmptyInstancesInfo();guiTests.testSetOfViews(list_path,instances_info,{new:[{is_valid:true,data:{username:{value:randomString(6)},is_active:{value:true},is_staff:{value:true},first_name:{value:randomString(6)},last_name:{value:randomString(6)},email:{value:randomString(6)+'@mail.com'},password:{value:'password'},password2:{value:'password'},},},],edit:[{is_valid:true,data:{username:{value:randomString(6)+randomString(6)}},},{is_valid:true,data:{first_name:{value:'Qwerty',}},},],},true);guiTests.copyInstanceFromPageView(page_path,instances_info,{is_valid:true,remove:true,data:{username:{value:'copied-'+randomString(6),},is_active:{value:true},}});guiTests.openPage(page_path,instances_info.url_params,true);guiTests.clickAndWaitRedirect('.btn-action-change_password',true);guiTests.click(".btn-operation-generate_password");guiTests.setValues(page_path+'change_password/',{old_password:{value:'password'},});guiTests.clickAndWaitRedirect('.btn-operation-execute',true);guiTests.testRemovePageViewInstance(list_path+"{"+path_pk_key+"}/",instances_info,true);},};window.qunitTestsArray['guiViews[profile]']={test:function(){let instances_info={url_params:{},key_fields_data:{},};guiTests.testPageView("/profile/",instances_info,true);guiTests.openPage("/profile/edit/",instances_info.url_params);},};