Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 917698 - [User Portal] VM action buttons are now missing static IDs (needed for automated testing)
[User Portal] VM action buttons are now missing static IDs (needed for automa...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-userportal (Show other bugs)
3.1.3
Unspecified Unspecified
urgent Severity high
: ---
: 3.2.0
Assigned To: vszocs
Pavel Novotny
ux
: Regression, TestBlocker, ZStream
Depends On:
Blocks: 918735 922807
  Show dependency treegraph
 
Reported: 2013-03-04 10:12 EST by Pavel Novotny
Modified: 2015-09-22 09 EDT (History)
10 users (show)

See Also:
Fixed In Version: sf10
Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
: 918735 (view as bug list)
Environment:
Last Closed: 2013-06-10 17:35:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Screen: User Portal - VM action button IDs (234.47 KB, image/png)
2013-03-04 10:12 EST, Pavel Novotny
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 12754 None None None Never
Red Hat Product Errata RHSA-2013:0888 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-10 20:55:41 EDT

  None (edit)
Description Pavel Novotny 2013-03-04 10:12:07 EST
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).
Comment 4 Pavel Novotny 2013-03-13 06:30:23 EDT
Verified in rhevm-3.2.0-10.14.beta1.el6ev (SF10).

All static IDs on the Basic view are again present.
Comment 5 Cheryn Tan 2013-04-03 02:52:04 EDT
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.
Comment 6 vszocs 2013-04-05 16:12:22 EDT
Updated Doc Type & Doc Text.
Comment 7 errata-xmlrpc 2013-06-10 17:35:06 EDT
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

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