Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cypress run should create a new browser profile per run #1566

Closed
brian-mann opened this issue Apr 11, 2018 · 0 comments · Fixed by #2154
Closed

cypress run should create a new browser profile per run #1566

brian-mann opened this issue Apr 11, 2018 · 0 comments · Fixed by #2154
Assignees
Labels
type: unexpected behavior User expected result, but got another
Milestone

Comments

@brian-mann
Copy link
Member

For users wanting to run multiple Cypress processes on the same machine - we should create a new browser profile when running to completion with cypress run.

This would prevent those browser instances from sharing the same state like cookies, local storage, indexdb, etc.

We'll need to write to a temporary folder in os.tmp() but also use the special tmp module which has process.exit hooks to cleanup folders immediately.

We will not do this for cypress open. That will always use the default profile, which enables users to do things like install extensions and preferences for how they like to use their browser.

@brian-mann brian-mann added the type: unexpected behavior User expected result, but got another label Apr 11, 2018
@brian-mann brian-mann self-assigned this Apr 11, 2018
@jennifer-shehane jennifer-shehane added this to the 3.0.0 milestone Apr 11, 2018
@brian-mann brian-mann modified the milestones: 3.0.0, 3.1.0 May 31, 2018
brian-mann pushed a commit that referenced this issue Aug 6, 2018
- fixes: #2153
- fixes: #1566
- fixes: #1690
- fixes: #2275
- fixes: #2276
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: unexpected behavior User expected result, but got another
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants