Red Hat Bugzilla – Bug 1299865
hard to inspect html
Last modified: 2018-01-30 21:53:50 EST
Created attachment 1116167 [details]
example deployment list
Description of problem:
QE team needs to access different elements from web console to verify web pages contain proper information. This is hard and unreliable to do without good attributes to refer to the HTML elements.
For example, to find the table containing deployments (see attached HTML), one has to refer to text content (at least I don't see any other good option).
Ideally that table will have an attribute identifying it uniquely in the page html. Referring to text is unreliable also because in the future the page might be translated and then the above xpath would break.
Please take this bug as a request to add some identification to the said table as well a request to be more thorough setting attributes to help with web testing. Or perhaps you can advice us how to better navigate through page elements if we're missing the point of current design.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create deployments
2. list deployments in web console
Will try to keep it in mind for the new features. Other than table identifiers, are there other existing elements you'd like to see identifiable?
Currently, tables are in high priority, will record our request here if found other element need to be identifiable in the future
Currently, it would be better if add id/name attribute for these elements:
1) Create Route on /console/<project>/browse/routes page
2) Add to Project on Overview pages
Another thing is that if we want to ever release an internationalized web site, it won't be testable without universal existence of id/name attributes. Not sure what framework we are using but as a rule IMO all buttons, tables and even cells need to have proper id/name.
e.g. see the table "Summarize time (including time for bugs blocking this bug)" above in the page. It has all cells labeled so that one can easily refer to them.
Request id/name for element:
1.On setting page, when created resource quota,such as "Not Terminating" type scope, it's better identify the 'div' element for