On 1 March 2012 16:43, Mike Kim wrote:
> Could someone point me to a reference that explains how I would test
> the order of elements on an HTML page?
>
> For example, in RSpec I would like to verify that the content of one
> element appears before the content of another.
>
> response.should hav
Could someone point me to a reference that explains how I would test
the order of elements on an HTML page?
For example, in RSpec I would like to verify that the content of one
element appears before the content of another.
response.should have_selector("p", :content => "Should appear first")
re