Skip to content

Request: Update components to support OuiaID prop #1997

@mshriver

Description

@mshriver

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions