Is there a way to stop test execution when one test(scenario) fails in your test file? #3241
-
| 
         I currently have a test file(.ts file) in codecept with 70 scenarios, if the 5th test scenario fails - is there a way I can stop the other 65 test scenarios from running?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            jancorvus
          
      
      
        Feb 9, 2022 
      
    
    Replies: 1 comment 1 reply
-
| 
         Run with the key  It is strange that this is absent in the documentation.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        AakashAshok
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Run with the key
--bailIt is strange that this is absent in the documentation.