1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Jonas Nicklas
875081fe56 Remove capybara/spec/session file
It doesn't do anything useful anymore
2012-10-30 14:18:48 +01:00
Jonas Nicklas
1803a9f991 Decrease wait in specs time unless spec requires js 2012-10-30 14:10:22 +01:00
Jo Liss
0b28aa2e97 For Capybara's own test suite, keep default_wait_time always at 1
Until now, we had it set at 0 for all tests that did't require `:js`.
But that would cause flickering failures when tests that didn't require
`:js` ran against Selenium, e.g. like this:

    visit '/foo' # asynchronous in Selenium
    page.should have_content 'Foo' # can fail if visit didn't finish in time

This change doubles(!) test suite run time, presumably because we are
testing for expected failures in a lot of places, causing us to retry
for the full default_wait_time period. At this point though I'm not sure
if there's a simple way to avoid the performance hit.
2012-09-10 00:53:41 +02:00
Jonas Nicklas
d2c5d1cb55 Turn that frown upside down 2012-07-24 04:40:53 +02:00
Jonas Nicklas
2462443f89 Use a custom spec helper instead of shared specs 2012-07-21 16:46:56 -04:00