[rspec-users] Presentation Testing and CSS ids

James Byrne lists at ruby-forum.com
Mon Mar 9 12:08:06 EDT 2009

Zach Dennis wrote:

> In my experience relying on the syntactic details of the page is
> extremely brittle and cumbersome. ... Some tags have both syntactic
> and semantic meaning, such as forms, labels, fieldsets, and anchor tags.

Is it "brittle" to test for specific css selectors that are tied to page 
details?  A typical case is where one has a button to drive in webrat 
and instead of using the button text we use the associated id value 
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list