Bryan Helmkamp
87c54dde2e
Fix typo in Rakefile
2009-09-19 17:57:35 -04:00
Bryan Helmkamp
042b416092
Whitespace
2009-09-19 17:34:09 -04:00
Bryan Helmkamp
40d7f970e0
Gracefully handle cases where RSpec is not installed in Rakefile
2009-09-19 17:32:42 -04:00
Bryan Helmkamp
03f2023117
Make link location in Selenium more reliable and consistent with non-Selenium
2009-09-18 15:49:06 -04:00
Bryan Helmkamp
b51ba029db
Fix support for passing in an ActiveRecord model to within (which uses dom_id) LB/BH
2009-09-18 11:28:07 -04:00
Bryan Helmkamp
862471476f
Run Selenium tests during spec:integration
2009-09-17 22:13:10 -04:00
Bryan Helmkamp
c689166c48
Fix "element.getAttribute is not a function" Selenium errors when filling in fields
...
The root cause was the locator strategy was naively returning an element that was not a form field, causing Selenium's internals to blow up
2009-09-17 21:32:56 -04:00
Bryan Helmkamp
3a9e7d3999
Fix bugs when dealing with special characters in labels
2009-09-17 21:18:52 -04:00
Bryan Helmkamp
63e1053afa
Fix bug in Selenium when dealing with special characters in link text
2009-09-17 20:28:19 -04:00
Bryan Helmkamp
aae82b5111
Whitespace
2009-09-17 20:15:40 -04:00
Bryan Helmkamp
e7a3ac865c
Guard tests for things that aren't supported in Selenium yet
2009-09-17 20:13:04 -04:00
Bryan Helmkamp
8772505322
History
2009-09-07 14:16:23 -04:00
Bryan Helmkamp
b0ef59f5ec
Properly handle multiline param values (previously, subsequent lines were lost)
2009-09-07 14:07:05 -04:00
Bryan Helmkamp
ad06a777fb
Re-introduce VERSION constant, but don't make it dependent on the VERSION file
2009-09-07 13:25:33 -04:00
Bryan Helmkamp
756a0c62ba
Make build task depend on gemspec. Closes GH issue #15
2009-09-07 13:22:57 -04:00
Bryan Helmkamp
63591a8c30
History
2009-09-07 13:18:57 -04:00
Bryan Helmkamp
ecaed5ff93
Merge commit 'm3talsmith/master' into gh_18
2009-09-07 13:16:53 -04:00
Bryan Helmkamp
b0a8922eb4
History
2009-09-07 13:08:34 -04:00
Bryan Helmkamp
2490c247d2
More clarification of select option locating behavior.
...
TODO: Ensure the other locators are all matching on text, not HTML
2009-09-07 12:53:06 -04:00
Bryan Helmkamp
00c49a0521
Simplify select option matching code. Minor behavior change:
...
Valid: select "Peanut Butter & Jelly"
Invalid: select "Peanut Butter & Jelly"
2009-09-07 12:44:54 -04:00
Bryan Helmkamp
b7ea26841e
Add some development dependencies (needed for running the specs)
2009-09-07 12:44:42 -04:00
Kieran Pilkington
a8d0cebde3
Various improvements, refinements, and bugfixes for select field usage.
...
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]
2009-08-31 18:34:04 +12:00
Bryan Helmkamp
98efa54900
Whitespace
2009-08-29 16:09:30 -04:00
Bryan Helmkamp
49c25027e9
History
2009-08-29 16:05:56 -04:00
Bryan Helmkamp
6fd9732b4e
Spec giving me trouble -- removing for now
2009-08-29 16:04:04 -04:00
Bryan Helmkamp
b9466df773
Merge commit 'djanowski/fix_logger'
2009-08-29 15:57:58 -04:00
Michael Christenson II
3255c9edf0
Forces an integer to fix Issue #18
2009-08-27 11:54:03 -04:00
Bryan Helmkamp
5b90488f29
Revert "Regenerated gemspec for version 0.5.2"
...
This reverts commit f1cd50d615
.
2009-08-27 01:02:01 -04:00
Bryan Helmkamp
f1cd50d615
Regenerated gemspec for version 0.5.2
2009-08-27 00:59:53 -04:00
Bryan Helmkamp
e18ef197b5
Move selenium integration code to webrat/integrations/selenium so it's automatically required
2009-08-20 00:09:03 -04:00
Bryan Helmkamp
755abb7e07
History
2009-08-19 23:44:33 -04:00
Bryan Helmkamp
723f4356b9
Move rspec-rails integration code to webrat/integrations/rspec-rails
2009-08-19 23:42:58 -04:00
Bryan Helmkamp
2fc9f3f7f9
Move adapters to webrat/adapters, and Rails and Merb integration code into webrat/integrations
2009-08-19 23:42:54 -04:00
Bryan Helmkamp
610f0fc217
Webrat doesn't need to worry about StringIOs
...
...or, we're missing a test and this is going to help us find it
2009-08-19 23:14:13 -04:00
Bryan Helmkamp
11f30d1d2e
Dropping support for Hpricot and REXML
2009-08-19 23:14:13 -04:00
Simon Rozet
997ff97405
MerbSession now use RackSession under the hood
2009-08-19 23:14:08 -04:00
Bryan Helmkamp
ab745d786c
Require rubygems in rakefile for convenience
...
This does not break the "Don't require rubygems" spirit,
because it's not creating a dependency in the Webrat runtime code
2009-08-19 22:02:19 -04:00
Bryan Helmkamp
759d7e4581
Regenerated gemspec for version 0.5.1
2009-08-18 00:42:57 -04:00
Bryan Helmkamp
35deb84a18
Version bump to 0.5.1
2009-08-18 00:42:31 -04:00
Bryan Helmkamp
887d2b07f3
Prep for 0.5.1 release
2009-08-18 00:42:24 -04:00
Bryan Helmkamp
ad0c846f17
History
2009-08-18 00:39:53 -04:00
Damian Janowski
4a949e0e5a
Fix logger issue when running inside Cucumber.
2009-08-14 13:05:20 -03:00
Bryan Helmkamp
66251b66ae
Cleanup session initializaton in Webrat::Methods
2009-08-12 22:05:04 -04:00
Bryan Helmkamp
ec43bb9546
Selenium is a session type, not an adapter type
2009-08-12 21:44:02 -04:00
Bryan Helmkamp
2e6bef3b57
Rename TestSession to TestAdapter
2009-08-12 21:42:01 -04:00
Bryan Helmkamp
17713c9036
MechanizeAdapter doesn't need to inherit from Session
2009-08-12 21:39:32 -04:00
Bryan Helmkamp
0412543e5a
Add very basic spec for Mechanize
2009-08-12 21:37:15 -04:00
Bryan Helmkamp
e4ea9134a7
Rename MechanizeSession to MechanizeAdapter
2009-08-12 20:54:29 -04:00
Bryan Helmkamp
89ec303db5
Rename RailsSession to RailsAdapter
2009-08-12 20:52:57 -04:00
Bryan Helmkamp
986682488e
Rename MerbSession to MerbAdapter
2009-08-12 20:50:55 -04:00