diff --git a/src/Components/DomainList/DomainList.tsx b/src/Components/DomainList/DomainList.tsx
index 5eecdbc..cf0ebcb 100644
--- a/src/Components/DomainList/DomainList.tsx
+++ b/src/Components/DomainList/DomainList.tsx
@@ -187,14 +187,17 @@ export const DomainList = () => {
{
title: 'Enable/Disable',
onClick: () => onEnableDisable(domain),
+ ouiaId: 'btn_action_enabledisable',
},
{
title: 'Edit',
onClick: () => console.log(`clicked on Edit, on row ${domain.title}`),
+ ouiaId: 'btn_action_edit',
},
{
title: 'Delete',
onClick: () => onDelete(domain),
+ ouiaId: 'btn_action_delete',
},
];
@@ -237,6 +240,7 @@ export const DomainList = () => {
onClick={() => {
onShowDetails(domain);
}}
+ ouiaId="link_list_domain_details"
>
{domain.title}
diff --git a/src/Routes/DefaultPage/DefaultPage.tsx b/src/Routes/DefaultPage/DefaultPage.tsx
index cc4e84f..56d2053 100644
--- a/src/Routes/DefaultPage/DefaultPage.tsx
+++ b/src/Routes/DefaultPage/DefaultPage.tsx
@@ -39,7 +39,16 @@ const Header = () => {
Manage registered identity domains to leverage host access controls from your existing identity and access management.{' '}
- } iconPosition="right" href={linkLearnMoreAbout}>
+ }
+ iconPosition="right"
+ href={linkLearnMoreAbout}
+ ouiaId="link_default_learn_more_about_1"
+ >
Learn more about the domain registry.
@@ -78,7 +87,9 @@ const EmptyContent = () => {
cloud environment*. To get started, register an identity domain.
-
+
@@ -180,7 +192,9 @@ const ListContent = () => {
-
+
diff --git a/src/Routes/DetailPage/Components/DetailGeneral/DetailGeneral.tsx b/src/Routes/DetailPage/Components/DetailGeneral/DetailGeneral.tsx
index 4c7e357..1371cee 100644
--- a/src/Routes/DetailPage/Components/DetailGeneral/DetailGeneral.tsx
+++ b/src/Routes/DetailPage/Components/DetailGeneral/DetailGeneral.tsx
@@ -178,6 +178,7 @@ export const DetailGeneral = (props: DetailGeneralProps) => {
setIsTitleModalOpen(true);
return;
}}
+ ouiaId="btn_detail_general_edit_title"
>
@@ -205,6 +206,7 @@ export const DetailGeneral = (props: DetailGeneralProps) => {
setEditDescription(description);
setIsDescriptionModalOpen(true);
}}
+ ouiaId="btn_detail_general_edit_description"
>
@@ -229,6 +231,7 @@ export const DetailGeneral = (props: DetailGeneralProps) => {
onClick={() => {
props.onShowServerTab && props.onShowServerTab();
}}
+ ouiaId="btn_detail_general_edit_autoenrollment"
>
{domain?.['rhel-idm']?.servers.length}
@@ -277,6 +280,7 @@ export const DetailGeneral = (props: DetailGeneralProps) => {
new Error('not implemented');
return;
}}
+ ouiaId="link_detail_general_certificate"
>
@@ -291,27 +295,35 @@ export const DetailGeneral = (props: DetailGeneralProps) => {
title="Edit display name"
isOpen={isTitleModalOpen}
onClose={handleCancelTitleButton}
+ ouiaId="modal_title"
actions={[
-