Skip to content

Commit

Permalink
Merge pull request #2085 from LightOfHeaven1994/RHINENG-8333
Browse files Browse the repository at this point in the history
fix(RHINENG-8333): correct ouia-type empty state
  • Loading branch information
Hyperkid123 authored Oct 22, 2024
2 parents c779e5e + 66f1274 commit 6c55ccd
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 6c55ccd

Please sign in to comment.