actmd/abraham

Configure my application so tours don't appear in test environment by default

jabbett opened this issue · 2 comments

When we run in-browser tests, a Shepherd step will sometimes get in the way of an element positioned beneath it. If we're running tests that aren't explicitly testing product tours, it would be nice if the tours didn't appear.

One option is to remove the tours from the abraham configuration object.
In the in-browser test's config file, add:

Rails.application.configure do
  config.abraham.tours = {}
end

@rroppolo I will add a note in the README and call it a day.