To support automated web graphical user interface (GUI) testing tools such as Selenium, web applications should assign unique and deterministic identifiers (IDs) to HTML DOM elements representing parts of the user interface (UI) that involve some sort of user interaction, for example, a button or text field. In UserPortal 'Basic' view, Virtual Machine action buttons such as Run or Shutdown do not have these explicit IDs. This means that automated web GUI testing tools might have problems accessing Virtual Machine action buttons without explicit IDs.
To rectify this, explicit IDs have been added to the Virtual Machine action buttons. This means that automated web GUI testing tools can now easily access Virtual Machine action buttons through explicit IDs.
Created attachment 705019[details]
Screen: User Portal - VM action button IDs
Description of problem:
In the User Portal "Basic" view, VM action buttons (Run, Shutdown, ...) are now missing static IDs. Till this version, all these buttons had IDs like 'MainTabBasicListView_vm0_runButton', now the IDs are dynamic again, for example 'gwt-uid-370_runButton', see attached screenshot.
Version-Release number of selected component (if applicable):
rhevm-3.1.0-50.el6ev (SI27.3)
How reproducible:
Always
Steps to Reproduce:
1. Have a VM, which you can access from the User Portal (the "Basic" view).
2. Locate the HTML ID attribute of some of the VM action button widget (like 'Run VM' button).
Actual results:
<div id="gwt-uid-370_runButton" ...
Expected results:
<div id="MainTabBasicListView_vm0_runButton" ...
Additional info:
Regression against rhevm-3.1.0-49.el6ev (SI27.2).
This bug is currently attached to errata RHEA-2013:14491. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.
Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:
* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')
Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.
For further details on the Cause, Consequence, Fix, Result format please refer to:
https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes
Thanks in advance.
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.
http://rhn.redhat.com/errata/RHSA-2013-0888.html
Created attachment 705019 [details] Screen: User Portal - VM action button IDs Description of problem: In the User Portal "Basic" view, VM action buttons (Run, Shutdown, ...) are now missing static IDs. Till this version, all these buttons had IDs like 'MainTabBasicListView_vm0_runButton', now the IDs are dynamic again, for example 'gwt-uid-370_runButton', see attached screenshot. Version-Release number of selected component (if applicable): rhevm-3.1.0-50.el6ev (SI27.3) How reproducible: Always Steps to Reproduce: 1. Have a VM, which you can access from the User Portal (the "Basic" view). 2. Locate the HTML ID attribute of some of the VM action button widget (like 'Run VM' button). Actual results: <div id="gwt-uid-370_runButton" ... Expected results: <div id="MainTabBasicListView_vm0_runButton" ... Additional info: Regression against rhevm-3.1.0-49.el6ev (SI27.2).