[cosmo-dev] DOM ids for wayward elements

Travis Vachon travis at osafoundation.org
Wed Dec 12 16:12:02 PST 2007


Hi folks

While writing these tests I've noticed we are missing DOM ids for many  
elements, most significantly buttons in various dialogs and the detail  
view. I have been adding semantically descriptive ids to buttons as I  
need them, which I'll make sure to check in in more-or-less their own  
checkin.

Matthew mentioned in IRC that the lack of DOM ids is actually a matter  
of policy rather than oversight, so I wanted to give an opportunity  
for any concerns regarding these changes to be addressed. In the  
future I believe it would be a good idea to provide semantically  
descriptive ids to all DOM elements we create in the UI. This will  
make writing windmill tests for the UI much easier for people not  
familiar with our code base.

-Travis


More information about the cosmo-dev mailing list