Love this approach to setting test attributes in #ElixirLang HEEX templates. Definitely something that can be overused, but sometimes you really do need to be able to target an element uniquely for testing purposes.
https://andrewtimberlake.com/blog/2025/01/improve-your-liveview-testing-with-test-attributes
https://andrewtimberlake.com/blog/2025/01/improve-your-liveview-testing-with-test-attributes
Comments