-
Notifications
You must be signed in to change notification settings - Fork 833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix not selectable last year #1848
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/mui-org/material-ui-pickers/axiqwcbp4 |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
const render = createClientRender({ strict: false }); | ||
it('Allows to select edge years from list', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const render = createClientRender({ strict: false }); | |
it('Allows to select edge years from list', () => { | |
// StrictModeViolation: uses Grow | |
const render = createClientRender({ strict: false }); | |
it('Should disable the year on the edge if it doesn`t fit to the current date', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my gosh, just realize that this test will fail each year on January 1st. I hate writing tests for datepickers XD
This PR help with #1774