Description of problem:
The MultiBoxSelect widget for child VM selection on the Compute->Cloud->Instance Edit form, implemented as an HTML table, does not have an id attribute for the table.
This prevents CFME QE automation from uniquely identifying the table on the page. Other forms using the MultiBoxSelect have an 'id' field for the table, allowing for element identification via XPATH.
Version-Release number of selected component (if applicable):
<table> element for 'Child VM Selection' section of Cloud Instance Edit form does not have any 'id' attribute.
An 'id' attribute assigned to the <table> element that contains the Child VM Selection widget
This does not impact functionality of the widget, only CFME QE's ability to automate filling of the widget
New commit detected on ManageIQ/manageiq-ui-classic/master:
Author: Dávid Halász <firstname.lastname@example.org>
AuthorDate: Thu Mar 9 11:15:23 2017 +0100
Commit: Dávid Halász <email@example.com>
CommitDate: Thu Mar 9 11:17:46 2017 +0100
Add an id for the child VM selection table to ease test automation
app/views/vm_common/_form.html.haml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Tested in CFME 126.96.36.199, the kids_chosen and choices_chosen ID's have been added to the 'Child VM Selection' elements on the Instance Edit form.
This will allow CFME QE to model and test these elements.
Many thanks to dev!
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.