jnicklas/capybara — Issue #629: Fail fast with 5xx responses
Author: dnagir
Created: 2012-02-01 08:03:20+00:00
State: open

When server has an error there is usually no easy way of knowing what exactly has happened.

Most of the time we get timeout error which is indistinguishable from 5xx response of successful but with no actual element on it.

It would help a lot if we could fail fast with server error showing the response info.

Here's what I currently do (which is just dirty as): https://gist.github.com/1715880

This approach is too dirty and won't work with rack_test and in places where wait_for isn't used. So we need something better.