We should setup the data session if any of the parameters have changed values
bahmutov opened this issue ยท comments
Gleb Bahmutov commented
Imagine data session like this
cy.dataSession({
name: 'user session',
setup() {
cy.log('**log in**')
...
},
expires: 9_000, // 9 seconds
// the argument is the memory value of this data session
recreate(userCookie: Cypress.Cookie) {
...
},
shareAcrossSpecs: true,
})
We automatically recompute the data session IF the setup
method source code SHA changes. But we should recompute the data session if the user removes or adds or changes other parameters like expires
and shareAcrossSpecs
github-actions commented
๐ This issue has been resolved in version 2.5.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐