- 16 6月, 2017 1 次提交
-
-
由 Rémy Coutable 提交于
capybara/rspec already calls Capybara.reset_sessions! in an `after` hook, but `block_and_wait_for_requests_complete` is called before it so by calling it explicitely here, we prevent any new requests from being fired. See https://github.com/teamcapybara/capybara/blob/ffb41cfad620de1961bb49b1562a9fa9b28c0903/lib/capybara/rspec.rb#L20-L25Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 13 6月, 2017 1 次提交
-
-
由 Rémy Coutable 提交于
This change fix a memory leak due to a Webkit bug: https://github.com/ariya/phantomjs/issues/12903 Also: - Whitelist only localhost and 127.0.0.1 in Capybara + JS specs - Blacklist all requests to media such as images, videos, PDFs, CSVs etc. - Log all the requests made. Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 31 3月, 2017 3 次提交
-
-
由 Rémy Coutable 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
由 Rémy Coutable 提交于
Signed-off-by: NRémy Coutable <remy@rymai.me>
-
由 Rémy Coutable 提交于
Also disabled assets warming for Capybara/RSpec and remove a check to skip assets warming when ./tmp/cache/assets/test exists because assets are now served by webpack-dev-server. Signed-off-by: NRémy Coutable <remy@rymai.me>
-
- 09 3月, 2017 1 次提交
-
-
由 Robert Speicher 提交于
-
- 08 12月, 2016 1 次提交
-
-
由 Robert Speicher 提交于
-
- 28 11月, 2016 1 次提交
-
-
由 Robert Speicher 提交于
We were unintentionally hitting `gravatar.com` whenever a test that used Poltergeist was run. This was certainly wasting their resources and slowing down our tests even further, for no reason.
-
- 16 3月, 2016 1 次提交
-
-
由 Stan Hu 提交于
-
- 24 2月, 2016 1 次提交
-
-
由 Alfredo Sumaran 提交于
-
- 29 1月, 2016 1 次提交
-
-
由 Robert Speicher 提交于
The problem occurred because asset compilation takes a long time, so when the asset cache didn't exist and the first test ran, it would often (randomly) time out during the generation before the actual test even had a chance to run. Now we check if the cache exists before the suite runs, and if not, we manually fire a request to the root URL in order to generate it. This should allow subsequent tests to use the cached assets.
-
- 22 6月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
In case we end up wanting to use it in Spinach as well.
-
- 15 6月, 2015 1 次提交
-
-
由 Robert Speicher 提交于
-
- 26 4月, 2015 5 次提交
-
-
由 Robert Speicher 提交于
-
由 Robert Speicher 提交于
-
由 Robert Speicher 提交于
-
由 Robert Speicher 提交于
-
由 Robert Speicher 提交于
Also adds capybara-screenshot, which will automatically save the page as html and an image whenever a feature fails. Handy for debugging.
-