mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 02:35:04 +08:00
68a3f7783e
Why this change? This is what `Capybara::Session#quit` does: ``` def quit @driver.quit if @driver.respond_to? :quit @document = @driver = nil @touched = false @server&.reset_error! end ``` One notable thing is that it resets server errors which means that any server errors encountered by a session is cleared. That is not what we want since it hides errors even though `Capybara.raise_server_errors` has been set to `true`. |
||
---|---|---|
.. | ||
drawer_spec.rb | ||
full_page_spec.rb | ||
mobile_spec.rb | ||
smoke_spec.rb |