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

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

Open
1 of 6 tasks
shreyT19 opened this issue Apr 12, 2024 · 0 comments
Open
1 of 6 tasks

Comments

@shreyT19
Copy link

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

@jennifer-shehane jennifer-shehane transferred this issue from cypress-io/cypress-documentation Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant