cypress
cypress copied to clipboard
cacheAcrossSpecs works in the local test runner UI but fails in the CI/CD pipeline.
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
- [X] Mac
- [ ] iPhone
- [ ] iPad
- [ ] Android Phone
- [ ] Android Tablet
Additional Information
No response