-
Notifications
You must be signed in to change notification settings - Fork 110
Description
The core PatternFly components are largely OUIA compatible, and specify a prop for ouiaId.
For example, Title: https://www.patternfly.org/components/title#title
This allows test automation to uniquely identify page components based on only the OUIA type (part of component specification) and ID (set via prop).
Within the frontend-components library, the props aren't mapped into the core patternfly component.
For example, PageHeaderTitle: https://github.com/RedHatInsights/frontend-components/blob/master/packages/components/src/PageHeader/PageHeaderTitle.tsx
This returns a Flex element with a Title element in it, but no props are passed into the title element attributes.
Without mapping the props, QE is blocked from adding unique IDs to the frontend source that allow for consistent and direct UI test automation.