- 移除不必要的挂单数量记录步骤 - 简化挂单流程,每个员工只挂单一次 - 使用 expect.soft 进行软断言,提高测试稳定性 - 优化员工选择和挂单校验的代码结构
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "automated-testing",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"ui": "npx playwright test --ui",
|
|
"ui-staging": "cross-env NODE_ENV=staging npx playwright test --ui",
|
|
"test": "npx playwright test --ui --headed"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.meiguanjia.net/gitlab/hlk/automated-testing.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^8.4.1",
|
|
"@playwright/test": "^1.51.1",
|
|
"@types/node": "^22.3.0",
|
|
"axios": "^1.7.4",
|
|
"cross-env": "^7.0.3"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.19.2",
|
|
"express-session": "^1.18.0",
|
|
"http-proxy-middleware": "^3.0.0",
|
|
"jimp": "^0.22.12",
|
|
"ldap": "^0.7.1",
|
|
"ldap-authentication": "^3.2.2",
|
|
"ldapjs": "^3.0.7",
|
|
"playwright": "^1.51.1",
|
|
"qrcode-reader": "^1.0.4",
|
|
"sharp": "^0.33.5",
|
|
"tesseract.js": "^5.1.1",
|
|
"typescript": "^5.6.3"
|
|
}
|
|
}
|