{"_id":"get-data-from-cache","_rev":"27-512a502d88527ef12767b20523d0dcd3","name":"get-data-from-cache","dist-tags":{"latest":"1.0.26"},"versions":{"1.0.5":{"name":"get-data-from-cache","version":"1.0.5","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.5","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"bcc531b44d266443287e8f30906c1bef3927f867","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.5.tgz","fileCount":13,"integrity":"sha512-u2YVjMCMuzWczeZxfjuNqRvQGyYQP0Fh2j60Gi8S+C0fxdbk06uIpdLHBrRXvkHaLVB2jG6PZhVPgXPiRrfXfw==","signatures":[{"sig":"MEUCIQDwutjBhVhpYfgEXSfsRZltBo2Hn5PlIqorftrTNmncSAIgeNRouDN9TZ9HBz/wgZqai1lGf9/Ig1RaFY2ei3M/YZ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7375},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"dc4163cd8e67828db0b611c4f53ebdf0a1f0e03a","scripts":{"test":"cypress run --config-file cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"cypress":"^13.13.0","ts-node":"^10.9.2","typescript":"^5.5.3","@types/node":"^20.14.10","@types/mocha":"^10.0.7","@types/cypress":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.5_1721078560212_0.42731565096437474","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"get-data-from-cache","version":"1.0.7","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.7","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"8a243dbfe2e295b817fb88d698747c827fa790a0","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.7.tgz","fileCount":12,"integrity":"sha512-8uQlcypmH1Fl6tsof2k73aucRSD/t/kYYRartPvZi904UtwpSfA3AIjGUqiPW/HcutIkL807zvLUaT9/jMr5OQ==","signatures":[{"sig":"MEUCIQDFnPnCYu4v4Uljrm/Q63QKq7LO7xMHCklBiko7eZ/w3wIgXM0DVJyUKus27Ggt+mrAMIdYwweFnl+B7Ie36BAw43A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8038},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"20b7ac8b1e07e9c1b92c8fb13b2c2b241e6a5cbb","scripts":{"test":"cypress run --config-file cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"cypress":"^13.13.0","ts-node":"^10.9.2","typescript":"^5.5.3","@types/node":"^20.14.10","@types/mocha":"^10.0.7","@types/cypress":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.7_1721080243366_0.47889864707062224","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"get-data-from-cache","version":"1.0.8","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.8","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"58b1572c03f513797ee8cde800bda1143cb01328","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.8.tgz","fileCount":12,"integrity":"sha512-pUCaZzZuwESolCFP0pC8BoQDsz8YxKYxBCj8TSHV9zN7LhnGWukFnTN3Olydfwp2k7SbfvlCwfIy0mToGgKMKA==","signatures":[{"sig":"MEQCIGmTLh3D1qXeA9uBypc1azg4jhwd1l8WmNFAn9jFRPQ2AiBJs0mXvl27dZ+IO5xnTdpAWCC19RH/FtldQDM1t7N3rA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8071},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"7ebab2c004512886c13af54f6154488bc12703da","scripts":{"test":"cypress run --config-file cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.5.3","@types/node":"^20.14.10","@types/mocha":"^10.0.7","@types/cypress":"^1.1.3"},"peerDependencies":{"cypress":"^13.13.1"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.8_1721287449989_0.028166089028284436","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"get-data-from-cache","version":"1.0.9","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.9","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"1e06493bbddbdb25ee267c0b23887f4d17701bfa","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.9.tgz","fileCount":12,"integrity":"sha512-QwfAAtrZZBKs7nNosRWtvUsfWhboeo8POYaGE3iWWeOFhPfMjP0cU+2+tGgnsQqDxm/KL0OVGZ5AV6yHuyi2BQ==","signatures":[{"sig":"MEUCIAoCYatIVBbdye7O8sDPKczvoRgdu0WQh+aJytuhVi6VAiEAl5ug2QioTtsN2P36S14pkJ6V1ow9AayjRuue3JTFSbc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8083},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"c32a760922102e20a642121597d3c480f4b3c8dd","scripts":{"test":"cypress run --config-file cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.5.3","@types/node":"^20.14.10","@types/mocha":"^10.0.7","@types/cypress":"^1.1.3"},"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.9_1721287782763_0.8095756627183059","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"get-data-from-cache","version":"1.0.11","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.11","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"19fa61754ce1795e96949f320bc91ff1047479c9","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.11.tgz","fileCount":8,"integrity":"sha512-6vdQNE6HP5XHbBEbII2x4XWwJa8iBPR3xNUColQ8VkbYMBQBWgkTXfudgBDczCFcKrp5dXKXfJ5CFnmB3vMUAA==","signatures":[{"sig":"MEQCIHQX1aaTma+J5un66w6T9l5qwaFrbcQUKbmL7oi4f/8/AiB+ohLhV8h3qAp1gk4A+8y/ZBB6BsWnn5F7f90kBkLHVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7477},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"812d9102e3e0310cc1728e02c2273e3233e28abe","scripts":{"test":"cypress run --config-file cypress.config.js","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.11_1721290894946_0.8093274032719164","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"get-data-from-cache","version":"1.0.12","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.12","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"ca0d7b0ad93538c90a4a7c0db594e03278af05e1","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.12.tgz","fileCount":7,"integrity":"sha512-oXrW7nhgzzpKtRZf7PaNzCQHlwwqTWI6c9ISCXytSSiED4xQdS+ZHaCAuoD7ahtmA0YiKCEVqFRjU/mnK2VaXw==","signatures":[{"sig":"MEYCIQC1k5mTJJ7E3rA5coVA0mi1KfaOqYJDxSgZSWAD2KERNQIhAPDtMtUzWAizOj0XtHAPrkNupyU6jsWyv/FNl8zrTUDu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3580},"main":"./src/index.js","type":"module","gitHead":"68241180e4fd2619125ca52745676bd58e5f02e0","scripts":{"test":"cypress run --config-file cypress.config.js","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.12_1721293965839_0.023746040922008715","host":"s3://npm-registry-packages"}},"1.0.13":{"name":"get-data-from-cache","version":"1.0.13","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.13","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"05b4e6a6158d382e9e560a91227a6841a6ebd0d6","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.13.tgz","fileCount":7,"integrity":"sha512-LgIlknlkdLzi38dAcbLOIqVG1A42GyVyy+R09EpIFjv4gmay5LqwFi0jUt81F1WXoajdK9mYx0NFZEuQN9lWag==","signatures":[{"sig":"MEUCIH1ZdTh1Mb8dRlnWyBhQAZsY88wmxzZDfb7ZNmIo7XxrAiEAhm1J/FJpxFMzr/Pb5DrDT+6FxTphd6w6hyoQwuvx7Jw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3580},"main":"./src/index.js","type":"module","gitHead":"c85defc8f872c8c078e0971f42e6a3cba4c9bdee","scripts":{"test":"cypress run --config-file cypress.config.js","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.13_1721295295783_0.8335314474605064","host":"s3://npm-registry-packages"}},"1.0.14":{"name":"get-data-from-cache","version":"1.0.14","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.14","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"75fd5de53388e012dfc9392c83d181b170b24a45","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.14.tgz","fileCount":7,"integrity":"sha512-iip6arI7VvMdQmmiSOrbiqA5d8G83S3Dc2fquLLNEwU2ilYOxsjwS+o0N3DNMjiVVF1DYEeAu6hnHxxsqUHDYw==","signatures":[{"sig":"MEYCIQDBnWoTfRYPxNiANCKbU4ke1Xb0J0poSBB3LEwNplR43AIhAI7Cajm2yU1nkAsBsx2yzh3tQFu8jeTB73NIvet50TyS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3580},"main":"./src/index.js","type":"module","gitHead":"203c962675e76f6ad0632789ae421515360bef21","scripts":{"test":"cypress run --config-file cypress.config.js","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.14_1721295434323_0.49872518855889747","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"get-data-from-cache","version":"1.0.15","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.15","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"c8d9686c4f9e3310ccd57e176e8cf8e7adc1224e","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.15.tgz","fileCount":7,"integrity":"sha512-ZnO4gSdZEkygjNUsWyIcgr5RW1epgkAY/7gokNXUafgU1n6W5hOcO8S8P986wpkX6EymZDt01LGI+mEU0f5nPA==","signatures":[{"sig":"MEYCIQCEqvtE1+pplVnYIB/NuG2cu1fKKEVL02yLm+6fqe3YdQIhAIDur1Q3a51dQ9mwTB5vw/jfTIBHuD6fNQp9orvvzjSM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3598},"main":"./src/index.js","type":"commonjs","gitHead":"e79e01a0d5a0dfdeebe6f25e328d275ab8f4f881","scripts":{"test":"cypress run --config-file cypress.config.js","build":"echo 'No build needed'"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.15_1721295702359_0.5683545428229428","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"get-data-from-cache","version":"1.0.16","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.16","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"9c18436ba77d2cdf8360919224e668e85ac04e7d","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.16.tgz","fileCount":47,"integrity":"sha512-LF9gGwzgX7vpHV0CikcnUc/t2RqHGd2mYfW/+4zjpWenh+vRdllQFONUufbkZopJHpVdD8ruu1D3MjKPrnDNGA==","signatures":[{"sig":"MEYCIQDzNkF+sH0XHXKJx0sAV7VlZgAIyO/3ItHxulKqD4O9VQIhAMqHqSKTDQzrC+U94CVQzeyggpN4S7jWC+QEMNv7IIkb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":199365},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0fc494d3aa080ceda5f993a217568ca6a7427a7c","scripts":{"test":"cypress run --config-file test-cypress-plugin/cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"cypress":"^13.13.1","typescript":"^5.5.3"},"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.16_1721334310562_0.8771972508486359","host":"s3://npm-registry-packages"}},"1.0.17":{"name":"get-data-from-cache","version":"1.0.17","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.17","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"681c951f93cd33880386545c49cd2df7b9e91d66","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.17.tgz","fileCount":47,"integrity":"sha512-fa6InQ+f3n5qdqRe01fw9v00w7RC/XGekPwUPazwu0KTZqYz2bftqYEdo7NUAPNkok5Gu/It1Bh8zM0EUGkDDA==","signatures":[{"sig":"MEYCIQC6EdpBAJgwpgujGovfwWfesRmVE3U7Gu092vEOCYvQrgIhAIidBhns4UZY3aNhKQ1JMOVIaeWNe5kVKfiXebd7y3Xq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":199369},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4d69257d3ba18c8e04f048c29b3daeb3ae22ff0b","scripts":{"test":"cypress run --config-file test-cypress-plugin/cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"cypress":"^13.13.1","typescript":"^5.5.3"},"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.17_1721334535706_0.6887893024688108","host":"s3://npm-registry-packages"}},"1.0.18":{"name":"get-data-from-cache","version":"1.0.18","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.18","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"2dc98ef650223837b0baa1ed9829b126771dbbb2","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.18.tgz","fileCount":9,"integrity":"sha512-Xy4J949lUBxyQ2v1pzByVWR19OzthcIif17c97wn/QI6MFLry8QaxXeyjq6q6+Ikb1XS6Kc5nQozedEBvALd9A==","signatures":[{"sig":"MEUCIQCZyS/7L2iW/8WmRMpzh7+5oMg/fwmpmF5QNWQorJN0+gIgCquW5dktTxnUv5jo0/k+v2dS97VHJ+lgpMzvix2Me04=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7725},"main":"src/index.js","gitHead":"4d69257d3ba18c8e04f048c29b3daeb3ae22ff0b","scripts":{"test":"cypress run --config-file cypress.config.js","build":"echo 'No build needed'"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.18_1721934350260_0.37954685005927136","host":"s3://npm-registry-packages"}},"1.0.19":{"name":"get-data-from-cache","version":"1.0.19","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.19","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"4084cc16221195647f5ee810b61c31aa03751a07","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.19.tgz","fileCount":9,"integrity":"sha512-6H5Zhlyms0ghWfyZ+YWQX1vFJ44nGw99GOopJgie3UT8Yod2UV4f7mclCjy4oBqvDKFO/IWIILv4fzdUlxIgBw==","signatures":[{"sig":"MEUCIQDJR9kJzkO3XjBAAXqsugeBnklhiyvwd7igqoDoIqxLKwIgdauMp4f5I4hz7imTwK2cNkfiMgGq8wc2UfBybvS3DSo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6741},"main":"src/index.js","gitHead":"9710cc373a32057a3eb39a21b68e7554b3e4031c","scripts":{"test":"cypress run --config-file cypress.config.js","build":"echo 'No build needed'"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.19_1721935201118_0.10147436031307233","host":"s3://npm-registry-packages"}},"1.0.20":{"name":"get-data-from-cache","version":"1.0.20","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.20","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"33cad8f0f8dc484dfab90c3a16d7beac59f2fe2f","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.20.tgz","fileCount":9,"integrity":"sha512-bAF8n0S5ghaNO2unnWhAc34ewKxH0cSAU47EgoVtOmDQuSpPmCA2iJUujCCusnOXm13R35cc1ibLGh6jvFEVsg==","signatures":[{"sig":"MEUCIHZ6+35QAgvSzwNrJBbM9nRebF5EAOJzW5wz1pD0qSBfAiEA+2fvP1IXqzuVWCWMG5V5YPlvBObKZNLAq3e8basrASs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6136},"main":"src/index.js","gitHead":"bf3d39acfab8dec03c9a51980ccfc35e869a9d2d","scripts":{"test":"cypress run --config-file cypress.config.js","build":"echo 'No build needed'"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.20_1722102658999_0.40755695102500256","host":"s3://npm-registry-packages"}},"1.0.21":{"name":"get-data-from-cache","version":"1.0.21","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.21","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"bc6364701e6e7b49a485bd552d920dad3269ce95","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.21.tgz","fileCount":9,"integrity":"sha512-uN+cXZwyK9vuwKmCesXm67zdeAadtWTliM4MUsD8r6qgm0g8pDlAjY8f4TR049bjCH6et1WZkrU1j7d72RNRFQ==","signatures":[{"sig":"MEUCIQDBaxkejduP8q7gr6NiEQ3aqt5voF1Ae0PeJ+Nlan973wIgT6jKR8jmdVAj8lipB+XGw5U97TpkCMyikjz97g8RFqA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6135},"main":"src/index.js","gitHead":"b56bf9a80a7aa5ce38d35471f60c96dcedf29338","scripts":{"test":"cypress run --config-file cypress.config.js","build":"echo 'No build needed'"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.21_1722103343463_0.6390017484759944","host":"s3://npm-registry-packages"}},"1.0.22":{"name":"get-data-from-cache","version":"1.0.22","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.22","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"18c207ef46d8cc999918f79ecf749d83fa78ead0","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.22.tgz","fileCount":9,"integrity":"sha512-Ysod03cP4FYoSKT6mvTJBwsOK27GHyXDnbbtuc28ZZMGJ2yCy38Yka73P8lDfI86K4WBXQbCWx1OA4EMagc6Dg==","signatures":[{"sig":"MEYCIQDayE8CTGDZLkDC3GGvV6EhomiySRmz71wWkQ+Fo8wIRAIhAIWWe8LD1CTBjuXYg3KMltsvHBJlTA2uNg36oc5YT0a4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8780},"main":"src/index.js","gitHead":"99583326e7a91ec40c705f21e1d89fdac7b777d7","scripts":{"test":"cypress run --config-file cypress.config.js","build":"echo 'No build needed'"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.22_1722105038606_0.9212875722402225","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"get-data-from-cache","version":"1.1.0","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.1.0","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"87166bda693894de33d65ea588c794b9c4bea953","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.1.0.tgz","fileCount":13,"integrity":"sha512-Unwi3Gk32VJ58kEmaYB6acEN9JRVBshVmkfZXjYHSnYttzr/0aVuh9Jx3PSBCrzsyTEdeyUN3xXQvHhD1NecDg==","signatures":[{"sig":"MEUCIQCJ8MY11XJPweHqT/i8yvzn/LXBnSRdBcUGiuiqNVshcgIgL97wPJgVDvVKPeQLHPFV/OB5awAQkbEeo3sdXa5Nw8g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12599},"main":"dist/index.js","gitHead":"3e1b8976f9b6b686eba787fb40a6bf8101098d55","scripts":{"test":"cypress run --config-file cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0.0","@types/node":"^14.0.0","@types/cypress":"^1.1.3"},"peerDependencies":{"cypress":">=10.0.0 <13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.1.0_1722107161088_0.4391327829571996","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"get-data-from-cache","version":"1.1.1","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.1.1","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"17541f9d2a02f648f234c44de82d866d543b8766","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.1.1.tgz","fileCount":19,"integrity":"sha512-3PheEoxnGU4czfaF0KSrHuwXroJprxKW6II9yK5J5wrmLzF0/wXBPikpjNv4RW8jS57CNfgdhVCbr8jO3N4sjA==","signatures":[{"sig":"MEQCIG9uI1fufN/mAtLABdm5jiUZZz9/xEPfeAB2PQzkmi+9AiBskkuu0VcLRBPD1ikNYO8Cp+uHFjCXBBmjsHIVIMym2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14589},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"3e1b8976f9b6b686eba787fb40a6bf8101098d55","scripts":{"test":"cypress run --config-file cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0.0","@types/node":"^14.0.0","@types/cypress":"^1.1.3"},"peerDependencies":{"cypress":">=10.0.0 <13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.1.1_1722108861372_0.024041848932323306","host":"s3://npm-registry-packages"}},"1.0.23":{"name":"get-data-from-cache","version":"1.0.23","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.23","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"6da087105cb31a2eda871ee6fddc0658b8c41400","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.23.tgz","fileCount":9,"integrity":"sha512-EuqryEcwT6WalEoK/nrvN8t+33zxeGlWo3cr1SbX4PyJ91qSOmmic9J1Ad5lVL5ftfYniEIvJAvgvtvHBYSffQ==","signatures":[{"sig":"MEQCICNEE0sxyhKANWLayC5vqN6U1QOzyX2/laP/DrkQBFX0AiANiy1Sgnu3EMkTsLM1EOIuRLuiCdKFUiFy49rto9bZ6g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9189},"main":"src/index.js","gitHead":"2e8ac96d7a8763366d8fa0cdfba68101717f1066","scripts":{"test":"cypress run --config-file cypress.config.js","build":"echo 'No build needed'"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.5.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"21.7.2","_hasShrinkwrap":false,"peerDependencies":{"cypress":">=10.0.0 <14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.23_1722109391678_0.46450599825212713","host":"s3://npm-registry-packages"}},"1.0.24":{"name":"get-data-from-cache","version":"1.0.24","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.24","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"9412f862e03d065d1bef237b787d4a85b7548f61","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.24.tgz","fileCount":16,"integrity":"sha512-q/mF2pisLmISOC78Nzp4va+qKHv4BBlsVBkq8kQIO0TnOffRVIcpdz/VZsgKTkeOIMWGdg/L/j36L9xVXMvkUw==","signatures":[{"sig":"MEUCIGLNZiZhPoXJtnXIbrY1k3PPAIfRK52NL7QmjfiggCuGAiEA9+5ha26XOVLP4PpbzCQGTj3siMbLfS7IMiaxvjENRu8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13673},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"8a56f1d106bd6f81d6a6a69c4fd86f30c3d88529","scripts":{"test":"cypress run --config-file cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0.0","@types/node":"^14.0.0","@types/cypress":"^1.1.3"},"peerDependencies":{"cypress":">=10.0.0 <13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.24_1722242767973_0.6515574055792404","host":"s3://npm-registry-packages"}},"1.0.25":{"name":"get-data-from-cache","version":"1.0.25","keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","_id":"get-data-from-cache@1.0.25","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"dist":{"shasum":"b2e25b9ced1ad0c664602f0d383d2b224b6b00d7","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.25.tgz","fileCount":16,"integrity":"sha512-qN04WkRElB0u0ZoI/Rg3ocAwm++HK8XpMtgjwdayCs5DbL4LptlvlxjODqPCacAOyvUoXlpZtQoMNBL2C6vorw==","signatures":[{"sig":"MEYCIQCOERz76ORQWjdFvpbxswdr0rktjn2IaMM4Y+bo3Pe8GwIhANUWf8I4HBnoKAxNg3yAE11nxk6WtoBONd0sTxZgAck0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13671},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"8a56f1d106bd6f81d6a6a69c4fd86f30c3d88529","scripts":{"test":"cypress run --config-file cypress.config.ts","build":"tsc"},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"_npmVersion":"10.7.0","description":"A Cypress plugin to store data in cache and use it across tests.","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^4.0.0","@types/node":"^14.0.0","@types/cypress":"^1.1.3"},"peerDependencies":{"cypress":">=10.0.0 <13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-data-from-cache_1.0.25_1722242837109_0.4540198652197662","host":"s3://npm-registry-packages"}},"1.0.26":{"name":"get-data-from-cache","version":"1.0.26","description":"A Cypress plugin to store data in cache and use it across tests.","main":"dist/index.js","scripts":{"build":"tsc","test":"cypress run --config-file cypress.config.ts"},"keywords":["cypress","plugin","cache"],"author":{"name":"Nikhilesh Prasad"},"license":"MIT","peerDependencies":{"cypress":">=10.0.0 <13.0.0"},"devDependencies":{"@types/cypress":"^1.1.3","@types/node":"^14.0.0","typescript":"^4.0.0"},"_id":"get-data-from-cache@1.0.26","gitHead":"a03161801bb09b9c2216668e55946788b6b4349f","types":"./dist/index.d.ts","_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-7ZN0BAERJ6las7lDUGnHodkFFPZG1O+hdtjzcLXU1SecjvIFQN4/ixlkpwPTUo4yF73haBBQURiqwPM9gKBGHA==","shasum":"e95cb82edc3360b9eb52374d4c6830f60bfffdbe","tarball":"https://registry.npmjs.org/get-data-from-cache/-/get-data-from-cache-1.0.26.tgz","fileCount":16,"unpackedSize":13810,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDVlQ6adXg/s0OvjaElcgV/kZ8DGmLeTixx4x28ftT6AiEAniWivMD9/NZsw6FzTkyGRS3EG8HM7P9eVTra8rHqhfc="}]},"_npmUser":{"name":"niketc","email":"nikhil.etc@gmail.com"},"directories":{},"maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-data-from-cache_1.0.26_1722254492469_0.8371741817940703"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-15T21:22:40.212Z","modified":"2024-07-29T12:01:32.890Z","1.0.0":"2023-07-18T20:48:11.634Z","1.0.1":"2023-07-18T21:00:38.568Z","1.0.2":"2023-07-18T21:18:19.362Z","1.0.3":"2023-07-18T21:35:17.170Z","1.0.4":"2023-07-19T07:01:22.437Z","1.0.5":"2024-07-15T21:22:40.371Z","1.0.7":"2024-07-15T21:50:43.551Z","1.0.8":"2024-07-18T07:24:10.135Z","1.0.9":"2024-07-18T07:29:42.902Z","1.0.11":"2024-07-18T08:21:35.099Z","1.0.12":"2024-07-18T09:12:46.096Z","1.0.13":"2024-07-18T09:34:55.966Z","1.0.14":"2024-07-18T09:37:14.462Z","1.0.15":"2024-07-18T09:41:42.500Z","1.0.16":"2024-07-18T20:25:10.745Z","1.0.17":"2024-07-18T20:28:55.881Z","1.0.18":"2024-07-25T19:05:50.390Z","1.0.19":"2024-07-25T19:20:01.298Z","1.0.20":"2024-07-27T17:50:59.286Z","1.0.21":"2024-07-27T18:02:23.642Z","1.0.22":"2024-07-27T18:30:38.741Z","1.1.0":"2024-07-27T19:06:01.254Z","1.1.1":"2024-07-27T19:34:21.546Z","1.0.23":"2024-07-27T19:43:11.865Z","1.0.24":"2024-07-29T08:46:08.149Z","1.0.25":"2024-07-29T08:47:17.263Z","1.0.26":"2024-07-29T12:01:32.716Z"},"author":{"name":"Nikhilesh Prasad"},"license":"MIT","keywords":["cypress","plugin","cache"],"description":"A Cypress plugin to store data in cache and use it across tests.","maintainers":[{"name":"niketc","email":"nikhil.etc@gmail.com"}],"readme":"# **get-data-from-cache**\n\n[![npm version](https://badge.fury.io/js/get-data-from-cache.svg)](https://badge.fury.io/js/get-data-from-cache)\n\nA Cypress plugin that allows storing data in a cache to be used across multiple tests. This enhances test execution efficiency and consistency by sharing common setup data between tests. Ideal for scenarios where you need to reuse data without redundant API calls, improving overall test reliability and reducing flakiness.\n\n## **Installation**\n\nInstall the plugin via npm:\n\n```bash\nnpm install get-data-from-cache\n```\n\n### **TypeScript Configuration**\n\nEnsure your tsconfig.json is properly configured to include Cypress types and the plugin's types:\n```\n{\n  \"compilerOptions\": {\n    \"target\": \"es6\",\n    \"module\": \"commonjs\",\n    \"strict\": true,\n    \"esModuleInterop\": true,\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"outDir\": \"./dist\",\n    \"declaration\": true,\n    \"declarationMap\": true,\n    \"types\": [\"cypress\"]\n  },\n  \"include\": [\"src/**/*.ts\", \"cypress/**/*.ts\"]\n}\n```\n\n## **Usage**\n\nTo use the get-data-from-cache plugin, you need to configure it in your Cypress configuration file and create tasks for putting and getting data from the cache.\n\nConfigure Cypress\nAdd the following configuration to your cypress.config.ts file:\n\n```\nconst { defineConfig } = require('cypress');\nconst cachePlugin = require('get-data-from-cache');\n\nmodule.exports = defineConfig({\n  e2e: {\n    setupNodeEvents(on, config) {\n      cachePlugin(on, config);\n      return config;\n    }\n  }\n});\n```\n\n### **Simple Examples**\n\n ##### **Step 1: Putting Data in Cache**\n\n```\n// cypress/e2e/putDataInCache.spec.ts\ndescribe('Cache Plugin - Put Data', () => {\n  it('should put data in cache', () => {\n    cy.task('putDataInCache', { key: 'username', data: 'testuser' });\n  });\n});\n```\n\n##### **Step 2: Get Data from Cache**\n\n```\n// cypress/e2e/getDataFromCache.spec.ts\ndescribe('Cache Plugin - Get Data', () => {\n  it('should get data from cache', () => {\n    cy.task('getDataFromCache', 'username').then((data) => {\n      expect(data).to.equal('testuser');\n    });\n  });\n\n  it('should handle non-existent cache keys', () => {\n    cy.task('getDataFromCache', 'nonexistentkey').then((data) => {\n      expect(data).to.equal('');\n    });\n  });\n});\n```\n\n### **Example: Testing a Multi-Step Analytics Dashboard Setup Process**\n\n\n\n#### **Step 1: Create Dashboard**\nCreate a new dashboard and cache the dashboard ID\n\n```\n// cypress/e2e/dashboardStep1.cy.ts\ndescribe('Analytics Dashboard Setup - Step 1: Create Dashboard', () => {\n  it('should create a new dashboard and cache the dashboard ID', () => {\n    cy.request('POST', '/api/dashboards', {\n      name: 'Test Dashboard'\n    }).then((response) => {\n      expect(response.status).to.eq(201);\n      cy.task('putDataInCache', { key: 'dashboardId', data: response.body.dashboardId });\n    });\n  });\n});\n```\n\n#### **Step 2: Add Widgets**\n\nAdd widgets to the dashboard using the cached dashboard ID.\n\n```\n// cypress/e2e/dashboardStep2.cy.ts\ndescribe('Analytics Dashboard Setup - Step 2: Add Widgets', () => {\n  it('should add widgets to the dashboard using the cached dashboard ID', () => {\n    cy.task('getDataFromCache', 'dashboardId').then((dashboardId) => {\n      cy.request({\n        method: 'POST',\n        url: `/api/dashboards/${dashboardId}/widgets`,\n        body: {\n          widgets: [\n            { type: 'chart', config: { title: 'Sales Over Time', dataSource: 'salesData' } },\n            { type: 'table', config: { title: 'Top Products', dataSource: 'productData' } }\n          ]\n        }\n      }).then((response) => {\n        expect(response.status).to.eq(201);\n      });\n    });\n  });\n});\n```\n\n#### **Step 3: Configure Filters**\n\nConfigure filters for the dashboard using the cached dashboard ID.\n```\n// cypress/e2e/dashboardStep3.cy.ts\ndescribe('Analytics Dashboard Setup - Step 3: Configure Filters', () => {\n  it('should configure filters for the dashboard using the cached dashboard ID', () => {\n    cy.task('getDataFromCache', 'dashboardId').then((dashboardId) => {\n      cy.request({\n        method: 'POST',\n        url: `/api/dashboards/${dashboardId}/filters`,\n        body: {\n          filters: [\n            { type: 'dateRange', config: { startDate: '2021-01-01', endDate: '2021-12-31' } },\n            { type: 'category', config: { category: 'Electronics' } }\n          ]\n        }\n      }).then((response) => {\n        expect(response.status).to.eq(200);\n      });\n    });\n  });\n});\n```\n\n#### **Step 4: Verify Dashboard Data**\n\nVerify that the dashboard displays the correct data using the cached dashboard ID.\n\n```\n// cypress/e2e/dashboardStep4.cy.ts\ndescribe('Analytics Dashboard Setup - Step 4: Verify Dashboard Data', () => {\n  it('should verify the dashboard displays correct data', () => {\n    cy.task('getDataFromCache', 'dashboardId').then((dashboardId) => {\n      cy.request({\n        method: 'GET',\n        url: `/api/dashboards/${dashboardId}/data`\n      }).then((response) => {\n        expect(response.status).to.eq(200);\n        expect(response.body.widgets).to.have.length(2);\n        expect(response.body.filters).to.have.length(2);\n      });\n    });\n  });\n});\n```\n\n### Additional Scenarios\n\n- Session Management: Cache session tokens or authentication tokens to avoid logging in repeatedly for each test.\n- Data-Driven Testing: Store complex data sets and reuse them across multiple tests to validate different scenarios.\n- API Testing: Cache API responses and use them across different tests to validate downstream services without hitting the upstream API repeatedly.\n- Form Submissions: Store form data after submission in one test and use it to validate that the data persists across different parts of the application.\n- E-commerce Flows: Cache cart contents after adding items in one test and verify the contents in subsequent tests for checkout flows.\n- Performance Testing: Cache performance metrics or benchmarking data to compare results across different test runs without rerunning the performance tests.\n\n### Benefits\n\n- **Efficiency**: Reduces redundant API calls and setup steps across tests, speeding up test execution.\n- **Consistency**: Ensures consistent state and data across different tests, reducing flakiness.\n- **Modularity**: Facilitates breaking down complex test scenarios into smaller, manageable tests.\n","readmeFilename":"README.md"}