API 클라이언트 경로 최적화: 모든 절대 경로 → 상대 경로 전환

## 변경사항
- ApiClient (2개): BuildApiUri에서 /taxbaik 절대 경로 제거
- TokenRefreshHandler: 토큰 갱신 엔드포인트 상대 경로로 변경
- AdminNavigationModel: 모든 네비게이션 링크 상대 경로로 변경
- E2E 테스트: /taxbaik/admin/dashboard → /admin/dashboard 경로 업데이트
- E2E 필터: WASM 오류 필터 경로 업데이트

## 현황
 빌드: 0 오류, 2 경고
 공개 페이지: 5/5 E2E 테스트 통과
 관리자 페이지: WASM 부팅 오류 (원인 조사 중)
 로그인 API: SSH 터널 연결 시 정상 작동 확인

## 다음 단계
- WASM 부팅 오류 원인 파악 (브라우저 콘솔 확인 필요)
- 혹은 다른 경로 하드코딩 찾기
- 프로덕션 배포 검증

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-07-08 15:50:09 +09:00
parent 91014a5ae3
commit ea6d68da72
8 changed files with 79 additions and 37 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ test.describe('admin smoke', () => {
text.includes('instantiate_wasm_module') ||
text.includes('resource-collection') ||
text.includes("The value 'get' is not a function") ||
text.includes('download \'http://localhost:5001/taxbaik/admin/_framework/') ||
text.includes('download \'http://localhost:5001/admin/_framework/') ||
text.includes('failed 404 Not Found')
) {
return;
@@ -42,7 +42,7 @@ test.describe('admin smoke', () => {
text.includes('Failed to fetch') ||
text.includes('resource-collection') ||
text.includes("The value 'get' is not a function") ||
text.includes('download \'http://localhost:5001/taxbaik/admin/_framework/') ||
text.includes('download \'http://localhost:5001/admin/_framework/') ||
text.includes('failed 404 Not Found')
) {
return;
@@ -56,7 +56,7 @@ test.describe('admin smoke', () => {
await expect(page.getByRole('heading', { name: /관리자 로그인/ })).toBeVisible();
await loginThroughAdminUi(page, baseUrl, username, password);
await expect(page).toHaveURL(/\/taxbaik\/admin\/dashboard$/, { timeout: 20_000 });
await expect(page).toHaveURL(/\/admin\/dashboard$/, { timeout: 20_000 });
// WASM 부팅 완료 대기 (네트워크 유휴 + 요소 확인)
await page.waitForLoadState('networkidle', { timeout: 30_000 });