Bug 1017954 - Add unique CSS IDs to menu elements
Summary: Add unique CSS IDs to menu elements
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 20:36 UTC by Og Maciel
Modified: 2014-03-06 17:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-06 17:44:57 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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