DefactoSoftware / test_selector

Elixir library to help selecting the right elements in your tests.
MIT License
14 stars 2 forks source link

FindTestSelectors finds the testselectors from html with Floki #22

Closed fatboypunk closed 4 years ago

fatboypunk commented 4 years ago

Makes it easier to find the right html elements outside of hound.

This commit moves the helpers for Hound to a seperate file so that the Hound helpers could still be used without using the Floki helpers outomatically.

It introduces a new file FlokiHelpers that introduces the functions

These function are to make it easy to find the specific elements in both controller and view tests where an html document or an html fragment is given.