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 2063575 - [RFE] - add ouia-ID for buttons on a cv
Summary: [RFE] - add ouia-ID for buttons on a cv
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: Samir Jha
QA Contact: Griffin Sullivan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-13 20:21 UTC by Lai
Modified: 2024-02-08 19:50 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-katello-4.3.0.38-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:34:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34749 0 Normal New RFE - add ouia-ID for buttons on a cv 2022-04-07 12:39:14 UTC
Red Hat Issue Tracker SAT-9009 0 None None None 2022-03-14 11:06:03 UTC
Red Hat Issue Tracker SAT-9395 0 None None None 2023-01-19 19:33:05 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:34:38 UTC

Description Lai 2022-03-13 20:21:48 UTC
Description of problem:
This is to aid in airgun automation.  These are the buttons that needs to have ouia-ID:
- create cv
- publish cv
- next, back, and cancel button in the publish screen
- add/remove repositories
- close button in the progress bar workflow screen
- add, remove repo from the kebab menu 

This helps so automation doesn't collide with the dynamic IDs found in the html tags.

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

How reproducible:
100%

Steps to Reproduce:
1. Create cv
2. Inspect element for the buttons listed above in the description
3.

Actual results:


Expected results:


Additional info:

Comment 1 Brad Buckingham 2022-03-14 10:50:26 UTC
Similar to bug 2060097

Comment 4 Samir Jha 2022-04-07 12:39:13 UTC
Created redmine issue https://projects.theforeman.org/issues/34749 from this bug

Comment 5 Bryan Kearney 2022-04-19 20:04:57 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34749 has been resolved.

Comment 6 Griffin Sullivan 2022-05-05 15:24:40 UTC
Verified in 6.11 snap 19 on RHEL 7

ouia-ID added for:
- create cv
- publish cv
- add/remove repositories
- close button in the progress bar workflow screen

Steps to Reproduce:
1. Create cv
2. Inspect element for the buttons listed above in the description

Actual results:
data-ouia-component-id on the button is static and unique.

Expected results:
data-ouia-component-id on the button is static and unique.

Notes:
- next, back, and cancel button in the publish screen don't have static ouia-id's. However, they use button primary, secondary, and link in their class names which we can try to use.
- For removing and adding repositories from the kebab, we can only use the kebab at the top of the Repositories tab (next to Add repositories). For now, we will need to play around with reaching the kebab in each row of the table since those are dynamic. We will have to try to search for the CV in the search bar and then drill down into whatever result we get.

Comment 7 Lai 2022-05-12 01:43:18 UTC
Hey Samir,

Are the "Create content view" and "cancel" button in the create cv popup face the same issue as the "next, back, and cancel" button in the publish screen?  If no, I would need static ouia-id on those as well.

Comment 10 Griffin Sullivan 2022-05-23 15:06:16 UTC
Verified in 6.11 snap 21

Create Content View and cancel buttons on "Create content view" popup have unique ouia-ids.

Steps to Reproduce:
1. Content > Content Views > Create content view
2. Inspect buttons at the bottom

Expected Results:
Both "Create content view" and "Cancel" buttons have unique and static data-ouia-component-id's

Actual Results:
Both "Create content view" and "Cancel" buttons have unique and static data-ouia-component-id's

Comment 13 errata-xmlrpc 2022-07-05 14:34:27 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


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