discourse/plugins/chat/spec/system/reply_to_message
Alan Guo Xiang Tan 68a3f7783e
DEV: Remove the use of Capybara::Session#quit (#24978)
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`.
2023-12-20 13:20:14 +08:00
..
drawer_spec.rb DEV: Refactor chat specs related to message creation 2023-08-31 11:21:23 +02:00
full_page_spec.rb DEV: improves reliability of delete/restore/update specs (#24265) 2023-11-07 11:34:35 +01:00
mobile_spec.rb FEATURE: my threads page (#24771) 2023-12-11 07:38:07 +01:00
smoke_spec.rb DEV: Remove the use of Capybara::Session#quit (#24978) 2023-12-20 13:20:14 +08:00