Skip to content

Commit

Permalink
fix(v6): Fix ouiaIds
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac committed Oct 9, 2024
1 parent f985a17 commit 4bb1379
Show file tree
Hide file tree
Showing 4 changed files with 467 additions and 327 deletions.
217 changes: 185 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const ResponsiveActions: React.FunctionComponent<ResponsiveActionsProps>
onSelect={() => setIsOpen(false)}
toggle={(toggleRef) => (
<MenuToggle
data-ouia-component-id={`${ouiaId}-menu-dropdown-toggle`}
ouiaId={`${ouiaId}-menu-dropdown-toggle`}
ref={toggleRef}
aria-label="Actions overflow menu"
variant="plain"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ exports[`ResponsiveActions component should render correctly ResponsiveActions 1
aria-expanded="false"
aria-label="Actions overflow menu"
class="pf-v6-c-menu-toggle pf-m-plain"
data-ouia-component-id="OUIA-Generated-MenuToggle-plain-1"
data-ouia-component-id="ResponsiveActions-menu-dropdown-toggle"
data-ouia-component-type="PF6/MenuToggle"
data-ouia-safe="true"
type="button"
Expand Down
Loading

0 comments on commit 4bb1379

Please sign in to comment.