File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ describe.sequential("2. 장바구니 수량 조절", () => {
124124
125125 // 상품을 장바구니에 추가하고 수량을 2개로 증가
126126 await addProductToCart ( "pvc 투명 젤리 쇼핑백" ) ;
127- expect ( document . querySelector ( ".quantity-input" ) . value ) . toBe ( "3 " ) ;
127+ expect ( document . querySelector ( ".quantity-input" ) . value ) . toBe ( "1 " ) ;
128128
129129 const cartIcon = document . querySelector ( "#cart-icon-btn" ) ;
130130 await userEvent . click ( cartIcon ) ;
@@ -138,12 +138,12 @@ describe.sequential("2. 장바구니 수량 조절", () => {
138138 expect ( decreaseButton ) . toBeInTheDocument ( ) ;
139139
140140 const quantityInput = document . querySelector ( ".quantity-input" ) ;
141- expect ( quantityInput . value ) . toBe ( "4 " ) ;
141+ expect ( quantityInput . value ) . toBe ( "3 " ) ;
142142
143143 await userEvent . click ( decreaseButton ) ;
144144
145145 // 수량이 감소했는지 확인
146- expect ( quantityInput . value ) . toBe ( "3 " ) ;
146+ expect ( quantityInput . value ) . toBe ( "1 " ) ;
147147 } ) ;
148148
149149 test ( "수량 변경 시 총 금액이 실시간으로 업데이트된다" , async ( ) => {
You can’t perform that action at this time.
0 commit comments