Cypress - Authentication and Sessions
Find the issue in this Cypress test code:
cy.clearLocalStorage()
cy.window().then(win => {
const data = win.localStorage.getItem('data')
expect(data).to.equal('test')
})