Skip to content

Commit

Permalink
fix(RHINENG-8333): correct ouia-type empty state
Browse files Browse the repository at this point in the history
  • Loading branch information
LightOfHeaven1994 committed Oct 21, 2024
1 parent c779e5e commit 66f1274
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/ConditionalFilter/TextFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const TextFilter: React.FunctionComponent<TextFilterProps> = ({ customIcon = <Se
isDisabled={isDisabled}
aria-label={props['aria-label'] || 'text input'}
className={classNames('ins-c-conditional-filter', className)}
data-ouia-component-type="PF4/TextInput"
data-ouia-component-type="PF5/TextInput"
onKeyDown={(e) => e.key === 'Enter' && props?.onSubmit?.(e)}
ouiaId="ConditionalFilter"
widget-type="InsightsInput"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/src/TestingUtils/CypressUtils/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const TABLE = '[data-ouia-component-type="PF5/Table"]';
export const TABLE_HEADER = 'thead [data-ouia-component-type="PF5/TableRow"]';
export const TABLE_ROW = 'tbody [data-ouia-component-type="PF5/TableRow"]';
export const TABLE_ROW_CHECKBOX = 'tbody [data-ouia-component-type="PF5/TableRow"] input';
export const EMPTY_STATE = '[data-ouia-component-type="PF4/EmptyState"]';
export const EMPTY_STATE = '[data-ouia-component-type="PF5/EmptyState"]';
export const CARD = '[data-ouia-component-type="PF5/Card"]';
export const BREADCRUMB = '[data-ouia-component-type="PF5/Breadcrumb"]';
export const TAB_CONTENT = '[data-ouia-component-type="PF5/TabContent"]';
Expand Down

0 comments on commit 66f1274

Please sign in to comment.