Skip to content

Commit

Permalink
Expand sample test content to handle more scenarios (#1224)
Browse files Browse the repository at this point in the history
Address #759
  • Loading branch information
howard-e authored Oct 3, 2024
1 parent 794c569 commit 141c208
Show file tree
Hide file tree
Showing 13 changed files with 4,698 additions and 603 deletions.
1 change: 0 additions & 1 deletion client/components/DisclaimerInfo/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ const DisclaimerInfo = ({ phase }) => {
<Container>
<details>
<summary
id="disclaimer-title"
aria-expanded={expanded}
aria-controls="description"
onClick={() => setExpanded(!expanded)}
Expand Down
194 changes: 127 additions & 67 deletions client/tests/e2e/snapshots/saved/_data-management.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,11 @@ <h3>
<div class="form-group">
<label class="disclosure-form-label form-label"
>Test Plan Version</label
><select
disabled=""
aria-disabled="true"
class="form-select">
<option>Versions in R&amp;D or Deprecated</option>
><select aria-disabled="false" class="form-select">
<option value="85">
Sep 18, 2024 at 6:30:36 pm UTC Add quick nav instruction
for test 9 with VoiceOver (#1127) (122e07a)
</option>
</select>
</div>
<div></div>
Expand Down Expand Up @@ -377,7 +377,7 @@ <h2>Test Plans Status Summary</h2>
type="button"
aria-pressed="false"
class="css-14jv778 btn btn-secondary">
R&amp;D Complete (33)
R&amp;D Complete (32)
</button>
</li>
<li>
Expand All @@ -401,7 +401,7 @@ <h2>Test Plans Status Summary</h2>
type="button"
aria-pressed="false"
class="css-14jv778 btn btn-secondary">
Recommended Plans (1)
Recommended Plans (2)
</button>
</li>
</ul>
Expand Down Expand Up @@ -482,6 +482,121 @@ <h2>Test Plans Status Summary</h2>
</thead>
<tbody>
<tr aria-rowindex="0">
<th>
<a
href="/data-management/menu-button-actions-active-descendant"
><b
>Action Menu Button Example Using aria-activedescendant</b
></a
>
</th>
<td>
<div>
<b>JAWS</b><span>, </span><b>NVDA</b><span> and </span
><b>VoiceOver for macOS</b>
</div>
</td>
<td>
<div class="css-bpz90">
<span class="recommended full-width css-be9e2a"
>Recommended</span
>
<p class="review-text">Since <b>Sep 23, 2024</b></p>
</div>
</td>
<td><span class="css-wpichc">N/A</span></td>
<td>
<div role="list" class="css-1bj5ml9">
<span
class="full-width auto-width css-36z7cz"
role="listitem"
><span
><svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="circle-check"
class="svg-inline--fa fa-circle-check check"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
color="#818F98">
<path
fill="currentColor"
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"></path></svg
><b>V24.09.18</b></span
></span
><span role="listitem" class="review-complete"
>Review Completed&nbsp;<b>Sep 22, 2024</b></span
>
</div>
</td>
<td>
<div role="list" class="css-1bj5ml9">
<span
class="full-width auto-width css-36z7cz"
role="listitem"
><span
><svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="circle-check"
class="svg-inline--fa fa-circle-check check"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
color="#818F98">
<path
fill="currentColor"
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"></path></svg
><b>V24.09.18</b></span
></span
><span role="listitem" class="review-complete"
>Review Completed&nbsp;<b>Sep 23, 2024</b></span
>
</div>
</td>
<td>
<div role="list" class="css-1bj5ml9">
<span
class="full-width auto-width css-36z7cz"
role="listitem"
><a href="/test-review/85"
><span
><svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="circle-check"
class="svg-inline--fa fa-circle-check check"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
color="#2BA51C">
<path
fill="currentColor"
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"></path></svg
><b>V24.09.18</b></span
></a
></span
><span role="listitem"
><button
type="button"
class="css-1c4pbk0 btn btn-primary">
<span
><span class="reports-complete css-fidnqg"></span
>Required Reports <strong>Complete</strong></span
>
</button>
<div></div></span
><span role="listitem" class="review-complete"
>Approved&nbsp;<b>Sep 23, 2024</b></span
>
</div>
</td>
</tr>
<tr aria-rowindex="1">
<th>
<a href="/data-management/checkbox-tri-state"
><b>Checkbox Example (Tri State)</b></a
Expand Down Expand Up @@ -593,7 +708,7 @@ <h2>Test Plans Status Summary</h2>
</div>
</td>
</tr>
<tr aria-rowindex="1">
<tr aria-rowindex="2">
<th>
<a href="/data-management/modal-dialog"
><b>Modal Dialog Example</b></a
Expand Down Expand Up @@ -701,7 +816,7 @@ <h2>Test Plans Status Summary</h2>
</td>
<td><span class="css-wpichc">None Yet</span></td>
</tr>
<tr aria-rowindex="2">
<tr aria-rowindex="3">
<th>
<a href="/data-management/alert"><b>Alert Example</b></a>
</th>
Expand Down Expand Up @@ -790,7 +905,7 @@ <h2>Test Plans Status Summary</h2>
<td><span class="css-wpichc">Not Started</span></td>
<td><span class="css-wpichc">None Yet</span></td>
</tr>
<tr aria-rowindex="3">
<tr aria-rowindex="4">
<th>
<a href="/data-management/command-button"
><b>Command Button Example</b></a
Expand Down Expand Up @@ -887,7 +1002,7 @@ <h2>Test Plans Status Summary</h2>
<td><span class="css-wpichc">Not Started</span></td>
<td><span class="css-wpichc">None Yet</span></td>
</tr>
<tr aria-rowindex="4">
<tr aria-rowindex="5">
<th>
<a href="/data-management/combobox-select-only"
><b>Select Only Combobox Example</b></a
Expand Down Expand Up @@ -978,7 +1093,7 @@ <h2>Test Plans Status Summary</h2>
<td><span class="css-wpichc">Not Started</span></td>
<td><span class="css-wpichc">None Yet</span></td>
</tr>
<tr aria-rowindex="5">
<tr aria-rowindex="6">
<th>
<a href="/data-management/toggle-button"
><b>Toggle Button</b></a
Expand Down Expand Up @@ -1069,61 +1184,6 @@ <h2>Test Plans Status Summary</h2>
<td><span class="css-wpichc">Not Started</span></td>
<td><span class="css-wpichc">None Yet</span></td>
</tr>
<tr aria-rowindex="6">
<th>
<a
href="/data-management/menu-button-actions-active-descendant"
><b
>Action Menu Button Example Using aria-activedescendant</b
></a
>
</th>
<td>
<div>
<b>JAWS</b><span>, </span><b>NVDA</b><span> and </span
><b>VoiceOver for macOS</b>
</div>
</td>
<td>
<div class="css-bpz90">
<span class="rd full-width css-be9e2a">R&amp;D</span>
<p class="review-text">Complete <b>Sep 18, 2024</b></p>
</div>
</td>
<td>
<div role="list" aria-setsize="2" class="css-1bj5ml9">
<span
class="full-width auto-width css-36z7cz"
role="listitem"
><a href="/test-review/85"
><span
><svg
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="circle-check"
class="svg-inline--fa fa-circle-check check"
role="img"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
color="#2BA51C">
<path
fill="currentColor"
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"></path></svg
><b>V24.09.18</b></span
></a
></span
><button
type="button"
class="advance-button btn btn-secondary">
Advance to Draft
</button>
</div>
</td>
<td><span class="css-wpichc">Not Started</span></td>
<td><span class="css-wpichc">Not Started</span></td>
<td><span class="css-wpichc">None Yet</span></td>
</tr>
<tr aria-rowindex="7">
<th>
<a href="/data-management/menu-button-actions"
Expand Down
Loading

0 comments on commit 141c208

Please sign in to comment.