chore: 删除e2e测试相关的初始化文件和快照文件

清理不再需要的测试初始化文件和视觉回归测试的快照文件,以保持代码库整洁
This commit is contained in:
张翔
2026-03-27 09:56:57 +08:00
parent f76137b8b0
commit 7a38eae6e0
421 changed files with 673 additions and 34387 deletions
-43
View File
@@ -1,43 +0,0 @@
{
"name": "e2e-tests",
"version": "1.0.0",
"private": true,
"scripts": {
"test": "playwright test",
"test:ui": "playwright test --ui",
"test:debug": "playwright test --debug",
"test:headed": "playwright test --headed",
"test:smoke": "playwright test --grep @smoke",
"test:regression": "playwright test --grep @regression",
"test:performance": "playwright test --grep @performance",
"test:responsive": "playwright test --grep @responsive",
"test:visual": "playwright test --grep @visual",
"test:accessibility": "playwright test --grep @accessibility",
"test:security": "playwright test --grep @security",
"test:report": "playwright show-report",
"test:allure": "allure generate allure-results --clean -o allure-report",
"test:allure:open": "allure open allure-report",
"test:allure:serve": "allure serve allure-results",
"test:all-with-progress": "node run-tests-with-progress.js",
"test:coverage": "playwright test --config=playwright.coverage.config.ts && node coverage-reporter.js",
"install": "playwright install --with-deps"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.1",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@playwright/test": "^1.58.2",
"@types/node": "^20.11.0",
"allure-commandline": "^2.37.0",
"allure-playwright": "^3.5.0",
"chrome-launcher": "^1.2.1",
"glob": "^13.0.6",
"istanbul-lib-coverage": "^3.2.2",
"lighthouse": "^13.0.3",
"typescript": "^5.3.0",
"v8-to-istanbul": "^9.3.0"
},
"dependencies": {
"@sentry/nextjs": "^10.42.0"
}
}