Commit Graph

1039 Commits

Author SHA1 Message Date
Bryan Helmkamp
f9f2a98189 History 2009-11-15 16:50:39 -05:00
David Chelimsky
51bdded2ce require 'nokogiri' in rspec-rails include file 2009-11-15 16:50:39 -05:00
Bryan Helmkamp
4de7d64776 History 2009-11-15 16:42:39 -05:00
Bryan Helmkamp
13d513837a Merge remote branch 'dchelimsky/require_nokogiri' into lh_293 2009-11-15 16:41:37 -05:00
Bryan Helmkamp
ba95363486 Spec fix: Don't depend on Nokogiri #inspect output 2009-11-15 16:38:09 -05:00
Bryan Helmkamp
672bd583af Whitespace 2009-11-15 16:29:44 -05:00
Bryan Helmkamp
0536360773 History 2009-11-15 16:29:27 -05:00
Jonathan Weiss
ea4a52ccf1 add support for Rails 2.3.4 form authenticity tokens 2009-11-15 16:24:56 -05:00
Bryan Helmkamp
cbb07306d4 Regenerate gemspec with thor tasks 2009-11-15 16:07:38 -05:00
Bryan Helmkamp
5a05d860ec Use simple Thor tasks for release management instead of Jeweler 2009-11-15 15:49:38 -05:00
Bryan Helmkamp
05af4dd2a0 Switching to Safari until Snow Leopard + Firefox + Selenium is fixed
http://jira.openqa.org/browse/SRC-743
2009-11-13 21:23:27 -05:00
Bryan Helmkamp
7812f25741 Don't blow up if PID doesn't exist at the end 2009-11-13 21:22:41 -05:00
Bryan Helmkamp
fcde80f43f Avoid Selenium test bleed by ending with an assertion about the next page 2009-11-13 21:17:41 -05:00
Bryan Helmkamp
1ce72b6912 Ending selenium tests with assertions avoids "test bleed" 2009-11-13 21:10:25 -05:00
Bryan Helmkamp
bb282d992e Remove a couple more bogus tests
<input type="button" /> doesn't submit forms
2009-11-13 21:07:21 -05:00
Bryan Helmkamp
f6dd24f7c5 Remove bogus integration tests that were passing (sometimes) by coincidence
An element of <button type="button" /> is not supposed to submit a form
2009-11-13 20:57:55 -05:00
Bryan Helmkamp
d0cadf8a76 Update file location for Rails 2.3.4 2009-11-13 20:52:14 -05:00
Bryan Helmkamp
1c28425583 Use Bundler for managing dependencies needed to run the tests 2009-11-13 17:41:33 -05:00
David Chelimsky
9a92afedff require 'nokogiri' in rspec-rails include file 2009-09-23 23:04:43 -05:00
Bryan Helmkamp
f51b745e89 When a timeout occurs in wait_for, include the HTML from Selenium in the exception 2009-09-22 15:23:49 -04:00
Bryan Helmkamp
8dacd973aa Regenerated gemspec for version 0.6.rc1 2009-09-22 12:44:56 -04:00
Bryan Helmkamp
194d3250cc Prep for 0.6.rc1 release 2009-09-22 12:41:57 -04:00
Bryan Helmkamp
b68c6859e8 History 2009-09-22 12:41:41 -04:00
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 &amp; 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