Bug 1017954

Summary: Add unique CSS IDs to menu elements
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: WebUIAssignee: Walden Raines <walden>
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: daviddavis, mmccune, walden
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-06 17:44:57 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:

Description Og Maciel 2013-10-10 20:36:17 UTC
Description of problem:

In order to make UI automation simpler (finding elements in the web ui), we rely on very specific CSS IDs (unique) so that we can click on things via Selenium's web driver. When CSS is not available, then we need to resort to xpath which uses more resources... sometimes, there's nothing unique even using xpath and then we need to rely on the order of the items (eg. second LI item from UL with clas FOO). I'd like to request that all menus and submenus get a unique ID so that we can navigate through the menus and start testing localization as well (so we don't have to rely on text).

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

Current code

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Walden Raines 2013-10-11 15:41:06 UTC
After discussing this with omaciel we have agreed that this bug will address the top level menu items and the old dialog confirmation/cancel buttons.

Comment 5 Walden Raines 2014-03-06 17:44:57 UTC
This has been done in Foreman.