Description
What would you like?
When a change is made to cypress.config.js
that requires a restart of the browser - we should bring the user back to the route that existed when the restart was initiated.
If the user is on /__/#/specs/runner?file=cypress/e2e/example.cy.ts
, upon the browser restarting - the user should return to /__/#/specs/runner?file=cypress/e2e/example.cy.ts
upon the browser restarting.
Why is this needed?
Today when the browser restarts due to a config change, we route back to /__/#/specs
. This means there's an extra step to get back to where you were.
Additionally, with the introduction of Studio and single test mode routing - users are even further from your working position. Users are not focused on the current test with Studio mode open and would have to retrace their steps there.