Skip to content

Commit

Permalink
Regression Tests: Add test infra and tests for 27 example pages (pull #…
Browse files Browse the repository at this point in the history
…895)

Add Aava.js regression test infra and tests for 27 example pages:

alert.js
breadcrumb.js
button.js
checkbox-1.js
checkbox-2.js
combobox-autocomplete-both.js
combobox-autocomplete-list.js
combobox-autocomplete-none.js
dialog.js
disclosure-faq.js
grid-combo.js
LayoutGrids.js
link.js
listbox-combo.js
listbox-scrollable.js
menu-button-actions.js
menubar-2.js
radio-1.js
slider-1.js
table.js
tabs.js
toolbar.js
treegrid-1.js
treeview-1a.js
treeview-1b.js
treeview-2a.js
treeview-2b.js
  • Loading branch information
mcking65 committed Sep 19, 2018
1 parent 2d16c91 commit 844a7f2
Show file tree
Hide file tree
Showing 48 changed files with 17,528 additions and 558 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ language: node_js
node_js:
- "node"

addons:
firefox: "60.0.2"

git:
depth: 3

Expand All @@ -11,6 +14,9 @@ stages:
- Deploy
jobs:
include:
- stage: Test
name: AVA Regression Tests
script: ava --tap -c 1 test/tests
- stage: Test
name: JS Linting
script: npm run lint
Expand All @@ -27,3 +33,6 @@ jobs:
script: /tmp/deploy/travis-deploy.sh
on:
branch: master

env:
- TEST_WAIT_TIME=1000
2 changes: 1 addition & 1 deletion examples/combobox/aria1.1pattern/listbox-combo.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ <h3 id="rps_label_textbox">Textbox</h3>
</tr>
</thead>
<tbody>
<tr data-test-id="textbox-aria-labelledby">
<tr data-test-id="textbox-id">
<td></td>
<th scope="row">
<code>id="string"</code>
Expand Down
10 changes: 5 additions & 5 deletions examples/link/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h2 id="kbd_label">Keyboard Support</h2>
</tr>
</thead>
<tbody>
<tr>
<tr data-test-id="key-enter">
<th><kbd>enter</kbd></th>
<td>
Activates the link.
Expand All @@ -135,7 +135,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>
</tr>
</thead>
<tbody>
<tr>
<tr data-test-id="link-role">
<th scope="row"><code>link</code></th>
<td>
</td>
Expand All @@ -147,21 +147,21 @@ <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><code>span</code>, <br/><code>img</code></td>
<td>Includes the link element in the page tab sequence.</td>
</tr>
<tr>
<tr data-test-id="alt">
<td></td>
<th scope="row"><code>alt</code></th>
<td><code>img</code></td>
<td>
Example 2: Defines the accessible name of the link.
</td>
</tr>
<tr>
<tr data-test-id="aria-label">
<td></td>
<th scope="row"><code>aria-label</code></th>
<td><code>span</code></td>
Expand Down
Loading

0 comments on commit 844a7f2

Please sign in to comment.