添加LOTTERY_E2E环境变量来控制E2E测试相关功能, 包括绕过验证码、登录限制和钱包API URL验证, 同时更新composer.json以包含E2E专用的提供者和服务。
This commit is contained in:
17
e2e/package.json
Normal file
17
e2e/package.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "lotterlaravel-e2e",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "playwright test",
|
||||
"test:headed": "playwright test --headed",
|
||||
"test:ui": "playwright test --ui",
|
||||
"report": "playwright show-report"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.49.0",
|
||||
"@types/pusher-js": "^4.2.2",
|
||||
"pusher-js": "^8.4.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user