Skip to content

Commit

Permalink
Generate test and review files automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
jscholes authored and actions-user committed Nov 22, 2020
1 parent 0220017 commit 01698f8
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 233 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ <h1>Test Patterns for Review</h1>
<td><a href="./tests/checkbox/index.html">Index</a></td>
<td><a href="./review/checkbox.html">Review</a></td>
<td>26</td>
<td><a href="https://github.com/w3c/aria-at/commit/af45067" target="_blank">af45067 Change Command+Up&#x2F;Down to Option+Up&#x2F;Down in some commands
<td><a href="https://github.com/w3c/aria-at/commit/0220017" target="_blank">0220017 Merge branch &#39;tests&#x2F;combobox-select-only&#39; of https:&#x2F;&#x2F;github.com&#x2F;w3c&#x2F;aria-at into tests&#x2F;combobox-select-only
</a></td>
</tr>
<tr>
<td>combobox-autocomplete-both</td>
<td><a href="./tests/combobox-autocomplete-both/index.html">Index</a></td>
<td><a href="./review/combobox-autocomplete-both.html">Review</a></td>
<td>30</td>
<td><a href="https://github.com/w3c/aria-at/commit/af45067" target="_blank">af45067 Change Command+Up&#x2F;Down to Option+Up&#x2F;Down in some commands
<td><a href="https://github.com/w3c/aria-at/commit/0220017" target="_blank">0220017 Merge branch &#39;tests&#x2F;combobox-select-only&#39; of https:&#x2F;&#x2F;github.com&#x2F;w3c&#x2F;aria-at into tests&#x2F;combobox-select-only
</a></td>
</tr>
<tr>
Expand All @@ -63,7 +63,7 @@ <h1>Test Patterns for Review</h1>
<td><a href="./tests/menubar-editor/index.html">Index</a></td>
<td><a href="./review/menubar-editor.html">Review</a></td>
<td>40</td>
<td><a href="https://github.com/w3c/aria-at/commit/af45067" target="_blank">af45067 Change Command+Up&#x2F;Down to Option+Up&#x2F;Down in some commands
<td><a href="https://github.com/w3c/aria-at/commit/0220017" target="_blank">0220017 Merge branch &#39;tests&#x2F;combobox-select-only&#39; of https:&#x2F;&#x2F;github.com&#x2F;w3c&#x2F;aria-at into tests&#x2F;combobox-select-only
</a></td>
</tr>
</table>
Expand Down
69 changes: 33 additions & 36 deletions review/checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,25 +140,22 @@
}, openListbox: function(testPageDocument){
// sets focus on and expands the Combobox
testPageDocument.querySelector('[role="combobox"]').focus();
window.setTimeout(onSelectReady, () => {
console.log('Opening listbox');
window.selectController.updateMenuState(true)
}, 500);
testPageDocument.defaultView.selectController.updateMenuState(true);
}, openListboxToApple: function(testPageDocument){
// sets focus on and expands the Combobox, and sets the focused option to 'Apple'
testPageDocument.querySelector('[role="combobox"]').focus();
window.selectController.updateMenuState(true);
window.selectController.onOptionChange(1);
testPageDocument.defaultView.selectController.updateMenuState(true);
testPageDocument.defaultView.selectController.onOptionChange(1);
}, openListboxToGuava: function(testPageDocument){
// sets focus on and expands the Combobox, and sets the focused option to 'Guave'
testPageDocument.querySelector('[role="combobox"]').focus();
window.selectController.updateMenuState(true);
window.selectController.onOptionChange(11);
testPageDocument.defaultView.selectController.updateMenuState(true);
testPageDocument.defaultView.selectController.onOptionChange(11);
}, openListboxToHuckleberry: function(testPageDocument){
// sets focus on and expands the Combobox, and sets the focused option to 'Huckleberry'
testPageDocument.querySelector('[role="combobox"]').focus();
window.selectController.updateMenuState(true);
window.selectController.onOptionChange(2);
testPageDocument.defaultView.selectController.updateMenuState(true);
testPageDocument.defaultView.selectController.onOptionChange(12);
}, focusonfirstlink: function(testPageDocument){
// Move focus to the link just before the meunbar
testPageDocument.querySelector('a').focus();
Expand Down Expand Up @@ -218,7 +215,7 @@ <h2>Test 1: Navigate to an unchecked checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-01-navigate-to-unchecked-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -291,7 +288,7 @@ <h2>Test 2: Navigate to an unchecked checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-02-navigate-to-unchecked-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -357,7 +354,7 @@ <h2>Test 3: Navigate to an unchecked checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-03-navigate-to-unchecked-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -403,7 +400,7 @@ <h2>Test 4: Navigate to a checked checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-04-navigate-to-checked-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -486,7 +483,7 @@ <h2>Test 5: Navigate to a checked checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-05-navigate-to-checked-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -562,7 +559,7 @@ <h2>Test 6: Navigate to a checked checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-06-navigate-to-checked-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -613,7 +610,7 @@ <h2>Test 7: Operate a checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-07-operate-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -676,7 +673,7 @@ <h2>Test 8: Operate a checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-08-operate-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -737,7 +734,7 @@ <h2>Test 9: Operate a checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-09-operate-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -779,7 +776,7 @@ <h2>Test 10: Read an unchecked checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-10-read-unchecked-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -857,7 +854,7 @@ <h2>Test 11: Read an unchecked checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-11-read-unchecked-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -935,7 +932,7 @@ <h2>Test 12: Read an unchecked checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-12-read-unchecked-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -985,7 +982,7 @@ <h2>Test 13: Read a checked checkbox in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-13-read-checked-checkbox-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1063,7 +1060,7 @@ <h2>Test 14: Read a checked checkbox in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-14-read-checked-checkbox-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1141,7 +1138,7 @@ <h2>Test 15: Read a checked checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-15-read-checked-checkbox-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1191,7 +1188,7 @@ <h2>Test 16: Read grouping information of a grouped checkbox in reading mode</h2
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-16-read-checkbox-group-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1255,7 +1252,7 @@ <h2>Test 17: Read grouping information of a grouped checkbox in interaction mode
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-17-read-checkbox-group-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1319,7 +1316,7 @@ <h2>Test 18: Read grouping information of a grouped checkbox</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-18-read-checkbox-group-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1363,7 +1360,7 @@ <h2>Test 19: Navigate sequentially through a checkbox group in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-19-navigate-sequentially-through-checkbox-group-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1432,7 +1429,7 @@ <h2>Test 20: Navigate sequentially through a checkbox group</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-20-navigate-sequentially-through-checkbox-group-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1478,7 +1475,7 @@ <h2>Test 21: Navigate into a checkbox group in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-21-navigate-into-checkbox-group-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1555,7 +1552,7 @@ <h2>Test 22: Navigate into a checkbox group in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-22-navigate-into-checkbox-group-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1624,7 +1621,7 @@ <h2>Test 23: Navigate into a checkbox group</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-23-navigate-into-checkbox-group-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down Expand Up @@ -1674,7 +1671,7 @@ <h2>Test 24: Navigate out of a checkbox group in reading mode</h2>
<ul>
<li>Mode: reading</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-24-navigate-out-of-checkbox-group-reading.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1743,7 +1740,7 @@ <h2>Test 25: Navigate out of a checkbox group in interaction mode</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: jaws, nvda</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-25-navigate-out-of-checkbox-group-interaction.html?at=jaws">jaws</a></li>
Expand Down Expand Up @@ -1812,7 +1809,7 @@ <h2>Test 26: Navigate out of a checkbox group</h2>
<ul>
<li>Mode: interaction</li>
<li>Applies to: voiceover_macos</li>
<li>Lasted edited: Sun Nov 22 13:31:24 2020 -0600</li>
<li>Lasted edited: Sun Nov 22 14:48:29 2020 -0600</li>
<li>Tests:
<ul>
<li><a href="../tests/checkbox/test-26-navigate-out-of-checkbox-group-interaction.html?at=voiceover_macos">voiceover_macos</a></li>
Expand Down
Loading

0 comments on commit 01698f8

Please sign in to comment.