[webui] test cases for comment post methods