Add accessibility tests to nightwatch

Bug #2035535 reported by Jane Sandberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Committed
Medium
Unassigned

Bug Description

Nightwatch includes the ability to automatically run axe accessibility tests on any page it tests, thanks to the nightwatch-axe-verbose package that it includes: https://github.com/reallymello/nightwatch-axe-verbose

This is more or less the equivalent of running the axe browser extension, except with no browser extension needed.

We should add these automated checks!

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Branch at user/sandbergja/lp2035535-nightwatch-axe

Here is a link: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sandbergja/lp2035535-nightwatch-axe

To test:
1. Compile and install this branch
2. `cd Open-ILS/src/eg2`
3. `MOZ_HEADLESS=1 ng e2e`
4. In the output, confirm that a bunch of checks say 'aXe rule', and that they pass

Note that this branch also contains the fix to bug 2035287, to get the nightwatch tests back on track.

tags: added: pullrequest
Changed in evergreen:
assignee: Jane Sandberg (sandbergja) → nobody
Revision history for this message
Stephanie Leary (stephanieleary) wrote :

Looks good, Jane! There are a couple of failing tests in Acq and Vandelay, probably due to recent changes, but we can deal with those elsewhere.

Signoff here: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sleary/lp2035535-nightwatch-axe-signoff

tags: added: signedoff
Changed in evergreen:
assignee: nobody → Jane Sandberg (sandbergja)
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Stephanie! Pushed to main.

Changed in evergreen:
status: New → Fix Committed
milestone: none → 3.12-beta
importance: Undecided → Low
importance: Low → Medium
assignee: Jane Sandberg (sandbergja) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.