cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.85k stars 3.17k forks source link

Error in CLI when 'run timeout' is reached as defined in Project Settings #29642

Open jennifer-shehane opened 4 months ago

jennifer-shehane commented 4 months ago

What would you like?

There's been some discussion of adding a feature to the Cloud to edit the 'run timeout' which is statically set to 90 minutes beyond the last ping from the App.

When this timeout is editable from the project settings, the App should have to ability to error when that timeout is reached and exit so that CI resources are not wasted in this case for users and there is clarity on the status of the run.

Why is this needed?

If this error is not provided, the run will continue for as long as it runs and print our the results of the run as if nothing had changed. The Cloud however would show the spec and the run as timed out.

Other

No response

jennifer-shehane commented 1 week ago

There is a run timeout configurable in the Cloud now: https://docs.cypress.io/guides/cloud/account-management/projects#Run-Timeout