You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ca52d65
Browse filesBrowse the repository at this point in the historyBrowse files
상황:
quality-cycle의 onboarding-browser 게이트가 세 지점에서 실패했다. 모두 이번 변경이 아니라
잠복해 있던 낡은 계약이다. (1) 학습 홈 heading pin이 7월 28일 홈 개편(4efc935) 이전
문구("코드로 증명")를 요구했다. (2) 홈의 mastery 통계, 이어서 학습, 다시 풀 문제 블록을
무조건 요구했는데, 현재 홈은 이 블록들을 canonical 클라이언트 증거 저장소에서 파생해
증거가 있을 때만 렌더한다. 게이트 스텁이 fixture를 주던 /api/curriculum/progress와
/api/curriculum/reviews는 홈이 더 이상 호출하지 않는 죽은 경로다(이번 실행 API 호출
목록으로 확인). (3) 노트북 자동화 셀 실행 버튼을 aria-label "셀 실행" 정확 일치로 찾았는데,
노트북 셀 실행 버튼은 셀 위치를 포함한 맥락 라벨("Automation · 세션 유지 셀 1 / 3 실행")을
쓴다.
변경:
tests/surface/verifyOnboardingPlaywright.py에서
- 홈 heading pin을 현재 문구("오늘 완성할 결과를 선택하세요")로 갱신했다.
- 신규 사용자 홈은 빈 상태가 정직하다는 계약으로 재정렬했다. 증거 없이 mastery·resume·
reviews 블록이 렌더되면 실패하고, 시작 CTA(data-curriculum-home-start)와 목표 지도,
self-rating 부재를 검증한다. 증거 기반 상태는 실제 증거를 만드는 product-experience와
web-learning 게이트가 담당한다.
- 노트북 자동화 셀 3곳의 실행 버튼 선택자를 button.notebookCellRunButton 우선, aria-label
"실행" 접미사 fallback으로 바꿨다.
영향:
onboarding-browser 게이트가 현재 제품 사실을 검증한다. 게이트 완화가 아니라 검증 대상
교정이다. 신규 사용자 홈의 거짓 통계 렌더를 잡는 부정 경로 검증이 새로 생겼다.
검증:
uv run --no-sync --with playwright python -X utf8 tests/surface/verifyOnboardingPlaywright.py
실행 결과 14개 체크 전부 ok("ok: onboarding browser verified ..."). 실패 재현과 원인
확인은 게이트 debugText의 페이지 텍스트, API 호출 목록, curriculumHome.tsx 렌더 조건
(creditedOutcomes/totalDue/resume 조건부)과 대조했다.
0 commit comments