Playwright E2E 테스트 환경 구성 및 테스터 계정 생성

- Playwright + Chromium 브라우저 테스트 환경 세팅
- 테스터 계정 4개 생성 (admin/local/shop/user, pw: test1234!)
  - seed SQL + Node.js 시더 스크립트 포함
- E2E 테스트 23개 작성 (전체 통과):
  - auth: 로그인/로그아웃/실패/회원가입 (9개)
  - admin: 지자체관리자/Super Admin 패널 접근 (10개)
  - public: 홈/로그인/회원가입/404 (4개)
- CLAUDE.md: 테스트 섹션을 Playwright 기반으로 업데이트
- jobs.md: 테스트 작업 완료 기록

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
javamon1174
2026-03-25 15:18:57 +09:00
parent 17d61b3ee8
commit e318c5e042
12 changed files with 649 additions and 15 deletions

20
package.json Normal file
View File

@@ -0,0 +1,20 @@
{
"name": "jongryangje",
"version": "1.0.0",
"description": "종량제 쓰레기봉투 물류시스템",
"scripts": {
"test": "npx playwright test",
"test:ui": "npx playwright test --ui",
"test:headed": "npx playwright test --headed"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wixon-associates/jongryangje.git"
},
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.58.2",
"bcryptjs": "^3.0.3",
"mysql2": "^3.20.0"
}
}