Bug 2212740

Summary: Incorrect aria-label and component id in the alternate content source modal for editing credentials
Product: Red Hat Satellite Reporter: Ladislav Vasina <lvasina>
Component: Alternate Content SourcesAssignee: Samir Jha <sajha>
Status: VERIFIED --- QA Contact: Ladislav Vasina <lvasina>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: pcreech, qjames, rlavi, sajha
Target Milestone: 6.14.0Keywords: AutomationBlocker, EasyFix, TestBlocker, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-4.9.0.1-1,rubygem-katello-4.9.0.1-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot showing incorrect ids and aria labels none

Description Ladislav Vasina 2023-06-06 08:11:32 UTC
Created attachment 1969239 [details]
Screenshot showing incorrect ids and aria labels

Created attachment 1969239 [details]
Screenshot showing incorrect ids and aria labels

Description of problem:
When you add custom or RHUI ACS to the satellite and try to edit its credentials, there are 
"Edit" and "Cancel" buttons in the edit modal.

"Edit" button has an aria-label:          "edit_acs_details"        (should be "edit_acs_credentials")
              has data-ouia-component-id: "edit-acs-details-submit" (should be "edit-acs-credentials-submit")

"Cancel" button has data-ouia-component-id: "edit-acs-details-cancel" (should be "edit-acs-credentials-cancel")
          

Version-Release number of selected component (if applicable):
satellite-6.14.0-1stream.el8sat.noarch
foreman-3.7.0-0.5.rc2.el8sat.noarch
Red Hat Enterprise Linux release 8.8 (Ootpa)

How reproducible:
Every time

Steps to Reproduce:
1. Have custom or RHUI ACS added to the satellite
2. Click on that ACS in the ACS table
3. Try to edit credentials 
4. Inspect the "Edit" and "Cancel" buttons

Actual results:
"Edit" and "Cancel" buttons have incorrect aria-labels and data-ouia-component-ids.

Expected results:
"Edit" and "Cancel" buttons should have their own aria-labels and data-ouia-component-ids.

Additional info:
See attached screenshot.
&
Similar to BZ2208161

Comment 1 Samir Jha 2023-06-15 17:48:21 UTC
Created redmine issue https://projects.theforeman.org/issues/36510 from this bug

Comment 2 Bryan Kearney 2023-06-16 00:03:18 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36510 has been resolved.

Comment 5 Ladislav Vasina 2023-06-30 07:58:40 UTC
VERIFIED

satellite-6.14.0-2.el8sat.noarch
foreman-3.7.0.1-1.el8sat.noarch
Red Hat Enterprise Linux release 8.8 (Ootpa)