Skip to content

Commit 4c41089

Browse files
committed
Fix test
1 parent fabe8f9 commit 4c41089

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/template-retail-react-app/app/pages/cart/index.test.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,6 @@ test('Can remove item from the cart', async () => {
236236
expect(await screen.findByTestId('sf-cart-empty')).toBeInTheDocument()
237237
})
238238

239-
/*
240-
* Skipping this test for now. Signup flow works fine.
241-
* The signup function then calls self.login() which in turn calls getSkeletonCustomer().
242-
* Need to figure out a way to return mockRegisteredCustomer from getSkeletonCustomer().
243-
* getSkeletonCustomer() always returns `{ customerId: 'customer_id', authType: 'customer_type' }` for some reason
244-
* instead of the mockRegisteredCustomer.
245-
*/
246239
test('Can apply and remove product-level coupon code with promotion', async () => {
247240
renderWithProviders(<WrappedCart />)
248241
expect(await screen.findByTestId('sf-cart-container')).toBeInTheDocument()

0 commit comments

Comments
 (0)