Skip to content

Studio: When changes to config file restart browser - bring back to previous route #31291

Open
@jennifer-shehane

Description

@jennifer-shehane

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    experiment: studioIssues when using experimentalStudio

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions