forked from baron/baron-sso
계정 생성, 비밀번호변경, 삭제 테스트케이스 추가
This commit is contained in:
@@ -40,11 +40,26 @@
|
||||
- `template.toml` 제외
|
||||
- 유효 locale 파일(`en.toml`, `ko.toml`)만 지원 목록에 반영
|
||||
|
||||
### S8. 실계정 비밀번호 변경 스모크(E2E)
|
||||
- 목적: 로그인 상태 플로우가 기존 동작을 깨지 않았는지 확인
|
||||
- 절차:
|
||||
- Kratos Admin API로 임시 계정 생성(초기 비밀번호 포함)
|
||||
- 구 비밀번호 로그인 성공 확인
|
||||
- Settings API로 비밀번호 변경
|
||||
- 구 비밀번호 로그인 실패 확인
|
||||
- 신 비밀번호 로그인 성공 확인
|
||||
- 테스트 계정 삭제(정리)
|
||||
- 기대:
|
||||
- 비밀번호 변경 전/후 인증 결과가 정확히 반전
|
||||
- 테스트 종료 후 identity 삭제 완료(잔존 계정 없음)
|
||||
|
||||
## 실행 방법
|
||||
```bash
|
||||
cd userfront
|
||||
flutter test test/locale_utils_test.dart
|
||||
flutter test test/locale_registry_test.dart
|
||||
flutter test test/router_redirect_widget_test.dart
|
||||
flutter test --platform chrome test/locale_utils_test.dart test/locale_registry_test.dart test/router_redirect_widget_test.dart
|
||||
```
|
||||
|
||||
## 자동화 매핑
|
||||
@@ -52,3 +67,17 @@ flutter test test/locale_registry_test.dart
|
||||
- S1~S6 전부 커버
|
||||
- `userfront/test/locale_registry_test.dart`
|
||||
- S7 커버
|
||||
- `userfront/test/router_redirect_widget_test.dart`
|
||||
- 로그인/비로그인 redirect 동작 검증(`redirect_uri`, `redirect_url`)
|
||||
|
||||
## 최근 실행 결과
|
||||
- 실행일: 2026-02-19
|
||||
- 결과:
|
||||
- Flutter 테스트(VM): 통과
|
||||
- Flutter 테스트(Chrome): 통과
|
||||
- S8 실계정 E2E: 통과
|
||||
- `login_old_password=200`
|
||||
- `change_password=200`
|
||||
- `login_old_after_change=400`
|
||||
- `login_new_after_change=200`
|
||||
- `cleanup(delete identity)=204`
|
||||
|
||||
Reference in New Issue
Block a user