Skip to content
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

add more accessibility tests #13494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yonasberhe23
Copy link
Contributor

Summary

Fixes #rancher/qa-tasks#1639

  • Added more accessibility tests
  • Improved output readability by separating test suites and test cases before listing accessibility violations

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@izaac
Copy link
Contributor

izaac commented Feb 26, 2025

It could be good to have Alex take a look. I am not very familiar with the injectAxe specifically yet.
It's looking good so far.

Copy link
Member

@aalves08 aalves08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment. I also don't know anything about cypress-axe but at least this PR gave me opportunity to read a bit of the documentation. Nothing else stands out to me codewise.

Once we've got some tests going we can check the results and the quality of the assessment and go from there.

Good job guys! 🙏

@@ -60,6 +60,10 @@ export default class AccountPagePo extends PagePo {
return this.self().get('button[type="reset"]').click();
}

changePasswordModal() {
return cy.get('.change-password-modal');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should use data-testid in order to be specific in regards to our targets. Classes can change without us realising that they are bound to a test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants