Skip to content

cacheAcrossSpecs works in the local test runner UI but fails in the CI/CD pipeline. #29325

@shreyT19

Description

@shreyT19

Description

In the local Cypress test runner, cacheAcrossSpecs behaves as expected, preserving cache and browser data across test specs. However, in our CI/CD pipeline, caching does not seem to work,

URL of Issue(s)

https://docs.cypress.io/api/commands/session

Steps to replicate

Run tests locally in the Cypress test runner UI with cacheAcrossSpecs enabled.
Observe caching behavior and successful test runs. Specifically storing the login details
Run tests in the CI/CD pipeline with the same configuration. It fails after the first test suite is run

Browser

No response

Device

  • PC
  • Mac
  • iPhone
  • iPad
  • Android Phone
  • Android Tablet

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleno activity on this issue for a long periodtype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions