Created attachment 943139[details]
screen: buttons on top search panel
Description of problem:
Several elements in Webadmin lost their static IDs, which are needed for test automation.
The elements are:
- buttons in the top search panel (see attached screenshot)
- table cells in the VM 'Status' column
Version-Release number of selected component (if applicable):
rhevm-3.5.0-0.13.beta.el6ev.noarch (vt4)
rhevm-webadmin-portal-3.5.0-0.13.beta.el6ev.noarch
How reproducible:
100%
Steps to Reproduce:
1. Look up elements listed in description and check their HTML static IDs.
2.
3.
Actual results:
No static IDs are assigned to these elements.
Expected results:
1) Top search panel:
- bookmark button (the star icon) should have ID 'SearchPanelView_bookmarkButton'
- search button (the magnifier icon) should have ID 'SearchPanelView_searchButton'
2) The table cells in VM Status column should have IDs according to pattern 'MainTabVirtualMachineView_table_content_col14_row{X}' where {X} is the row index
Additional info:
Missing static IDs, especially on the VM Status column, are blocking us in our UI automation efforts.
Hi Greg, thanks for fixing buttons in the search panel.
In VMs grid, only cells in Status column have dynamic IDs, other columns are ok, see attached screenshot.
Pavel, got it fixed. See attachment 947727[details]. Notice how there are nested divs now, but the outer one has the static ID. I hope that's ok. You might have to tweak your selenium a bit.
Verified in rhevm-3.5.0-0.17.beta.el6ev.noarch (vt7).
Buttons on top search panel have now static IDs (SearchPanelView_bookmarkButton,
SearchPanelView_searchButton),
as well as table cells in VM data grid/'Status' column (MainTabVirtualMachineView_table_content_col14_row$X).
Created attachment 943139 [details] screen: buttons on top search panel Description of problem: Several elements in Webadmin lost their static IDs, which are needed for test automation. The elements are: - buttons in the top search panel (see attached screenshot) - table cells in the VM 'Status' column Version-Release number of selected component (if applicable): rhevm-3.5.0-0.13.beta.el6ev.noarch (vt4) rhevm-webadmin-portal-3.5.0-0.13.beta.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. Look up elements listed in description and check their HTML static IDs. 2. 3. Actual results: No static IDs are assigned to these elements. Expected results: 1) Top search panel: - bookmark button (the star icon) should have ID 'SearchPanelView_bookmarkButton' - search button (the magnifier icon) should have ID 'SearchPanelView_searchButton' 2) The table cells in VM Status column should have IDs according to pattern 'MainTabVirtualMachineView_table_content_col14_row{X}' where {X} is the row index Additional info: Missing static IDs, especially on the VM Status column, are blocking us in our UI automation efforts.