Test Selector Gem

In tests it can be hard to find the exact place where your expected results should be, because the results can be ambiguous. An option is to add selectors like id or class to elements so they can be found in tests. But adding those selectors for tests doesn’t feel to well if they aren’t doing anything for you in production. Next to that it will get harder and harder to find new names that can be added as a selector and are unique on the page. [Read More]
rails  tests