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

Component Accessibility Status: Update all tests to use the proper naming convention for tags #14595

Closed
46 tasks done
Tracked by #13745
tay1orjones opened this issue Sep 7, 2023 · 1 comment · Fixed by #14915 or #14913
Closed
46 tasks done
Tracked by #13745
Assignees
Milestone

Comments

@tay1orjones
Copy link
Member

tay1orjones commented Sep 7, 2023

In #14538 a new naming convention was established for tags placed on avt e2e tests. At the time, only Accordion was updated to use this new naming convention.

Every e2e test file needs to be updated to follow the new naming convention for tags. Without this, avt test status will not be properly surfaced on the website, carbon-design-system/carbon-website#3735

Tasks for each component

Click to expand list of component test files to update in './e2e/components'

List of *-test.avt.e2e.js component test files to update

Delivery

  1. status: ready to merge 🎉
  2. status: ready to merge 🎉
@tay1orjones
Copy link
Member Author

Copied content from the naming convention documentation:

Tags

Playwright tests are divided into different tag categories for reporting
purposes. @avt test tags are used to populate accessibility test statuses
within component pages on https://carbondesignsystem.com

For avt tests, the test title should always include one of the following:

Tag Description
@avt High level/root tag that should wrap all avt tests. This is usually placed in a describe block title.
@avt-default-state Sub-tag of @avt, used to tag individual tests covering the default state of a component.
@avt-advanced-states Sub-tag of @avt, used to tag individual tests covering advanced states of a component (open/close, invalid, expanded, etc.).
@avt-keyboard-nav Sub-tag of @avt, used to tag individual tests covering keyboard navigation flows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
2 participants