Bug 2155911

Summary: Audit ouia-ids for ACS UI
Product: Red Hat Satellite Reporter: Jeremy Lenz <jlenz>
Component: Subscription ManagementAssignee: Jeremy Lenz <jlenz>
Status: CLOSED ERRATA QA Contact: Partha Aji <paji>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: juwatts, lufu, osousa, pcreech, sajha
Target Milestone: 6.13.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-4.7.0.1,rubygem-katello-4.7.0.23-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 13:23:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeremy Lenz 2022-12-22 21:32:32 UTC
We need to run a check on ouia-ids on ACS UI and make sure all required components have those assigned.

Comment 1 Jeremy Lenz 2022-12-22 21:32:35 UTC
Created from redmine issue https://projects.theforeman.org/issues/35873

Comment 2 Jeremy Lenz 2022-12-22 21:32:36 UTC
Upstream bug assigned to jlenz

Comment 4 Partha Aji 2023-03-13 20:42:03 UTC
Sounds like couple of ouia-ids still missing
"""
diff --git a/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditDetails.js b/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditDetails.js
index 1b74465d35..278ea9b753 100644
--- a/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditDetails.js
+++ b/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditDetails.js
@@ -34,6 +34,7 @@ const ACSEditDetails = ({ onClose, acsId, acsDetails }) => {
       isOpen
       onClose={onClose}
       appendTo={document.body}
+      ouiaId={`ACS Edit Details-${acsId}`}
     >
       <Form onSubmit={(e) => {
         e.preventDefault();
@@ -43,6 +44,7 @@ const ACSEditDetails = ({ onClose, acsId, acsDetails }) => {
         <FormGroup label={__('Name')} isRequired fieldId="acs_name">
           <TextInput
             isRequired
+            ouiaId={`ACS Edit Name-${acsId}`}
             type="text"
             id="acs_name_field"
             name="acs_name_field"
diff --git a/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditProducts.js b/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditProducts.js
index f9e3baa4e7..b88ea956a4 100644
--- a/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditProducts.js
+++ b/webpack/scenes/AlternateContentSources/Details/EditModals/ACSEditProducts.js
@@ -69,6 +69,7 @@ const ACSEditProducts = ({ onClose, acsId, acsDetails }) => {
       isOpen
       onClose={onClose}
       appendTo={document.body}
+      ouiaId={`ACS-Edit-Products-${acsId}`}
     >
       <Form onSubmit={(e) => {
         e.preventDefault();
"""

Comment 8 errata-xmlrpc 2023-05-03 13:23:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.13 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2097