Invalidate cy.session From cypress-data-session

Published: 29 September 2021
on channel: gleb bahmutov
819
8

In this video, I use a combination of cy.dataSession and cy.session and if the data needs to be recomputed, we invalidate all saved Cypress sessions to have the user account log in again with the recomputed user.

See the source in https://github.com/bahmutov/chat.io and the plugin code in https://github.com/bahmutov/cypress-d...