Bug 917698 - [User Portal] VM action buttons are now missing static IDs (needed for automated testing)
Summary: [User Portal] VM action buttons are now missing static IDs (needed for automa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-userportal
Version: 3.1.3
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 3.2.0
Assignee: Vojtech Szocs
QA Contact: Pavel Novotny
URL:
Whiteboard: ux
Depends On:
Blocks: 918735 922807
TreeView+ depends on / blocked
 
Reported: 2013-03-04 15:12 UTC by Pavel Novotny
Modified: 2022-07-09 06:08 UTC (History)
10 users (show)

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.
Clone Of:
: 918735 (view as bug list)
Environment:
Last Closed: 2013-06-10 21:35:06 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47183 0 None None None 2022-07-09 06:08:38 UTC
Red Hat Product Errata RHSA-2013:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-11 00:55:41 UTC
oVirt gerrit 12754 0 None None None Never

Description Pavel Novotny 2013-03-04 15:12:07 UTC
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 10:30:23 UTC
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 06:52:04 UTC
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 Vojtech Szocs 2013-04-05 20:12:22 UTC
Updated Doc Type & Doc Text.

Comment 7 errata-xmlrpc 2013-06-10 21:35:06 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.

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.