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 committed Aug 19, 2021
1 parent 482dcec commit 1678b58
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 @@ -33,6 +33,7 @@ kje
liga
lje
locl
lorem
maxed
mkmk
mru
Expand All @@ -59,6 +60,7 @@ TLDR
tokenizes
tonos
tshe
uiatextrange
UIs
und
unregister
Expand Down
Loading

0 comments on commit 1678b58

Please sign in to comment.