@@ -226,9 +226,10 @@ describe('Área do Usuário e Sistema de pagamento', () => {
226226 cy . contains ( 'button' , 'Confirmar pagamento' , { timeout : 1500 } )
227227 . should ( 'be.visible' )
228228 . click ( ) ;
229+
230+ cy . wait ( 60000 ) ;
229231 } ) ;
230232
231- cy . wait ( 60000 ) ;
232233 cy . get ( '#chakra-modal-modal-stripe-payment_intent-succeeded' , { timeout : 60000 } )
233234 . should ( 'be.visible' )
234235 . and ( 'have.css' , 'opacity' , '1' )
@@ -305,6 +306,7 @@ describe('Área do Usuário e Sistema de pagamento', () => {
305306 expect ( response . status ) . to . eq ( 200 ) ;
306307 expect ( response . body ) . to . have . property ( 'success' , true ) ;
307308 cy . wait ( 60000 ) ;
309+
308310 cy . visit ( `/user/${ username } ?plans_and_payment` ) ;
309311
310312 cy . contains ( 'p' , 'BD Grátis' , { timeout : 10000 } )
@@ -343,9 +345,10 @@ describe('Área do Usuário e Sistema de pagamento', () => {
343345 cy . contains ( 'button' , 'Confirmar pagamento' , { timeout : 1500 } )
344346 . should ( 'be.visible' )
345347 . click ( ) ;
348+
349+ cy . wait ( 60000 ) ;
346350 } ) ;
347351
348- cy . wait ( 60000 ) ;
349352 cy . get ( '#chakra-modal-modal-stripe-payment_intent-succeeded' , { timeout : 60000 } )
350353 . should ( 'be.visible' )
351354 . and ( 'have.css' , 'opacity' , '1' )
@@ -422,6 +425,7 @@ describe('Área do Usuário e Sistema de pagamento', () => {
422425 expect ( response . status ) . to . eq ( 200 ) ;
423426 expect ( response . body ) . to . have . property ( 'success' , true ) ;
424427 cy . wait ( 60000 ) ;
428+
425429 cy . visit ( `/user/${ username } ?plans_and_payment` ) ;
426430
427431 cy . contains ( 'p' , 'BD Grátis' , { timeout : 10000 } )
0 commit comments