Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2132452 - Missing ouia-id for content view
Summary: Missing ouia-id for content view
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.12.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 6.13.0
Assignee: Samir Jha
QA Contact: Jeremy Lenz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-05 18:46 UTC by Lai
Modified: 2024-02-08 19:32 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 13:22:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35989 0 Normal New Missing ouia-id for content view 2023-01-24 15:52:15 UTC
Red Hat Issue Tracker SAT-13302 0 None None None 2023-01-23 18:08:51 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:23:51 UTC

Description Lai 2022-10-05 18:46:14 UTC
Description of problem:
There's still a few missing ouia-id in content view.  The list include the following:

1. search bar
2. kebabs
3. rpm add rules page
4. datepicker for errata by date range
5. Table filter dropdowns

Version-Release number of selected component (if applicable):
6.12 snap 12

How reproducible:
100%

Steps to Reproduce:
1. Create a cv and publish it
2. Do an inspect element on the kebabs in the content view page or the cvv page
3. Do an inspect element on the filter dropdown for repo and status under the repository tab
4. Do an inspect on element for rpm filter on add filter
5. Do an inspect on element on the datepicker 

Actual results:
Dynamic ouia-id generated in the specific components

Expected results:
Should have static ouia-id

Additional info:

Comment 7 Samir Jha 2023-01-24 15:52:14 UTC
Created redmine issue https://projects.theforeman.org/issues/35989 from this bug

Comment 8 Bryan Kearney 2023-01-27 20:03:04 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35989 has been resolved.

Comment 10 Jeremy Lenz 2023-02-09 21:53:43 UTC
Results on 6.13 snap 9:

Kebabs in the content view page:

Top kebab (next to View tasks button): data-ouia-component-id="OUIA-Generated-Dropdown-1"     <----- Generated ouiaID
Bottom kebab: data-ouia-component-id="cv-version-header-actions-dropdown"

Kebabs in the content view Versions page:

Top kebab (next to View tasks button): data-ouia-component-id="OUIA-Generated-Dropdown-1"     <----- Generated ouiaID
Bulk actions kebab: data-ouia-component-id="cv-versions-bulk-actions"
Table row kebab: data-ouia-component-id="OUIA-Generated-Dropdown-1"                           <----- Generated ouiaID

Repositories tab

Repository dropdown: data-ouia-component-id="select Type"
Status dropdown: data-ouia-component-id="select Status"

Filters tab - Create Filter modal

Content type dropdown (defaults to RPM): data-ouia-component-id="content_type"

Errata filter by date datepicker: data-ouia-component-id="OUIA-Generated-TextInputBase-1"     <----- Generated ouiaID

Comment 11 Jeremy Lenz 2023-02-09 21:58:49 UTC
Failed QA on 6.13 snap 9, see results above.

Comment 12 Bryan Kearney 2023-02-10 00:03:01 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35989 has been resolved.

Comment 13 Ian Ballou 2023-02-10 16:43:02 UTC
I also found missing ouia-IDs on the ACS create page, perhaps we can add those along with the fix for this BZ.  Specifically the Next, Back, and Cancel buttons.

Comment 14 Jeremy Lenz 2023-03-10 16:38:17 UTC
Results on 6.13 snap 14:

Kebabs in the content view page:

Top kebab (next to View tasks button): data-ouia-component-id="cv-details-actions"            <----- Fixed

Kebabs in the content view Versions tab:

Top kebab (next to View tasks button): data-ouia-component-id="cv-details-actions"            <----- Fixed
Table row kebab: data-ouia-component-id="OUIA-Generated-Dropdown-3"                           <----- Generated ouiaID

Filters tab:

Errata filter by date datepicker: data-ouia-component-id="OUIA-Generated-TextInputBase-1"     <----- Generated ouiaID

@sajha I think the remaining Generated ids are rendered by PF4 components that we can't control. Do you concur?

Comment 16 Jeremy Lenz 2023-03-13 13:37:36 UTC
Verified in 6.13 snap 14 - see results in https://bugzilla.redhat.com/show_bug.cgi?id=2132452#c14

The two remaining generated OUIA-IDs are rendered by Patternfly, so we'll have to live without them for now.

Same for the ones mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=2132452#c13 which are part of a Wizard.

Comment 19 errata-xmlrpc 2023-05-03 13:22:11 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


Note You need to log in before you can comment on or make changes to this bug.