Bug 2065450

Summary: [RFE] - add ouia-ID prop to all fields in CDN configuration
Product: Red Hat Satellite Reporter: Lai <ltran>
Component: Subscription ManagementAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Griffin Sullivan <gsulliva>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: ehelms, gsulliva, lufu, pcreech
Target Milestone: 6.11.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.3.0.38-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:34:49 UTC 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:

Description Lai 2022-03-17 20:31:39 UTC
Description of problem:
All the fields that are editable needs to have an OUIA-ID prop so the id fields are static for automation.  All fields are under red hat CDN, upstream foreman server, and air-gapped.

Version-Release number of selected component (if applicable):
7.0 snap 13

How reproducible:
100

Steps to Reproduce:
1. Go to CDN configuration
2. Inspect element for all editable fields in red hat CDN, upstream foreman server, and air-gapped

Actual results:
No static OUIA-ID prop ids are present.  Only dynamic ones for the editable fields.

Expected results:
There should be OUIA-ID prop ids for each editable field.

Additional info:

Comment 3 Lucy Fu 2022-04-07 20:02:57 UTC
Created redmine issue https://projects.theforeman.org/issues/34754 from this bug

Comment 4 Bryan Kearney 2022-04-12 16:05:04 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34754 has been resolved.

Comment 7 Griffin Sullivan 2022-05-04 13:38:20 UTC
Failed QA on 6.11 snap 18.5 on RHEL 7

All of the input fields except for Password edit buttons under Network Sync have unique and static data-ouia-component-id. The pencil icon, check mark, and cancel buttons do not have unique and static ouia-id's, so QE's automation will be unable to edit the password field since the user is required to click the pencil icon first.

Steps to Reproduce:
1. Go to CDN configuration > Network Sync
2. Inspect element for pencil icon next to password

Expected Result:
Pencil icon, check mark, and cancel buttons all have unique and static data-ouia-component-id.

Actual Result:
Pencil, check, and cancel icons have dynamic data-ouia-component-id.


Note:
All other input fields have proper data-ouia-component-id.

Comment 10 Brad Buckingham 2022-05-16 11:44:42 UTC
Moving to POST as the second upstream PR (for the failedQA) has been merged.

Ref: https://github.com/Katello/katello/pull/10092

Comment 13 Griffin Sullivan 2022-05-23 15:00:15 UTC
Verified in 6.11 snap 21

All fields in CDN Configuration tabs have unique ouia-ids.

Steps to Reproduce:
1. Go to Content > Subscriptions > Manage Manifest > CDN Configuration
2. Inspect the page and look for data-ouia-component-id on the button and inputs under Red Hat CDN, Network Sync, and Export Sync

Expected Results:
All results have a unique and static data-ouia-component-id.

Actual Results:
All results have a unique and static data-ouia-component-id.

Comment 16 errata-xmlrpc 2022-07-05 14:34:49 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 (Moderate: Satellite 6.11 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-2022:5498