[webui] make the project test case as reliable as the package