[7팀 박의근] Chapter 1-1. 프레임워크 없이 SPA 만들기 - #61
Open
adds-bug wants to merge 4 commits into
Open
Conversation
- 상품 목록 로딩 - 페이지 접속 시 로딩 상태가 표시된다 - 데이터 로드 완료 후 상품 목록이 렌더링된다 - 상품 목록 조회 - 각 상품의 기본 정보(이미지, 상품명, 가격)가 카드 형태로 표시된다
JunilHwang
force-pushed
the
main
branch
2 times, most recently
from
September 26, 2025 01:13
a90ad7b to
d5eb31b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
과제 체크포인트
배포 링크
https://adds-bug.github.io/front_6th_chapter1-1/
기본과제
상품목록
상품 목록 로딩
상품 목록 조회
한 페이지에 보여질 상품 수 선택
상품 정렬 기능
무한 스크롤 페이지네이션
상품을 장바구니에 담기
상품 검색
카테고리 선택
카테고리 네비게이션
현재 상품 수 표시
장바구니
장바구니 모달
장바구니 수량 조절
장바구니 삭제
장바구니 선택 삭제
장바구니 전체 선택
장바구니 비우기
상품 상세
상품 클릭시 상세 페이지 이동
/product/{productId}형태로 변경된다상품 상세 페이지 기능
상품 상세 - 장바구니 담기
관련 상품 기능
상품 상세 페이지 내 네비게이션
사용자 피드백 시스템
토스트 메시지
심화과제
SPA 네비게이션 및 URL 관리
페이지 이동
상품 목록 - URL 쿼리 반영
상품 목록 - 새로고침 시 상태 유지
장바구니 - 새로고침 시 데이터 유지
상품 상세 - URL에 ID 반영
/product/{productId})상품 상세 - 새로고침시 유지
404 페이지
AI로 한 번 더 구현하기
과제 셀프회고
기술적 성장
자랑하고 싶은 코드
개선이 필요하다고 생각하는 코드
AI 활용 경험 공유하기
리뷰 받고 싶은 내용
Vitest 설치 후 진행한 TESTING 에서 product.list.test.js 부분을 보면,
전체를 한 번에 테스트 진행할 경우 [1. 상품 목록 로딩]을 제외한 나머지는 모두 실패인 반면,
각 과제를 개별적으로 테스트할 경우 일부 테스트가 성공으로 변경되는 현상이 있었습니다.
그 원인을 추적하고자 했으나 알아내지 못했습니다.
관련하여 제가 확인해야 할 키워드 등을 얻고 싶습니다.
실제 웹앱에서는 정상적으로 동작하지만, 테스트는 통과하지 못한 경우에는 어떤 방식으로 접근해야 하나요?
예를 들어, [3. 페이지당 상품 수 선택]에서 '선택 변경 시 즉시 목록에 반영된다'는 요구사항의 경우,
웹앱에서 정상적으로 동작합니다. 그러나 테스트는 통과하지 못하는 상황인데요.
이런 경우, 웹앱에서 일어나고 있는 동작이 '온전하지 못하다'고 판단해야 하나요?
혹은, 테스트 코드가 잘못 작성된 건 아닌가? 하고 의심해봐야 할까요?