[imp]:improve view file and yml test cases