增加 后端,后台管理系统,uniapp会员端的自动化测试。

This commit is contained in:
2026-07-21 18:09:29 +08:00
parent df0e68469b
commit 6b60b3b4da
64 changed files with 13095 additions and 376 deletions
+15 -1
View File
@@ -4,7 +4,15 @@
"description": "",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node e2e/run-tests.js",
"test:smoke": "node e2e/run-tests.js --smoke",
"test:journeys": "node e2e/run-tests.js --journeys",
"test:all": "node e2e/run-tests.js --close",
"test:profile": "node e2e/run-tests.js --profile",
"test:booking": "node e2e/run-tests.js --booking",
"test:watch": "node e2e/run-tests.js --watch",
"test:quick": "jest --config e2e/jest.config.js --verbose --forceExit",
"test:quick:smoke": "jest --config e2e/jest.config.js --testPathPattern='smoke/' --verbose --forceExit"
},
"keywords": [],
"author": "",
@@ -14,5 +22,11 @@
"@dcloudio/uni-ui": "^1.5.12",
"crypto-js": "^4.2.0",
"luch-request": "^3.1.1"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"jest": "^29.7.0",
"jest-html-reporter": "^4.4.0",
"miniprogram-automator": "^0.12.1"
}
}