Add coco studio ui focus test cases for Lua and add deprecated support for some functions