hotwired / turbo

The speed of a single-page web application without having to write any JavaScript
https://turbo.hotwired.dev
MIT License
6.54k stars 415 forks source link

Add a test that stream actions rendered into the HTML are executed #1263

Open radanskoric opened 1 month ago

radanskoric commented 1 month ago

Resolves: https://github.com/hotwired/turbo/issues/1258 It's paired with: https://github.com/hotwired/turbo-site/pull/192

As a consequence of the fundamental way in which Stream actions are implemented, they can also be executed by rendering them within any HTML that's included on the dom.

Since this is already being used as the feature in the community, adding this test will ensure this keeps working.