1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
Commit graph

10 commits

Author SHA1 Message Date
Joe Ferris
3804dd5406 Introduce allowed, blocked URL filters
* Adds `allow_url`, `block_url`, and `block_unknown_url` methods.
* Both allow_url and block_url accept wildcards.
* Any requests to blocked URLs will be blocked immediately.
* Blocked URLs take precedence over allowed URLs.
* By default, any requests to localhost and 127.0.0.1 are allowed.
* By default, any requests to unknown hosts will print a warning.
* `block_unknown_urls` causes unknown hosts to be silently blocked.
* `blacklisted_urls=` is deprecated in favor of `block_url`.
2014-12-05 12:48:03 -05:00
Alex Kwiatkowski
5dd835e4ca This fixes a stderr redirection test on fast machines. The write pipe was
getting closed before the redirection thread had a chance to copy it's
contents into it.
2014-02-13 18:36:03 -05:00
Joe Ferris and Matt Horan
0f89db1825 Add integration coverage for styled file inputs
Uses example from Quirksmode:
http://www.quirksmode.org/dom/inputfile.html
2013-11-09 15:29:51 -05:00
Matthew Horan
8650fe1ff3 Don't reset the browser unnecessarily
The Capybara spec_helper already resets the browser after each spec, so
we only need to reset after using the driver via AppRunner.
2012-11-30 22:12:03 -05:00
Matthew Horan
61a6561d62 Session is responsible for starting server 2012-11-30 21:38:55 -05:00
Joe Ferris
ba28a2a20a Fix focus/blur event compatibility with Selenium while filling out forms 2012-07-10 20:05:33 -07:00
Joe Ferris
327ae85e86 Use sinatra for test apps 2012-07-08 16:09:40 -07:00
Joe Ferris
265a7da652 Improve pattern of testing driver against a rack app 2012-07-08 13:38:19 -07:00
Gabe Berke-Williams
01665e604f Expose the socket debugger 2011-07-22 14:24:30 -04:00
Joe Ferris
e28cc06cab Fixed multiple browsers starting because before(:all) runs multiple times; fixed separate app servers starting for each example; added injectable class for debugging wire protocol 2011-03-11 11:19:59 -05:00