Skip to content

Commit

Permalink
Regression test project: final changes and updates (pull #926)
Browse files Browse the repository at this point in the history
Incorporate final set of changes from 2018 Bocoup contract:
* Add tests for radio/radio-2/radio-2.html
* Add tests for listbox/listbox-rearrangeable.html
* Add missing radio-2 test
* Report: Account for no missing tests
* rename Combobox test files
* Add missing test names
* Remove debug related log messages
  • Loading branch information
mcking65 authored Dec 7, 2018
1 parent 0f32611 commit 38a5619
Show file tree
Hide file tree
Showing 35 changed files with 1,306 additions and 149 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
include:
- stage: Test
name: AVA Regression Tests
script: ava --tap -c 1 test/tests
script: ava -c 1 test/tests
- stage: Test
name: Regression Tests Coverage Report
script: node test/util/report.js
- stage: Test
name: JS Linting
script: npm run lint
Expand Down
4 changes: 2 additions & 2 deletions examples/alert/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
<td><code>div</code></td>
<td>Identifies the element as the container where alert content will be added or updated.</td>
</tr>
<tr>
<tr data-test-id="test-not-required">
<td></td>
<th scope="row"><code>aria-live=<q>assertive</q></code></th>
<td>Implicit on <code>div</code></td>
Expand All @@ -96,7 +96,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="test-not-required">
<td></td>
<th scope="row"><code>aria-atomic=<q>true</q></code></th>
<td>Implicit on <code>div</code></td>
Expand Down
2 changes: 1 addition & 1 deletion examples/checkbox/checkbox-1/checkbox-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</tr>
</thead>
<tbody>
<tr>
<tr data-test-id="h3">
<th scope="row"></th>
<td></td>
<td><code>h3</code></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h3 id="kbd_label_textbox">Textbox</h3>
</ul>
</td>
</tr>
<tr data-test-id="textbox-text-edit">
<tr data-test-id="standard-single-line-editing-keys">
<th>Standard single line text editing keys</th>
<td>
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h3 id="kbd_label_textbox">Textbox</h3>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="standard-single-line-editing-keys">
<th>Standard single line text editing keys</th>
<td>
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h3 id="kbd_label_textbox">Textbox</h3>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="standard-single-line-editing-keys">
<th>Standard single line text editing keys</th>
<td>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion examples/combobox/aria1.1pattern/grid-combo.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h3 id="kbd_label_textbox">Textbox</h3>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="standard-single-line-editing-keys">
<th>Standard single line text editing keys</th>
<td>
<ul>
Expand Down
4 changes: 2 additions & 2 deletions examples/combobox/aria1.1pattern/listbox-combo.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h3 id="kbd_label_textbox">Textbox</h3>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="standard-single-line-editing-keys">
<th>Standard single line text editing keys</th>
<td>
<ul>
Expand Down Expand Up @@ -310,7 +310,7 @@ <h3 id="kbd_label_listbox">Listbox Popup</h3>
<th><kbd>End</kbd></th>
<td>Moves focus to the textbox and places the editing cursor at the end of the field.</td>
</tr>
<tr>
<tr data-test-id="listbox-characters">
<th>Printable Characters</th>
<td>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion examples/grid/LayoutGrids.html
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="tabindex">
<td></td>
<th scope="row"><code>tabindex=&quot;0&quot;</code></th>
<td>span, div, or if present, widget inside cell</td>
Expand Down
26 changes: 13 additions & 13 deletions examples/radio/radio-2/radio-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</tr>
</thead>
<tbody>
<tr>
<tr data-test-id="key-tab">
<th><kbd>Tab</kbd></th>
<td>
<ul>
Expand All @@ -140,7 +140,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="key-space">
<th><kbd>Space</kbd></th>
<td>
<ul>
Expand All @@ -150,7 +150,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="key-right-arrow">
<th><kbd>Right arrow</kbd></th>
<td>
<ul>
Expand All @@ -160,7 +160,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="key-down-arrow">
<th><kbd>Down arrow</kbd></th>
<td>
<ul>
Expand All @@ -170,7 +170,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="key-left-arrow">
<th><kbd>Left arrow</kbd></th>
<td>
<ul>
Expand All @@ -180,7 +180,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="key-up-arrow">
<th><kbd>Up arrow</kbd></th>
<td>
<ul>
Expand All @@ -206,19 +206,19 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</tr>
</thead>
<tbody>
<tr>
<tr data-test-id="radiogroup-role">
<th scope="row"><code>radiogroup</code></th>
<td></td>
<td><code>ul</code></td>
<td>Identifies the element as a container for a group of <code>radio</code> buttons.</td>
</tr>
<tr>
<tr data-test-id="radiogroup-aria-labelledby">
<td></td>
<th scope="row"><code>aria-labelledby="[IDREF]"</code></th>
<td><code>ul</code></td>
<td>Refers to the element that contains the label of the radio group.</td>
</tr>
<tr>
<tr data-test-id="radiogroup-tabindex">
<td></td>
<th scope="row"><code>tabindex=&quot;0&quot;</code></th>
<td><code>ul</code></td>
Expand All @@ -229,7 +229,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="radiogroup-aria-activedescendant">
<td></td>
<th scope="row"><code>aria-activedescendant=&quot;[IDREF]&quot;</code></th>
<td><code>ul</code></td>
Expand All @@ -245,7 +245,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="radio-role">
<th scope="row"><code>radio</code></th>
<td></td>
<td><code>li</code></td>
Expand All @@ -256,7 +256,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="radio-aria-checked">
<td></td>
<th scope="row"><code>aria-checked="false"</code></th>
<td><code>li</code></td>
Expand All @@ -268,7 +268,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</ul>
</td>
</tr>
<tr>
<tr data-test-id="radio-aria-checked">
<td></td>
<th scope="row"><code>aria-checked="true"</code></th>
<td><code>li</code></td>
Expand Down
Loading

0 comments on commit 38a5619

Please sign in to comment.