Make automation easier by making page elements uniquely identifiable
Challenge
Now that our automation efforts have been (slowly
Automation has to find and interact with the elements on the page. It turns out that a lot of the elements in our Settings page (haven't checked elsewhere) are very hard to find (select), as they do not have any identifiable information, such as unique ID's. We can of course always find them using xpaths selectors, it's just that unifying selector type makes for prettier, easier, more readable and more robust tests.
Proposal
Make elements uniquely identifiable. This can be achieved by either making sure they all have ID attributes (some already do, but many don't), or adding a specific css data attribute, for example [data-automation]
with its own ID.
If we decide to go forward with this, I (@ursakacar) will provide a list of elements that would need such an ID as a first step. I would also be interested in helping implementing it.