1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/spec
Joe Ferris aeafb90498 Make caching behavior more like Selenium
We disabled caching entirely, because it sometimes led to unexpected
behavior in tests, and Qt 4.8 didn't behave the same as Qt 5.x.

However, this introduced issues:

* Selenium does perform caching, so capybara-webkit behaved differently
  when switching drivers
* Without any caching, assets were sometimes requested twice for the
  same page

This commit re-enables caching and attempts to improve the way we behave
on cached pages so that testing is less unpredictable. It adds tests to
ensure we continue to behave similarly to Selenium.
2015-05-15 10:32:22 -04:00
..
integration Save a screenshot when raising a ClickFailed exception 2013-11-09 15:30:58 -05:00
support Introduce allowed, blocked URL filters 2014-12-05 12:48:03 -05:00
browser_spec.rb Skip forking spec on JRuby 2014-01-28 19:17:16 -05:00
capybara_webkit_builder_spec.rb Include the code that we need 2015-03-27 16:17:44 -04:00
connection_spec.rb Fix spec sleep race condition 2015-04-10 13:14:07 -04:00
cookie_jar_spec.rb switch from == to eq to remove warnings 2013-08-11 15:40:25 +01:00
driver_rendering_spec.rb Better failure when screenshot doesn't save 2014-02-06 10:24:28 -05:00
driver_resize_window_spec.rb Update for Capybara 2.3.0 2014-07-01 20:36:42 -04:00
driver_spec.rb Make caching behavior more like Selenium 2015-05-15 10:32:22 -04:00
errors_spec.rb Instantiate errors in capybara-webkit 2013-05-21 21:48:38 +04:00
selenium_compatibility_spec.rb Make caching behavior more like Selenium 2015-05-15 10:32:22 -04:00
self_signed_ssl_cert.rb Remove some unused global variables. 2011-10-14 17:18:33 -04:00
spec_helper.rb Remove SocketDebugger and deprecate socket_class 2015-04-28 10:13:08 -04:00