nacos/console-ui/test
2022-08-11 21:40:54 +08:00
..
commons console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
sample refactor: 💡 update console-ui theme (#8951) 2022-08-11 21:40:54 +08:00
uploadfiles console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
.editorconfig console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
.gitignore console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
config.json console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
hosts console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
install.sh console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
package.json 解决前端目录调整后前端访问不了问题 (#4206) 2020-11-12 09:18:45 +08:00
README.md console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
run.bat console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
run.sh console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00

使用说明

安装依赖

npm install uirecorder mocha -g
npm install

安装chrome浏览器插件

npm run installdriver

开始录制测试用例

// xxx.spec.js 为你的测试用例文件名称
uirecorder sample/xxx.spec.js

回归测试

启动服务

npm run server

单个文件测试

// xxx.spec.js 为你的测试用例文件名称
npm run singletest sample/xxx.spec.js

并发测试

npm run paralleltest

查看报告

open reports/index.html