Multiple select boxes are now handled a lot better.
* You can now select more than one field (where as previously, the last one select would override previous selections)
* You can now unselect a value. It works like select, takes the same params, but removes the selection value
Issues regarding ampersands in values have been resolved.
* Values are now unescaped when the to_param method is run on elements, to make assertions less complicated
* Locating an option with ampersand values now works as expected (it will check for both escaped and unescaped occurrences)
Bunch of new specs and 3 broken pending ones have now been fixed. [#145 status:resolved]
* I took the conservative approach here: the sinatra code could
be removed but that'd cause a regression. (using Sinatra::Application
when `app` is not defined)
* I left the sinatra tests for now; they should be removed
once we're fully confident with rack session ones.
* Webrat::Session.new now take a session adapter class as it's argument and
delegates methods such as #response_body and #response_code to an instance
of it.
* Some of these methods will go away in the future. However, *a lot*
of specs depends on them so I've left them for now. The plan is to
strip down the session adapter API to these three methods:
* request
* response_code
* response_body
* I had to mark a spec as pending: spec/private/rails/rails_session_spec.rb
application_address is used to know where Selenium should navitate to,
but we always are booting app servers on 0.0.0.0 so that's where we
should verify they exist
This reverts commit 4daf037146.
This was causing failures in the Weplay selenium suite, where we
we're using partial matches. For example:
fill_in "Write a message", ...
When the markup was:
<label>Write a message to Bryan ...</label>