Skip to content

cy.session: Caching across spec files #17710

@halfninja

Description

@halfninja

What would you like?

The new cy.session is amazing and just what we wanted - the behaviour with cypress open where this feature caches across spec files is something we'd like to have as an option for cypress run as well if possible.

Why is this needed?

In many cases authentication sessions are reliably the same between spec files, and starting with a blank cy.session cache for each file isn't necessary. I understand that the reason may be more technical, since the runner may be opening each spec file in a brand new context where it's hard to carry session data around.

Other

Just further thanks for cy.session! 🎉

Metadata

Metadata

Labels

topic: sessionIssues when using session commandtype: enhancementRequested enhancement of existing feature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions