cypress-io / cypress

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

Enhancement: Error state for multiple tests running at the same time. #21685

Closed sync-by-unito[bot] closed 1 year ago

sync-by-unito[bot] commented 2 years ago

Summary

It's possible for users to open specs in multiple tabs and windows and see them running at the same time if they wish. This does not work correctly for many reasons, outlined in this slack thread: https://cypressio.slack.com/archives/C02MYBT9Y5S/p1639585826059300

If a spec attempts to run and another spec is already running, we should detect this, prevent the new spec from starting. and display an error that explains Cypress does not support running two specs the same time.

Marked as enhancement as it’s not specifically required in v10, it’s a nice to have, context in slack here:

https://cypressio.slack.com/archives/C02MYBT9Y5S/p1639593285067500?thread_ts=1639585826.059300&cid=C02MYBT9Y5S

┆Issue is synchronized with this Jira Task by Unito ┆author: Mark Noonan ┆epic: UI/UX Improvements ┆friendlyId: UNIFY-671 ┆priority: Low ┆sprint: Backlog ┆taskType: Task

github-actions[bot] commented 1 year ago

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

cypress-app-bot commented 1 year ago

This issue has been closed due to inactivity.