# Turbo Stream broadcasts happening before turbo\_stream\_from can establish websocket connection in System tests with Capybara

**URL:** <https://discuss.hotwired.dev/t/turbo-stream-broadcasts-happening-before-turbo-stream-from-can-establish-websocket-connection-in-system-tests-with-capybara/3710>\
**Category:** General\
**Created:** [January 17, 2022, 2:59am UTC](https://discuss.hotwired.dev/t/turbo-stream-broadcasts-happening-before-turbo-stream-from-can-establish-websocket-connection-in-system-tests-with-capybara/3710 "2022-01-17T02:59:24Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![crespire](https://yyz1.discourse-cdn.com/flex027/user_avatar/discuss.hotwired.dev/crespire/32/2910_2.png) [@crespire](https://discuss.hotwired.dev/u/crespire)\
**Post date:** [August 28, 2023, 1:44pm UTC](https://discuss.hotwired.dev/t/turbo-stream-broadcasts-happening-before-turbo-stream-from-can-establish-websocket-connection-in-system-tests-with-capybara/3710/9 "2023-08-28T13:44:44Z")

</div>

I posted my experience dealing with this problem here: [Returning turbo\_frame and broadcasting is a legit way to speed up performance? - #2 by crespire](https://discuss.hotwired.dev/t/returning-turbo-frame-and-broadcasting-is-a-legit-way-to-speed-up-performance/5271/2) - I know it’s over a year now, but curious if you ended up coming up with another solution!

---

_[View the full topic](https://discuss.hotwired.dev/t/turbo-stream-broadcasts-happening-before-turbo-stream-from-can-establish-websocket-connection-in-system-tests-with-capybara/3710)._
