'Validating only 90 days from current date should be enabled in a calendar using Cypress

I am working on a scenario where I need to validate that when I select a date picker only 90 days from the current date should be enabled, rest all the dates should be disabled.

So Could anyone help me with automating this scenario using Cypress

Thanks, Sanjana



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source