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.{' '} -

@@ -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={[ - , - , ]} > - setEditTitle(value)} /> + setEditTitle(value)} ouiaId="btn_modal_title_value" /> + , - , ]} diff --git a/src/Routes/DetailPage/Components/DetailServers/DetailServers.tsx b/src/Routes/DetailPage/Components/DetailServers/DetailServers.tsx index 8ab09f9..154a99a 100644 --- a/src/Routes/DetailPage/Components/DetailServers/DetailServers.tsx +++ b/src/Routes/DetailPage/Components/DetailServers/DetailServers.tsx @@ -117,7 +117,7 @@ export const DetailServers = (props: DetailServersProps) => { {servers.map((server) => ( - + {server.fqdn} {server.location} {server.hcc_enrollment_server ? 'Yes' : 'No'} diff --git a/src/Routes/DetailPage/DetailPage.tsx b/src/Routes/DetailPage/DetailPage.tsx index af547b2..8229e1f 100644 --- a/src/Routes/DetailPage/DetailPage.tsx +++ b/src/Routes/DetailPage/DetailPage.tsx @@ -103,6 +103,7 @@ const DetailPage = () => { }); } }} + ouiaId="btn_details_delete" > Delete , @@ -121,7 +122,7 @@ const DetailPage = () => { - + { aria-label="Tabs in the detail page" role="region" > - General} eventKey={0} /> - Servers} eventKey={1} /> + General} eventKey={0} ouiaId="btn_detail_general" /> + Servers} eventKey={1} ouiaId="btn_detail_servers" /> diff --git a/src/Routes/WizardPage/Components/PagePreparation/PagePreparation.tsx b/src/Routes/WizardPage/Components/PagePreparation/PagePreparation.tsx index 345f37e..5adb17c 100644 --- a/src/Routes/WizardPage/Components/PagePreparation/PagePreparation.tsx +++ b/src/Routes/WizardPage/Components/PagePreparation/PagePreparation.tsx @@ -75,14 +75,21 @@ const PagePreparation = (props: PagePreparationProps) => { return ( <> - Preparation for your identity domain registration + + Preparation for your identity domain registration +
{ console.debug('TODO onSubmit WizardPage' + String(value)); }} > - +
    @@ -96,6 +103,7 @@ const PagePreparation = (props: PagePreparationProps) => { iconPosition="right" isInline href={prerequisitesLink} + ouiaId="btn_wizard_pageprepare_prerequisites" > prerequisites @@ -105,7 +113,7 @@ const PagePreparation = (props: PagePreparationProps) => { Verify whether or not the package is present on your Red Hat IdM server(s) by running the following command in a terminal on your Red Hat IdM server(s): - + dnf list installed ipa-hcc-server @@ -118,10 +126,11 @@ const PagePreparation = (props: PagePreparationProps) => { iconPosition="right" isInline href={installServerPackagesLink} + ouiaId="link_wizard_pageprepare_install" > steps to install the server packages - + dnf copr enable copr.devel.redhat.com/cheimes/ipa-hcc && dnf install ipa-hcc-server diff --git a/src/Routes/WizardPage/Components/PageReview/PageReview.tsx b/src/Routes/WizardPage/Components/PageReview/PageReview.tsx index 5f49410..3c32ead 100644 --- a/src/Routes/WizardPage/Components/PageReview/PageReview.tsx +++ b/src/Routes/WizardPage/Components/PageReview/PageReview.tsx @@ -77,7 +77,7 @@ const PageReviewIpaServersBody = (props: PageReviewIpaServersProps) => { const PageReviewIpaServers = (props: PageReviewIpaServersProps) => { return ( <> - + @@ -163,7 +163,7 @@ interface PageReviewProps { const PageReview = (props: PageReviewProps) => { return ( <> - + <Title className="pt-u-mb-xl" headingLevel={'h2'} ouiaId="txt_wizard_review_title"> Review {props.domain.domain_type === 'rhel-idm' && } diff --git a/src/Routes/WizardPage/Components/PageServiceDetails/PageServiceDetails.tsx b/src/Routes/WizardPage/Components/PageServiceDetails/PageServiceDetails.tsx index b998890..158c582 100644 --- a/src/Routes/WizardPage/Components/PageServiceDetails/PageServiceDetails.tsx +++ b/src/Routes/WizardPage/Components/PageServiceDetails/PageServiceDetails.tsx @@ -70,9 +70,17 @@ const PageServiceDetails = (props: PageServiceDetailsProps) => { return ( <> e.preventDefault()}> - Add your identity domain information + + Add your identity domain information + - +