�网页�End2End测试GUI工具
示例:
特性
- 无需编写代码模拟浏览器行为
- 模拟脚本实时预览
- �支持基于image diff的css回归测试
- 自动检测page error、page performance
使用方法
安装Mongodb
在common/config.js中配置mongodb数据库(默认已配置好)
安装node_module
npm install
运行
npm run server
web开发
Puppetry web端使用ElementUI,开发web端功能方法:
cd ./web
npm install
npm run dev
注意事项
-
如果在�Linux服务器安装,请保证服务器版本可以安装puppeteer, 如果是centos系统,保证系统版本为7.0以上, 参考:github.com/GoogleChrom…
-
服务器端部署需要更新web端访问的域名地址,更新方法:
cd ./web
//更新在web/env.js中pro环境变量
npm run build
License
MIT License
