[release/9.0] Backport FormsInputDateTest fixes - #68126
Merged
wtgodbe merged 1 commit intoAug 5, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Backports fixes to FormsInputDateTest on release/9.0 to reduce flakiness in native date/time <input> Selenium interactions by ensuring keystrokes land in the intended segment (caret positioning), and un-quarantines the affected tests.
Changes:
- Replaces direct
SendKeyssequences with helper methods that click and move the caret to the left-most segment before typing. - Adds
ClearDatehelper to reliably clear native date inputs and commit the change viaTab. - Removes
[QuarantinedTest]attributes for the previously flaky tests and fixes a minor comment typo (“Stricly” → “Strictly”).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Youssef1313
approved these changes
Aug 3, 2026
Contributor
|
Hi @ilonatommy. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed. |
This was referenced Sep 2, 2026
This was referenced Sep 9, 2026
Merged
Merged
This was referenced Sep 10, 2026
Open
Merged
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #68107 and #68115 to release/9.0
Fixes #31734, Fixes #67243, fixes #35018.
Description
The caret has to be located over the left-most segment of the 3-segment date input, otherwise
SendKeyswill write to wrong segment, producing non-desired date values.The test fails deterministically before fix and passes deterministically after the fix.
Customer Impact
None, it's just a test.
Regression?
Risk
Test fix.
Verification
Packaging changes reviewed?