-
Notifications
You must be signed in to change notification settings - Fork 376
Description
Describe the issue. What is the expected and unexpected behavior?
There are cases when a web application can use more than one component library and there could be used similar components such as Dropdown. In order to distinguish components with OUIA in QA suite data-ouia-component-type should contain namespace e.g. data-ouia-component-type=PF4/Dropdown
Here spec excerpt https://ouia.readthedocs.io/en/latest/README.html#ouia-component:
A root level HTML element with a data-ouia-component-type attribute describing a unique name identifying ALL HTML components that can be controlled with the same code or interactions. These identifiers MAY and SHOULD be namespaced when used within a framework, particularly when the name is generic. The delimiter between namespace and type name should be a single / character.
- e.g. A page that has a special dropdown could choose to name that dropdown as FrameworkA/CustomDropdown. All instances of this FrameworkA/CustomDropdown component MUST be expected to be able to be controlled via the same automation.