File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/template-retail-react-app/app/pages/checkout Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -139,9 +139,7 @@ test('Renders skeleton until customer and basket are loaded', () => {
139139 expect ( queryByTestId ( 'sf-checkout-container' ) ) . not . toBeInTheDocument ( )
140140} )
141141
142- // TODO: remove skip
143- // TESTING
144- test . skip ( 'Can proceed through checkout steps as guest' , async ( ) => {
142+ test ( 'Can proceed through checkout steps as guest' , async ( ) => {
145143 // Keep a *deep* copy of the initial mocked basket. Our mocked fetch responses will continuously
146144 // update this object, which essentially mimics a saved basket on the backend.
147145 let currentBasket = JSON . parse ( JSON . stringify ( ocapiBasketWithItem ) )
@@ -308,7 +306,7 @@ test.skip('Can proceed through checkout steps as guest', async () => {
308306 // Fill out credit card payment form
309307 user . type ( screen . getByLabelText ( / c a r d n u m b e r / i) , '4111111111111111' )
310308 user . type ( screen . getByLabelText ( / n a m e o n c a r d / i) , 'Testy McTester' )
311- user . type ( screen . getByLabelText ( / e x p i r a t i o n d a t e / i) , '1224 ' )
309+ user . type ( screen . getByLabelText ( / e x p i r a t i o n d a t e / i) , '1240 ' )
312310 user . type ( screen . getByLabelText ( / s e c u r i t y c o d e / i) , '123' )
313311
314312 // Same as shipping checkbox selected by default
You can’t perform that action at this time.
0 commit comments