Skip to content

Commit

Permalink
fix(Ouia): Add OUIA ids for custom staleness buttons (#2061)
Browse files Browse the repository at this point in the history
Co-authored-by: Adonis Puente <[email protected]>
  • Loading branch information
computercamplove and adonispuente authored Oct 13, 2023
1 parent 743ccf9 commit 5bc74ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/InventoryHostStaleness/HostStalenessCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ const HostStalenessCard = ({ canModifyHostStaleness }) => {
onClick={() => {
setIsEditing(!isEditing);
}}
ouiaId="edit-staleness-setting"
>
Edit
</Button>
Expand Down
1 change: 1 addition & 0 deletions src/components/InventoryHostStaleness/TabCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const TabCard = ({
role="button"
onClick={() => resetToStandard(activeTabKey)}
style={{ padding: '0' }}
ouiaId="reset-to-default"
>
Reset to default setting
</Button>
Expand Down

0 comments on commit 5bc74ee

Please sign in to comment.