Closed sn3p closed 4 years ago
We should mention we're also supporting Floki out of the box:
html |> Floki.find("[test-selector=#{SomeView.test_selector("user")}") |> Floki.attribute("test-value")
{:safe, selector} = IndexView.test() Floki.find(html, "[#{selector}]")
And we might want to rename TestSelector.Test.Helpers to TestSelector.Hound.Helpers, and optionally add TestSelector.Floki.Helpers (if any).
TestSelector.Test.Helpers
TestSelector.Hound.Helpers
TestSelector.Floki.Helpers
Fixed in #22
We should mention we're also supporting Floki out of the box:
And we might want to rename
TestSelector.Test.Helpers
toTestSelector.Hound.Helpers
, and optionally addTestSelector.Floki.Helpers
(if any).