31. Add Types To Your Local Storage During End-to-End Tests (glebbahmutov.com)
If your web application stores data locally in the localStorage object, you can easily set / verify the data from your Cypress end-to-end tests. For example:cypress/e2e/players.cy.js123456789101112131415161718192021222324252627282930313233343536373839https://github.com/bahmutov/cy-spokimport spok fr...