[PR #10886] Improve UIA movement testing methodology #28289

Open
opened 2026-01-31 09:27:32 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/10886

State: closed
Merged: Yes


Introduces a new methodology to maintain tests for UI Automation. This includes...

  • UiaTests.csv: an excel spreadsheet designed to store UIA movement tests in a compact format
  • GeneratedTests.ps1: a PowerShell script that imports UiaTests.csv and outputs a C++ TEST_METHOD for `UiaTextRangeTests.

This new system can be used to easily add more UIA movement tests.

Read https://github.com/microsoft/terminal/blob/dev/cazamor/a11y-7000/testing/tools/TestTableWriter/README.md for more details.

Follow-up work items:

  • #10924 Failing Tests: this found some failing tests. We should make them not fail.
  • #10925 Missing Tests: Word navigation: Word navigation is missing.
  • #10926 MoveEndpoint Tests: an additional column can be added to the CSV "EndpointTarget", which can be "start", "end", or "both". This will allow us to test MoveEndpoint in addition to Move.
**Original Pull Request:** https://github.com/microsoft/terminal/pull/10886 **State:** closed **Merged:** Yes --- Introduces a new methodology to maintain tests for UI Automation. This includes... - `UiaTests.csv`: an excel spreadsheet designed to store UIA movement tests in a compact format - `GeneratedTests.ps1`: a PowerShell script that imports `UiaTests.csv` and outputs a C++ TEST_METHOD for `UiaTextRangeTests. This new system can be used to easily add more UIA movement tests. Read https://github.com/microsoft/terminal/blob/dev/cazamor/a11y-7000/testing/tools/TestTableWriter/README.md for more details. Follow-up work items: - #10924 **Failing Tests**: this found some failing tests. We should make them not fail. - #10925 **Missing Tests: Word navigation**: Word navigation is missing. - #10926 **MoveEndpoint Tests**: an additional column can be added to the CSV "EndpointTarget", which can be "start", "end", or "both". This will allow us to test `MoveEndpoint` in addition to `Move`.
claunia added the pull-request label 2026-01-31 09:27:32 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28289