Bug 1468879

Summary: Need identifiers on all the elements in the Nodes page, to support the automation
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: openstack-tripleo-uiAssignee: Ana Krivokapic <akrivoka>
Status: CLOSED ERRATA QA Contact: Ola Pavlenko <opavlenk>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 12.0 (Pike)CC: akrivoka, apannu, beth.white, jjoyce, jrist, jschluet, slinaber, tvignaud
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-ui-7.4.3-0.20171023133305.8616195.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 21:39:17 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 Udi Kalifon 2017-07-09 09:58:02 UTC
Description of problem:
The new GUI in the Nodes page is too difficult to support with the Selenium automation. All the elements are div's with generic classes like "list-view-pf-description", "list-view-pf-additional-info" etc ...

For the automation we need unique identifiers on all the elements:
1) The node names, power statuses, instrospection statuses, provision statuses
2) The nodes' profile assignments, the cpu counts, the ram infos, the storage sizes
3) The checkboxes near the nodes, the expand/collapse widget
4) The Tabel view and the List view buttons in the panel, the kebab menu and the menu items in it (e.g "Delete Node"), the Introspect and Provide buttons, and the filter controls
5) The Register Nodes button, the Refresh Results button and the Select All button
6) The additional information div and all the dl/dt elements (when you expand the view of one of the nodes)


Version-Release number of selected component (if applicable):
openstack-tripleo-ui-7.1.1-0.20170627161345.68e8684.el7ost.noarch

Comment 3 Jason E. Rist 2017-11-07 23:36:22 UTC
I can verify that this is visible when the code is inspected and all identifiers are present.

Comment 7 errata-xmlrpc 2017-12-13 21:39:17 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, 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/RHEA-2017:3462