-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement e2e accessibility tests for pages in DSpace User Interface #3213
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FrancescoMolinaro : Apologies for the delay in reviewing this. This looks great! I've run the tests locally to be sure they work, and almost all of them work perfectly. However, I'm seeing minor accessibility failures from processes-overview.cy.ts
and admin-notifications-publication-claim.cy.ts
... But, it's possible it's my local test data causing issues.
Could you perhaps rebase this on the latest main
in order to trigger the e2e tests to run again? If a fresh run is successful, we can merge this immediately. Thanks again.
Metadata Import Batch Import Processes Overview New Process Quality Assurance Sources
Edit Eperson Edit Group Create EPerson Epeople Registry Groups Registry
Admin Notifications Publication Claim Admin Search Page Bulk Access Create Group Metadata Registry
Admin Curation Task Bitstream Format Health Page Metadata Schema
Admin Add New Modals Admin Edit Modals Admin Export Modals Admin Workflow Page End User Agreement Feedback Profile Page System Wide Alert
97a1d8e
to
0e5b924
Compare
Hi @tdonohue , no worries at all and thanks for checking.
A part from these two fixes I haven't experienced issues with processes-overview or admin-notifications-publication-claim and also on the latest run I can see they are passing successfully, it could actually depends on your local data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks @FrancescoMolinaro ! This looks great now. I'm going to merge immediately, and see if we can backport it (minimally to 8.x). A backport to 7.x might need to be done manually (because not all the features tested in this PR existed in 7.x), but would also be worthwhile
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-7_x
git worktree add -d .worktree/backport-3213-to-dspace-7_x origin/dspace-7_x
cd .worktree/backport-3213-to-dspace-7_x
git switch --create backport-3213-to-dspace-7_x
git cherry-pick -x e6a7fb852a147e9193fd3164660d12228c36d56a a0e3c41be6d7fbf93dc98ce2973831ab3b222b68 85e486438a1aab91856ecd218cdd497a081b4003 d12d0faf0904e241008c1e8c1f9463e19daf3b91 4cd55d6669ca5c7e61d7b7e924602dfa477391ae 69f618e8566445b800b83bcc4604bd2e59a98b28 2369b27178890b44d79e52ad7d4d02d3dcfff89b f131ae2f6babf03170f3ee719285456cbfa22392 0e5b924f4266e8c83f2b03e0a8de9347cd45d3b5 55ab43f132864e22396e369184f6c3c8a98e4a53 2b466bb382553907d743a2cdbed2df3f90782814 9e985cf2d448d3a720a7ae208f14b7e7475dd7df |
Successfully created backport PR for |
@FrancescoMolinaro : Could you see if this is possible to port to |
Ported to 7.x in #3405 |
References
Fixes #2780
Description
Implemented automated accessibility tests for pages in User Interface and for pages accessible also to anonymous users which missed tests.
Instructions for Reviewers
To check accessibility tests there is an automated pipeline here on GitHub, otherwise every single page can be checked with the browser extension axe DevTools.
https://chromewebstore.google.com/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You do not need to complete this checklist prior creating your PR (draft PRs are always welcome).
However, reviewers may request that you complete any actions in this list if you have not done so. If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
main
branch of code (unless it is a backport or is fixing an issue specific to an older branch).yarn lint
yarn check-circ-deps
)package.json
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.