From eae6d9ac6b843447dd3840f9840232a9103b50f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Fri, 13 Mar 2026 11:25:44 +0800 Subject: [PATCH] feat: add tiered test scripts to package.json --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 150fbd1..8fbbb5b 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,11 @@ "test:unit": "jest", "test:e2e": "cd e2e && npm test", "test:smoke": "playwright test --grep @smoke", + "test:tier:fast": "cd e2e && TEST_TIER=fast npx playwright test --config=playwright.config.tiered.ts", + "test:tier:standard": "cd e2e && TEST_TIER=standard npx playwright test --config=playwright.config.tiered.ts", + "test:tier:deep": "cd e2e && TEST_TIER=deep npx playwright test --config=playwright.config.tiered.ts", + "test:tier:all": "npm run test:tier:fast && npm run test:tier:standard && npm run test:tier:deep", + "test:tier:ci": "npm run test:tier:fast && npm run test:tier:standard || npm run test:tier:deep", "test:report": "allure generate test-results/allure-results && allure open", "test:performance": "k6 run tests/performance/load-test.js", "test:stress": "k6 run tests/performance/stress-test.js",