SuffolkLITLab / ALKiln

Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.
https://assemblyline.suffolklitlab.org/docs/alkiln/intro
MIT License
14 stars 4 forks source link

Handle and test "All of the above" for checkboxes #846

Open plocket opened 7 months ago

plocket commented 7 months ago

We're going to need to do extra DOM hunting as it has no usable value.

<input aria-label="All of the above" alt="All of the above" data-color="primary" class="dafield0 daaota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="_ignore_aota0" type="checkbox" value="True" name="_ignore_aota0" aria-hidden="true" style="display: none;">
<label class="text-start btn btn-light dalabelauty dafield0 daaota-checkbox checkbox-icon" for="_ignore_aota0" tabindex="0" role="checkbox" aria-checked="false" aria-label="All of the above"><span class="labelauty-unchecked-image text-body-secondary"><svg>...</svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com --></span><span class="labelauty-checked">All of the above</span></label>