docs: separate smoke and e2e run instructions
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m31s

This commit is contained in:
2026-07-04 21:13:17 +09:00
parent 8bc8cea5ef
commit eb24f22477
2 changed files with 24 additions and 2 deletions
+12 -2
View File
@@ -69,6 +69,17 @@ jobs:
echo "✗ TIMEOUT: Deployment failed to publish ${SHORT_VERSION} within 60 seconds" >&2
exit 1
- name: Browser Smoke verification
env:
# Green-Blue 배포 지원: Nginx를 통해 active 포트로 라우팅
E2E_BASE_URL: http://${{ secrets.DEPLOY_HOST }}/taxbaik
# E2E 테스트는 test_admin 테스트 계정 사용 (실 admin 계정과 분리)
E2E_ADMIN_USERNAME: test_admin
E2E_ADMIN_PASSWORD: TestAdmin@123456
run: |
echo "Running smoke checks on Desktop Chrome (production verification)"
npm run test:e2e:smoke -- --project="Desktop Chrome"
- name: Browser E2E verification
env:
# Green-Blue 배포 지원: Nginx를 통해 active 포트로 라우팅
@@ -77,8 +88,7 @@ jobs:
E2E_ADMIN_USERNAME: test_admin
E2E_ADMIN_PASSWORD: TestAdmin@123456
run: |
echo "Running E2E tests on Desktop Chrome (production verification)"
npm run test:e2e:smoke -- --project="Desktop Chrome"
echo "Running full E2E on Desktop Chrome (production verification)"
npx playwright test --project="Desktop Chrome" --reporter=html --reporter=list
- name: API smoke verification
+12
View File
@@ -195,6 +195,18 @@ ADMIN_URL="https://www.taxbaik.com/taxbaik/admin/login" \
bash ./scripts/taxbaik-smoke.sh
```
Windows PowerShell에서는 이렇게 실행합니다.
```powershell
$env:E2E_BASE_URL = "https://www.taxbaik.com/taxbaik"
npm run test:e2e:smoke -- --project="Public Smoke"
npm run test:e2e:smoke -- --project="Admin Smoke"
$env:ROOT_URL = "https://www.taxbaik.com/"
$env:ADMIN_URL = "https://www.taxbaik.com/taxbaik/admin/login"
bash ./scripts/taxbaik-smoke.sh
```
---
## 개발 지침