DEV: attempts to make date-time-input-range test more reliable (PR #8126)

GitHub

You’ve signed the CLA, jjaffeux. Thank you! This pull request is ready for review.