https://cypress.io logo
Working with q-date on Cypress.
# i-need-help
m
Hello. I would like to ask how can I work with datepickers using Cypress? I am using Quasar v2 with some restricted dates and I want to be sure that after those restricted dates are turned on user cannot click on restricted date. I can get dates by using cy.get(className).contains(date) but in Quasar q-date all of those fields are divs and I cannot use 'disabled' to verify it. Maybe someone had similar problem? Also how can I set current month to always be February 2023 no matter when the tests will run?