Skip to content

Commit

Permalink
Improve UIA movement testing methodology (#10886)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
carlos-zamora authored and DHowett committed Aug 25, 2021
1 parent e49d180 commit 5abb574
Show file tree
Hide file tree
Showing 6 changed files with 4,038 additions and 56 deletions.
2 changes: 2 additions & 0 deletions .github/actions/spelling/allow/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ It'd
kje
liga
lje
lorem
maxed
mru
nje
Expand All @@ -50,6 +51,7 @@ timestamped
tokenizes
tonos
tshe
uiatextrange
UIs
und
versioned
Expand Down
Loading

0 comments on commit 5abb574

Please sign in to comment.