forked from baron/baron-sso
e2e 구조변경
This commit is contained in:
29
userfront-e2e/README.md
Normal file
29
userfront-e2e/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# UserFront WASM E2E
|
||||
|
||||
`userfront` WASM 빌드 산출물을 Playwright로 검증하는 테스트 워크스페이스입니다.
|
||||
|
||||
## 실행 방법
|
||||
|
||||
1. 의존성 설치
|
||||
```bash
|
||||
cd userfront-e2e
|
||||
npm install
|
||||
```
|
||||
|
||||
2. 테스트 실행(빌드 포함)
|
||||
```bash
|
||||
cd userfront-e2e
|
||||
npm run test:wasm
|
||||
```
|
||||
|
||||
3. 이미 빌드가 있을 때 테스트만 실행
|
||||
```bash
|
||||
cd userfront-e2e
|
||||
npm test
|
||||
```
|
||||
|
||||
## 환경변수
|
||||
|
||||
- `BASE_URL`: 외부 배포 URL을 테스트할 때 사용합니다. 설정하면 로컬 정적 서버를 띄우지 않습니다.
|
||||
- `PORT`: 로컬 정적 서버 포트 (기본 `4173`)
|
||||
- `LOCALE`: 브라우저 locale (기본 `ko-KR`)
|
||||
Reference in New Issue
Block a user