Bettre practice to execute DB preparation from task directly? #1137
              
                Unanswered
              
          
                  
                    
                      baptisteArno
                    
                  
                
                  asked this question in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Wouldn't it be a better practice to execute DB preparation directly from the task script instead of calling an HTTP endpoint?
I'm thinking it introduces routes that are consumed only by Cypress and these routes can (accidentally) become backdoors.
So is there any reason we're implementing these?
Beta Was this translation helpful? Give feedback.
All reactions