Stopping Long-Running Tests to Prevent Blocking Others

Hey could you please help me a way to stop my tests if it’s running for an extended period and causing other parallel tests to be blocked?

1 Like

Hiii Helen,

Thanks for bringing this up! It’s an important issue, and I’m glad we have the chance to discuss it together.

Certainly! To address prolonged test execution impacting parallel tests, utilize the ‘max duration’ flag. By employing this flag, you set a predefined time limit for your test. Once this limit is reached, the test automatically stops, freeing resources for concurrent tests to proceed smoothly. Detailed information on configuring this setting can be found at: Configuring Cypress Test Execution | LambdaTest

If you have any follow-up questions or need more details, please feel free to ask. I’m here to ensure you get the information you’re looking for.:heart: